![]() |
Large forums and persistent connections
Hi all,
After trawling through vb.com and vb.org and not finding anything relative to whether persistent connections are good/bad for a large forum, we went ahead and enabled persistent connections anyway. Here is a summary of our experience thus far :- Background of our forums # of members : 35,000 # of posts : 2.54 Million # of online users : 400-1300 most days (1500 peak) Web server is a Dual Xeon (3Ghz) with 4GB of memory Database server is also a Dual Xeon (3.2Ghz) with 4GB of memory All applicable cacheing tweaks and speed enhancements already applied. Prior to enabling persistent connections, we were experiencing slowdowns and occasional disruptions of service at our peak periods which were brought on by massive process spawnings with a few hundred httpd processes on the web server. In turn, the database server would be swamped with mysql basically not responding. Top stats for both web and db server would rise to the 70s and 80s and would require a restart of the processes. After enabling persistent connections in the config.php for vb, things have stabilised significantly. Although process spawns still do occur, they now peak at around 100-120 processes before settling back down to the low 50s. The DB server loading has also come way down to average between 1.5-3 at peak and 0.5-1.2 non-peak. Some other interesting information - prior to the change, we had noticed that some of the variables in my.cnf (specifically thread cache, query cache and table cache) would reach 100% in a couple of days), but now, even after a week, the same configuration has stayed roughly stable and not reached their max yet (see below) :- Code:
MySQL 4.1.16 uptime 7 4:0:2 Wed Jan 31 14:45:47 2007 Thanks for reading, and if anyone has any idea on the aborted clients thing, it would be much appreciated if they can share their thoughts (and possible causes, fixes). |
This is great info! Thanks for posting it.
I don't know about aborted clients, but I found this information for you at http://www.hupo.org.cn/docs/mysql/manual_Problems.html Quote:
|
All times are GMT. The time now is 01:24 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|