The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I need help with memory on my server for my forum
So last night I ended up getting this error message on my site MidGuide.com :
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 768332 bytes) in /home/xxxxxxxx/public_html/includes/class_core.php(4633) : eval()'d code on line 462 I contacted my host and this is what they responded with: You are hitting the limits allowed for PHP memory on a shared server. You will need to reduce the amount of plugins running on your site at every page load. You may wish to enable to install a caching plugin that alleviates some of the memory usage. Consuming 128 MB of memory for every page load is an incredibly high amount of memory to consume. So I ended up upgrading from a shared plan to a vps, here are the vps specification : Dedicated CPU = 1.2 GHz System RAM = 768 MB Disk Space = 20 GB Bandwidth = 500 GB I was told that PHP has built in opcode caching - eAccelerator already installed and configured on my server. The transfer was done this morning about 2 hours ago and after it was complete I noticed my pages are loading and running slow. I contacted them and they told me that 768 mb memory is not enough and that I should upgrade to to a bigger plan. Here is what I've used so far in the last 2 hours: Host wrote: As you can see you already have 523MB of swap used which would indicate that your server has run of of memory and used swap for memory handling, thus the slow page loading. total used free shared buffers cached Mem: 768 662 105 0 1 44 -/+ buffers/cache: 616 151 Swap: 1023 523 500 Would the datastore help with this issue: https://www.vbulletin.com/docs/html/datastore I'm currently running VB 4.2.0 I don't want to upgrade anymore, and would only like to upgrade in time. What could I do to not have memory issues? I also posted this here: https://www.vbulletin.com/forum/show...r-for-my-forum Please help. This is the site: MidGuide.com Thanks |
#2
|
|||
|
|||
Well, you do have quite a few forums - do you know how many you have totat? But I'm not sure that's the problem - what mods do you have installed? FWIW I only have a couple of forums on my test site and according to the debug mode info it's only using 7Mb to generate the page.
|
#3
|
|||
|
|||
Quote:
So far I have about 10k forums and plan to run about 50k to 100k forums. I have two plugins installed, the VSA subforum manager and a plugin that I had created by Badshah93 for coping forums. I can understand when coping forums it would take a lot of memory, but when I'm not coping anything, it still uses a lot of memory. Any help would be appreciated.:up: |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
Quote:
Best Regards Maksi |
#6
|
|||
|
|||
It is an unusual number of forums, but I know the issue's been discussed before so someone else here might have more to say about it. Also you might post in the server configuration section on vbulletin.com, maybe the server guy has something to say about the issue.
|
#7
|
|||
|
|||
Good Idea. I posted in the VB4 Problems and Troubleshooting section. I should have posted in the Server Configuration section, I just don't want to post twice about the same issue on that forum. I might ask one of the mods to move the post that I posted if possible. Thank you for your suggestions kh99:up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|