![]() |
vbulletin is killing my server! :(
HI there,
I'm getting mad... Vbulletin seems to be working fine. Right now I'm running 2.3.0 and its a bit hacked but they're quite "standard" hacks, like quick reply, pm popup box, vbarcade and member photo. Server is a dedicated dual Xeon with 1Gb Ram. Im running latest php and mysql versions. I've seen traffic of an average of 500 simultanous users and microstats keep displaying a server load average of 0.85... However, sometimes, all of a sudden, something makes it go mad and server reaches loads of 170.x and up, bringing apache and mysql down... HOW can I identify the problem? First I thought it was vbportal, but i replaced it with vbhome lite and problem persists... Help PLEASE! |
Quote:
you should go to vbulletin.com and talk to eva2000 and he will help you tweak the mysql settings :) |
But this is not an issue of "vb 2.xx being overloader than vb 3.xx"...
When it works, it works fine, keeping server low (0.8x), but there's something making it hit the 170.xx... |
How many games are in your arcade?
|
14
|
Quote:
|
Even though 14 arcade games aren't a lot, a major problem with the arcade is the number of queries skyrocket when you add more games. I believe that it might be causing the chaos.
|
I think server is tweaked VBoriented, and I'll talk to eva2000, but the problem is clearly temporary and it occurrs may be once or twice a day, being days with no problems at all...
I don't think arcade is the problem either, mine is not a game-oriented forum, and I think arcade is the least traffiqued area of my site... |
Quote:
|
For example, right now, 517 online users, 11 playing the arcade. Server load: 1.40
|
Faranth were do I check that?
MySQL is v3.23.58 PHP v4.3.3 |
Quote:
|
Isn't there any sort of "server load vs scripts" logger?
Ie. before load gets higher than xx, i get a log of what caused it? |
faranth,
would a mysql upgrade + enabling cache save us? |
I'm still putting my money on the arcade hack being the culprit.
|
Quote:
|
Yep, query caching is only available in MySQL 4.x, I'd recommend upgrading to that for starters :) I'd also recommend installing MMCache, Erwin wrote a tutorial over at vB.com for it.
|
It seems I can't upgrade as server works with Ensim... any other tips?
|
What does MRTG (or whatever you use to monitor stats) say regarding when the load is highest?
|
Quote:
|
eva2000, done.
Erwin, which kind of info exactly? I've been told the server goes down due to a LOOP caused by a PHP/MYSQL call... Does any1 know of any hack that would cause this/Has caused this in the past with VB 2.x series? |
id guess its squalls call on the arcade hack
|
Ok i'll try to disable this and see if server keeps alive...
|
Use vbulletin's debug mode to display the query load how many are being made and how long each takes. That way you can get a closer fix on what the problem is.
Regards, g-force2k2 |
I can now say it's not due to VBPRO ARCADE.... Server went down twice after turning the arcade off...
I already have microstats enabled and I monitor both the queries and server load from there... I've seen VB working with PRO ARCADE enabled with 500 users online and server load be 0.85, so I DON'T THINK it's VB itself, but some sort of loop (as adviced by the server administration dept.) that it's causing the server overload (once it starts going up, load won't stop until apache and mysql go down). Problem is mainly identifying the source of the loop... :( |
Quote:
|
It's a standard Rackshack (now EV1) dual xeon server, quite "normal" afai understand...
And no, it's not a cron job. |
Quote:
|
4Mb Ram? wow! ;)
I just have 1Gb RAM... But I'm afraid whatever the bug is, it would consume the whole thing no matter how much resources I add, as it seems the load is only stopped once services (apache/sql) fail..... And the server is NORMALLY not that busy, which means that in normal conditions, it averages 0.8x to 1.x load averages... Far from the 4.x maximum permitted... |
Quote:
|
Quote:
It sounds like possibly a cron script that hangs. It might also be a form of a dos attack... we had this a while back and it took 3 weeks to find out why we had daily outages for no apparent reason. When this happens, what does top say? |
Quote:
|
All times are GMT. The time now is 04:47 PM. |
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:
|