hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : my.cnf suggestions ?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

my.cnf suggestions ?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-07-2010, 09:28 AM
IC3 Networks IC3 Networks is offline
Registered User
 
Join Date: Sep 2008
Posts: 283

my.cnf suggestions ?


I am looking for suggestions on how to write the most optimum my.cnf for my server.

The server is EQ4 from hetzner.
It has:
i7 920 CPU
8GB DDR3 ram

Currently I have in my.cnf:

Quote:
[mysqld]
local-infile=0
set-variable=long_query_time=10
log-slow-queries=/var/log/mysql_log-slow-queries.log
query_cache_size=32M
table_cache=256M
key_buffer_size=16M
thread_cache_size=32M
query_cache_min_res_unit=2K
#log-queries-not-using-indexes=1
low_priority_updates=1
max_connections=120
key_buffer_size=32M
Any additional advices, will be appreciated.

Reply With Quote


Sponsored Links
  #2  
Old 10-07-2010, 10:12 AM
Johnburk Johnburk is offline
Web Hosting Master
 
Join Date: Nov 2004
Posts: 673
Have you already tried optimizing with tools like tuning-primer.sh and mysqltuner.pl

__________________
Just imagine, if the world was like an online community. Where people help each other, just because they can.

Reply With Quote
  #3  
Old 10-07-2010, 10:19 AM
IC3 Networks IC3 Networks is offline
Registered User
 
Join Date: Sep 2008
Posts: 283
I am waiting for 48 hours to start checking tuning-primer.sh results, but any additional information to consider will be great of course.
That's why I am asking here.

Reply With Quote
Sponsored Links
  #4  
Old 10-07-2010, 10:21 AM
net net is offline
Community Liaison
 
Join Date: Mar 2003
Posts: 8,051
Moved > Hosting Security and Technology.

__________________
JoneSolutions.Com - Your Number One Choice On The Net - since 2001
----------------------------------------------------------------------------------------
Linux Shared and Reseller Hosting * KVM Fully Managed cPanel VPS * Super Special Servers
USA/EU cPanel Fully Managed Servers * cPanel Server Management * R1Soft/Idera Backup


Reply With Quote
  #5  
Old 10-07-2010, 10:26 AM
IC3 Networks IC3 Networks is offline
Registered User
 
Join Date: Sep 2008
Posts: 283
Thank you for moving it to the correct section, I didn't know where to post it.
So I assumed dedicated servers would be the best section.

Reply With Quote
  #6  
Old 10-07-2010, 10:37 AM
Syslint Syslint is offline
Web Hosting Master
 
Join Date: Apr 2009
Location: inside wht
Posts: 614
what applications are you running on your server. you can optimize it based on the application and access requests too

__________________
Syslint Technologies | 24x7 Server Management | Outsourced Support | Help Desk Suppport
Web Development Inc - Web Design- Python Development - PHP Development - CMS integration
cPremote.net | cPnginx.com | Danginx.com | Dabackup.com | checkpcidss.com | ffmpeginstaller.com
Call us : (0091) 471-3273-211 , Contact Sales - sales@syslint.com

Reply With Quote
  #7  
Old 10-07-2010, 10:43 AM
IC3 Networks IC3 Networks is offline
Registered User
 
Join Date: Sep 2008
Posts: 283
I am running 8 php/mysql websites, we have over-all around 30k visits per hour in total for all sites.
We have 1 website with a load hunger php scripts and mysql queries besides a large mysql DB.
Currently we only have 8 websites only on the server.
The scripts are optimized as much as we could and the queries are well indexed, the load in most cases is around 1 but sometimes in peak hours it jumps to 5 or 6.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the best my.cnf will be? threemints Hosting Security and Technology 9 04-30-2010 12:49 AM
my.cnf ignored? zoli Hosting Security and Technology 10 01-25-2010 07:56 AM
What do you think about this my.cnf? hostyourdream Hosting Software and Control Panels 10 12-05-2009 06:08 AM
help with my.cnf orlando_myers Dedicated Server 4 06-10-2006 11:52 AM
My.cnf dlc2000 Hosting Security and Technology 4 02-09-2004 02:14 AM

Related posts from TheWhir.com
Title Type Date Posted
Monday Demo: Veeam's Backup & Replication Software Blog 2012-02-13 10:56:52
Cloud Host VPS.NET Launches Beta of Desktop-like Control Panel Web Hosting News 2011-12-07 16:17:52
Web Host Liquid Web Launches New Account Management Interface Web Hosting News 2011-09-30 19:52:50
OpenSRS Launches Promotional Offers for Resellers Web Hosting News 2011-09-29 20:47:19
Online Banking Guidelines Updated to Address Sophisticated Financial Fraud Web Hosting News 2011-06-29 20:51:55


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?