No announcement yet.

I need help with memory on my server for my forum

  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] I need help with memory on my server for my forum

    So last night I ended up getting this error message on my site :

    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:

    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?

    Please help. This is the site:

    Last edited by Maksi; Mon 23 Jul '12, 10:53am. Tobacco Forum

  • #2
    Your site is indeed very slow.

    How many forums do you have in total?
    Last edited by Andy; Mon 23 Jul '12, 9:18pm.


    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.