Donate Share

Zina is not Andromeda

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

memory requirements/Zina+Wordpress leaks mem?

You are viewing a single message from this topic. View all messages.

  1. 2009-03-03 15:51:52 UTC
    @ali tim (alire1): yes, my server meets these requirements.

    @Ryan Lathouwers (ryanlathProject Admin):


    My issue looks very similar to the one described (and not solved) here:

    http://www.webhostingtalk.com/showthread.php?t=670621

    In short, stracing a httpd process stops on LOCK_EX:

    $ strace -p 3230

    06:57:12 open("/var/lib/php/session/sess_86ecf346c6f7adba93cb1077f6b95d43", O_RDWR|O_CREAT,
    0600) = 44
    06:57:12 flock(44, LOCK_EX

    And "lsof" shows that such session files are being accessed by many httpd processes, each wanting to have an exclusive lock, which will block all other instances.
    Therefore I have so many httpd processes which start, but don't die, as they're blocked waiting to access a file. Eventually it will sort out itself after 30 minutes or so, but long term, new httpd processes are created faster than the old ones are created. In turn, OOM-killer kills processes.


    I found a workaround for that: in php.ini (I had it set to 1):

    session.use_cookies = 0

    Although I'm not sure if that's the right approach.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.