2012-05-06, 12:56 AM
Does anyone know how many PMs MyBB can handle before it starts to be too many?
I have MyBB running, and it was doing fine until sometime last year. Around then, the PM section started being slow to load (could take up to half a minute, while forum threads would load instantly). Sending a PM could take several minutes. A few days ago, the problem became worse where a few people sending PMs causes the Apache2 daemon (httpd) to crash due to being out of memory. (The server has 512 MB of RAM available to it.)
I cloned the forums (copied the database, copied the MyBB installation), and in that test environment, I deleted all PMs from before January 1st, 2012 (which was 168,501 PMs). After that, the test environment copy of MyBB would load the PM section instantly, and would send PMs instantly.
I'm wondering, is there a limit where MyBB simply cannot handle PMs? The forum I run has 14,253 threads containing 123,313 posts, and there are no problems there.
At this point I don't know where the cause of the slowdowns is, so it might not even be in MyBB. Since pruning the PMs seems to work as a solution (at least in testing; haven't tried it on the actual forums yet as I want to ensure I have a usable back-up for just the PMs before I trim them), I was curious: does anyone else have MyBB running with over 170,000 PMs, and have no issues with speed when sending PMs?
For the record, I'm currently running MyBB Version 1.6.4 (haven't yet upgraded to 1.6.5 due to trying to figure out the private messaging/httpd dying issue).
Update: I cleared out older PMs, and now the PM system is super-fast. I'm still getting the server running out of memory and closing Apache, so clearly that was unrelated to the slow PM system. Back to the drawing board for me on figuring the memory hog!
I have MyBB running, and it was doing fine until sometime last year. Around then, the PM section started being slow to load (could take up to half a minute, while forum threads would load instantly). Sending a PM could take several minutes. A few days ago, the problem became worse where a few people sending PMs causes the Apache2 daemon (httpd) to crash due to being out of memory. (The server has 512 MB of RAM available to it.)
I cloned the forums (copied the database, copied the MyBB installation), and in that test environment, I deleted all PMs from before January 1st, 2012 (which was 168,501 PMs). After that, the test environment copy of MyBB would load the PM section instantly, and would send PMs instantly.
I'm wondering, is there a limit where MyBB simply cannot handle PMs? The forum I run has 14,253 threads containing 123,313 posts, and there are no problems there.
At this point I don't know where the cause of the slowdowns is, so it might not even be in MyBB. Since pruning the PMs seems to work as a solution (at least in testing; haven't tried it on the actual forums yet as I want to ensure I have a usable back-up for just the PMs before I trim them), I was curious: does anyone else have MyBB running with over 170,000 PMs, and have no issues with speed when sending PMs?
For the record, I'm currently running MyBB Version 1.6.4 (haven't yet upgraded to 1.6.5 due to trying to figure out the private messaging/httpd dying issue).
Update: I cleared out older PMs, and now the PM system is super-fast. I'm still getting the server running out of memory and closing Apache, so clearly that was unrelated to the slow PM system. Back to the drawing board for me on figuring the memory hog!