• Resolved skywalker89

    (@skywalker89)


    HI,

    when using fpm (cpanel, centos 7.x, php 7.4, apache) often I after some time find the Website has crashed with WordPress prompting me to set up debugging.

    Want to move to Virtualmin: they dropped non fpm support – since they are many productive websites, am afraid to lose the option to simply switch off fpm then…
    but it also seems fpm has many advantages speedwise, so will have to find a solution anyways …

    So the next server generation (Centos 8?) will only allow the – as I read – much better and faster fpm instead of the old mod_php… so WILL HAVE to deal with the issues..

    Its multiple sites with multiple sometimes different plugins, so will have to dig deeper into logs.

    but since its pretty quiet here about problems with fpm in general — any idea what could cause the issues of sites breaking after some time (when I am not looking)?

    Thx
    Dan

    • This topic was modified 4 years, 5 months ago by skywalker89. Reason: addition
    • This topic was modified 4 years, 5 months ago by skywalker89. Reason: addition
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter skywalker89

    (@skywalker89)

    Update: testing it… a site quickly crashed after I started fpm again (easy in cpanel – one thing they do really well) – quickly after that site shows blank screen…in cpanel I switched back to 7.3 WITH fpm ON – site comes back up again…can this be a 7.4 issue?
    THx
    Dan

    Thread Starter skywalker89

    (@skywalker89)

    HI, update… found memory issues in error log…trying to solve it with
    1

    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

    in config…

    but still site crashes with

    [21-Jun-2020 12:03:05 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/XXXX/public_html/wp-content/themes/virtue_premium/themeoptions/framework.php on line 2275

    raised to 512 MB … but had to restart php-fhm service for apache also to make website appear again, reload was not enough

    Dan

    • This reply was modified 4 years, 5 months ago by skywalker89.
    Thread Starter skywalker89

    (@skywalker89)

    seems 512 MB is enough so far…seems wasnt a fpm issue in itself

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘fpm crashing WordPress sites’ is closed to new replies.