Apps keep restarting

My YunoHost server

Hardware: online VPS (8gb of ram)
YunoHost version: 11.0.9.15 (stable)
I have access to my server : SSH, GUI
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:

Description of my issue

Hello,
the issue that I have is that apps keep restarting.

I have around 5 Wordpress websites and they keep restarting but quite in a weird way.

I’m using UpTimeRobot and the Website1 goes offline, then after 5 minutes is online, and so on.

After some time the Website1 is stable but the Website2 start doing that. Now is doing the same also with PeerTube.

I tried to debug the problem on Wordpress and it seems related to a memory problem, so I’ve updated wp-config.php with this line define( 'WP_MEMORY_LIMIT', '128M' ); (in the logs it was saying that 64mb was not enough) but still it doesn’t work.

Any clue about what could I do?
Thank you

I have just added a YunoHost config panel to WordPress. Update your apps, and then you can set the PHP usage and footprint from the webadmin. Try increasing both of them. :crossed_fingers:

Thank you! I’ll try and then I’ll update the thread.

It does the same.

This is Wordpress.

If I enable the logs I can see this:

[15-Oct-2022 12:26:58 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 155648 bytes) in /var/www/wordpress__7/wp-content/pl>
[15-Oct-2022 12:26:58 UTC] PHP Notice:  is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, t>
[15-Oct-2022 12:26:58 UTC] PHP Notice:  is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, >
[15-Oct-2022 20:12:19 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 155648 bytes) in /var/www/wordpress__7/wp-content/pl>
[15-Oct-2022 20:12:19 UTC] PHP Notice:  is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, t>
[15-Oct-2022 20:12:19 UTC] PHP Notice:  is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, >
[15-Oct-2022 20:22:39 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 155648 bytes) in /var/www/wordpress__7/wp-content/pl>
[15-Oct-2022 20:22:40 UTC] PHP Notice:  is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, t>
[15-Oct-2022 20:22:40 UTC] PHP Notice:  is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, >
[16-Oct-2022 05:11:56 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 155648 bytes) in /var/www/wordpress__7/wp-content/pl>
[16-Oct-2022 05:11:56 UTC] PHP Notice:  is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, t>
[16-Oct-2022 05:11:56 UTC] PHP Notice:  is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, >
[16-Oct-2022 12:13:02 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 401408 bytes) in /var/www/wordpress__7/wp-content/pl>
[16-Oct-2022 12:13:24 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 401408 bytes) in /var/www/wordpress__7/wp-content/pl>
[16-Oct-2022 12:48:23 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /var/www/wordpress__7/wp-includes/fu>
[16-Oct-2022 12:48:45 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /var/www/wordpress__7/wp-includes/fu>
[16-Oct-2022 12:51:26 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /var/www/wordpress__7/wp-includes/pl>
[16-Oct-2022 12:53:44 UTC] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /var/www/wordpress__7/wp-includes/fu>


another weird thing that I see is this (htop).

Thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.