Who's online causes "TOO MANY CONNECTIONS" error
hi, as my site continue to grow http://www.txtmyt.com im beginning to have problems with connection errors. i've observed that if there are atleast 20 users online, i get error like "too many connections public_html/xxxx.php . did anyone have encountered same issue and resolved it ? please help......
Best Answer
-
hbf MVP
freeeeemind said:
hi, as my site continue to grow http://www.txtmyt.com im beginning to have problems with connection errors. i've observed that if there are atleast 20 users online, i get error like "too many connections public_html/xxxx.php . did anyone have encountered same issue and resolved it ? please help......make sure you set the refresh time for online users to a reasonable amount (a couple minutes) otherwise the timer based ajax callbacks will slam your web server.
0
Answers
too many connections error if im not mistaken is coming from mysql.
have you checked your "max_connections" system variable of you mysql?
make sure you set the refresh time for online users to a reasonable amount (a couple minutes) otherwise the timer based ajax callbacks will slam your web server.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
Notice you are using our "premium " theme Air. All bona fide purchasers should remove our Vanillaskins favicon.
There was an error rendering this rich post.