Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-07-2005, 03:38 AM   #1
zentz
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Posts: 8,053
linux host question

sometimes i get mysql errors like "too many connections" etc..

someone told me i should change MaxClients number in my httpd.conf file.. is it safe if i put it to lets say... 2000 ? any recommendations ?

the default is 150, i changed it to 1500 but i still get these errors from time to time... isnt that weird that i have over 1500 users connected at the same time ?
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

Email: [email protected]

Last edited by zentz; 04-07-2005 at 03:40 AM..
zentz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 03:46 AM   #2
zentz
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Posts: 8,053
Error
User blablabla_me87 has already more than 'max_user_connections' active connections

Query
MySQL Connection

Does this have to do anything with maxclients anyway ?
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

Email: [email protected]
zentz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 03:46 AM   #3
pstation
Confirmed User
 
Join Date: Jul 2003
Location: chicago
Posts: 1,135
if its mysql, httpd.conf will be irrelevant, i'll post the solution in a minute
pstation is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 03:51 AM   #4
pstation
Confirmed User
 
Join Date: Jul 2003
Location: chicago
Posts: 1,135
Login to mysql as root, select the "mysql" database.

run this query:
Code:
UPDATE mysql.user SET max_connections=2000 WHERE User='blablabla_me87' LIMIT 1
and then run the query "FLUSH PRIVILEGES;"
pstation is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 03:51 AM   #5
zentz
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Posts: 8,053
Quote:
Originally Posted by pstation
if its mysql, httpd.conf will be irrelevant, i'll post the solution in a minute
thanks. btw, could you tell me to what number should i set my MaxClients to.. is 1500 too high ?
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

Email: [email protected]
zentz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 03:52 AM   #6
zentz
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Posts: 8,053
Quote:
Originally Posted by pstation
Login to mysql as root, select the "mysql" database.

run this query:
Code:
UPDATE mysql.user SET max_connections=2000 WHERE User='blablabla_me87' LIMIT 1
and then run the query "FLUSH PRIVILEGES;"
you have icq ?
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

Email: [email protected]
zentz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 03:54 AM   #7
pstation
Confirmed User
 
Join Date: Jul 2003
Location: chicago
Posts: 1,135
Quote:
Originally Posted by zentz
thanks. btw, could you tell me to what number should i set my MaxClients to.. is 1500 too high ?
I'm not sure about that but setting it too high may cause there to be too many child processes, which is a bad thing since it will eat away your memory, but i'm not totally sure as i havent really messed around with apache in a few years.
pstation is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-07-2005, 03:54 AM   #8
pstation
Confirmed User
 
Join Date: Jul 2003
Location: chicago
Posts: 1,135
yah, 120671981
pstation is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.