• So I’ve installed WordPress 3.2.1, installed Tisa from Themify.me (https://themify.me/themes/tisa), and I’ve run into some problems. When viewing the page, the images only show up half the time. This seems to be the server running out of memory – this line shows up in my error logs:

    [error] [client 203.217.8.107] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/verdant/public_html/wp/wp-content/themes/tisa/themify/timthumb.php, referer: https://wp.verdant.com.au/

    So it appears to be the image resizing component (which, as I understand it, is pretty damn common with WP blogs), and a theme, are maxing out the server. This seems pretty weird – they support 64M PHP limits, and aren’t too stingy – I’ve got 1 GB of available memory. So how is WP maxing it out? What can I do to profile/optimize it? Must admit, one of the biggest challenges I’ve found approaching this is how to profile and figure out where all the memory is going…

    Cheers for any help. Website is https://wp.verdant.com.au if you want to have a look for yourself.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The plugin below allows lots of monitoring so you can see what requests are happening and where memory is going.

    https://www.ads-software.com/extend/plugins/blackbox-debug-bar/

    Thread Starter Jono.Rogers

    (@jonorogers)

    Sorry but that doesn’t really help me; it shows that the theme makes way too many database calls (expected); the page load was slow (expected), and bugger all else. How do you see where the memory is going using that plugin?

    Profiler Initiaded	0.0000 ms	16298 kB
    Profiler Noise	0.0200 ms	16298 kB
    Profiler Stopped	357.3320 ms	22891 kB

    That is the only “memory” statistics I can get out of it. Not exactly what I was hoping for. Anyway I don’t have much a clue at how to debug/profile PHP on remote systems in general, it doesn’t matter if the advice is a bit techy but as long as it will actually help me pinpoint the suckers taking up memory usage. Think windows task manager – I want to see the processes which are taking up all my memory.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Server memory hitting 1GB on page requests’ is closed to new replies.