Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Who's online causes "TOO MANY CONNECTIONS" error

edited February 2012 in Vanilla 2.0 - 2.8

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

  • Options
    hbfhbf wiki guy? MVP
    Answer ✓

    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.

Answers

  • Options
    AoleeAolee Hobbyist & Coder ✭✭

    too many connections error if im not mistaken is coming from mysql.

    have you checked your "max_connections" system variable of you mysql?

  • Options
    hbfhbf wiki guy? MVP
    Answer ✓

    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.

  • Options
    422422 Developer MVP
    edited February 2012

    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.

Sign In or Register to comment.