• Resolved t-readyroc

    (@t-readyroc)


    Fresh install. No sites save for the base site. Updated base to 3.8 yesterday, and tried to “upgrade network” afterwards; experienced white screens. PHP was exceeding its max memory allocation, so read about installing the Memory Bump plugin here, but that didn’t work. The generic error was, “PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate…” php.ini was initially set to 128M, so I doubled it to 256M. I also installed a memory usage plugin that shows the system only using ~46M. I even added php_value memory_limit 256M to .htaccess w/no change. So then I upped the memory in the VM from 2 > 4GB, and increased the memory limit in php.ini to 512M. That’s when I got apache seg faults when trying the upgrade again.

Viewing 15 replies - 1 through 15 (of 25 total)
  • so read about installing the Memory Bump plugin here, but that didn’t work.

    That’s no surprise. That plugin was built into WP core a few versions back. From the look of the initial error message, PHP memory was already set at 256M. Are you sure that you didn’t inadvertently introduce a problem in your php.ini?

    Thread Starter t-readyroc

    (@t-readyroc)

    I also thought it was odd that php.ini listed 128M initially, but that the error listed 256M…

    The only thing I changed in php.ini was the memory_limit:

    ; Maximum amount of memory a script may consume (128MB)
    ; http://php.net/memory-limit
    memory_limit = 512M

    Full php.ini is here: http://pastebin.com/LQaeMuje

    Thread Starter t-readyroc

    (@t-readyroc)

    Changing the limit from 512M back to 256M gets rid of the seg-faults, but brings back the previous error message:

    PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) in /var/www/wp-includes/option.php on line 35, referer: https://my.domain.org/project/wp-admin/network/upgrade.php

    Try deactivating as many plugins as you can for now. You’re only just over the memory limit, so that might be enough for you get the upgrade done.

    Thread Starter t-readyroc

    (@t-readyroc)

    No dice. I deactivated every plugin save for the SSL bypass that needs to run, & still got the same exhausted memory error.

    Like I said, this is a totally fresh (so fresh, so clean) install….

    Sorry – you may have to wait until someone with a little more apache+multisite-fu comes along. My multisite experience is very sparse. I’ll see if I can get some more eyes on this for you.

    Thread Starter t-readyroc

    (@t-readyroc)

    Appreciate it. Thanks for looking 🙂

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    It’s a long shot but depending on your setup your INI setting may not have taken effect.

    Can you double check that by putting a <?php phpinfo(); ?> file on your WordPress installation and load that into your browser?

    When I visit the one on my install I see this.

    memory_limit	128M

    Which is a lot BTW. 😉 Can you confirm what your setting say when you visit that file?

    Thread Starter t-readyroc

    (@t-readyroc)

    I just created it & checked it out. It’s consistent with what WP System Health is telling me: http://i.imgur.com/EkzJ8DW.png

    & yeah, I know 128M is a bunch… should be more than sufficient.

    I’m off for lunch shortly, so sorry if I don’t respond immediately for the next hour or so…

    Some questions/comments from a colleague of mine who wrote the book (literally) on multisites…

    How big a site are we talking?

    In theory, you don’t actually have to run the db part of the upgrade, since visiting each site should do it on its own, but just on a wild shot, get the URL it’s failing on.

    If it’s ending with a site number, increment that by one and see if it works. It may just be one site!

    Thread Starter t-readyroc

    (@t-readyroc)

    Thanks again for looking into it, esmi. As stated, I have no sub-sites yet, save for the initial one created during installation. It’s a fresh install.

    Maybe I’ll create a couple of test sub-sites and see what happens…?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Forget trying to adjust memory size. That’s not going to solve the problem for you.

    This error message:

    PHP Fatal error: Allowed memory size of 268435456 bytes exhausted

    … indicates that the memory size is 256 meg. That’s fine and should be plenty.

    The question isn’t how to increase the memory size, the question is what in the heck can be eating up 256 meg?

    What URL are you getting this error on?

    Thread Starter t-readyroc

    (@t-readyroc)

    Here are the rest of the details of the error message:

    Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) in /path/to/root/wp-includes/option.php on line 35, referer: https://my.domain.org/project/wp-admin/network/upgrade.php

    & other files w/diff lines are throwing the same error: link-template.php on line 1969 is another.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    What is the URL in the browser when you get this error on the screen? Is it /network/upgrade.php?

    Thread Starter t-readyroc

    (@t-readyroc)

    Correct.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘"upgrade network" seg-faults apache’ is closed to new replies.