hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Server to host MySQL site
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

Server to host MySQL site

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-05-2007, 07:46 AM
sallyanne sallyanne is offline
WHT Addict
 
Join Date: Aug 2003
Posts: 152

Server to host MySQL site


I am looking at what specifications of server I would need to prevent "MySQL too many connections" errors similar to the error below:

Warning: mysql_connect() [function.mysql-connect]: Too many connections in /usr/home/www/usr/upkeep/usr/default/include/db.inc on line 88

One of my sites is receiving surges in traffic for brief moments when the site is advertised on TV. Shortly after, I am finding that due to the server load, this error is common.

Any advice?

Reply With Quote


Sponsored Links
  #2  
Old 06-05-2007, 08:25 AM
Mxhub Mxhub is offline
Web Hosting Master
 
Join Date: May 2001
Posts: 2,161
set max connection to 1000 and further tweak your sql configuration.

__________________
Managed Multi-domain Shared, Reseller, VPS, Dedicated, Shoutcast Hosting
FFMPEG, PHP5, cPanel/WHM, Fantastico, Site Migration, Wordpress, Magento Ready!

Mxhub.com - Since 2001 - USA - UK - Canada - Europe - Singapore



Reply With Quote
  #3  
Old 06-05-2007, 08:26 AM
x86brandon x86brandon is offline
Web Hosting Master
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 911
You might check your current server usage and increase the max connections directive in your MySQL config.

http://www.day32.com/MySQL/tuning-primer.sh run that.

__________________
I <3 Linux Clusters

Reply With Quote
Sponsored Links
  #4  
Old 06-05-2007, 09:27 AM
tsj5j tsj5j is offline
WebHosting Master
 
Join Date: Dec 2006
Posts: 4,075
Agreed, tweak your MySQL.

Just google "Optimize MySQL".

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Hosting Sales and Promos Roundup - April 13, 2012 Web Hosting News 2012-04-13 17:17:21
Web Hosting Sales and Promos Roundup - March 16, 2012 Web Hosting News 2012-03-16 16:12:11
Web Host Host Color Launches New Dedicated Server Plan with Free CDN Web Hosting News 2012-01-20 11:32:21
Web Hosting Sales and Promos Roundup - July 8, 2011 Web Hosting News 2011-07-08 21:03:31
Web Host Servers Australia Deploys R1Soft Continuous Data Protection Web Hosting News 2011-06-27 20:02:15


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?