The webserver keep crashing everyday

Keywords: WordPress - AWS - Technical issue - Services (Apache, MariaDB, MySQL…)

bnsupport ID: 2f0c9dbf-dd9c-1dc6-d945-2e7f5510206a

bndiagnostic output:

? Apache: Found possible issues
? Wordpress: Found possible issues
? Resources: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/bch/apps/moodle/troubleshooting/deny-connections-bots-apache/

bndiagnostic failure reason: I do not know how to perform the changes explained in the documentation

Description:
so everyday the server crashes one time lol i fixed the errors hat i found a bad plugin and a bad function on function.php… i increased machine size to 4gb but i still get the same behaviour… and i didn’t understand the diagnosing tool feedback :frowning:

and i get bunch of these two errors on repeat

`[Fri Nov 12 11:40:10.179469 2021] [proxy_fcgi:error] [pid 1528:tid 140664906401536] [client 197.14.121.137:54749] AH01071: Got error 'PHP message: PHP Notice:  Unknown: file created in the system's temporary directory in Unknown on line 0', referer: https://mydomain.com/`

[Fri Nov 12 11:37:41.784471 2021] [proxy_fcgi:error] [pid 9084:tid 139726060959488] (70007)The timeout specified has expired: [client 41.225.229.184:54339] AH01075: Error dispatching request to : (polling), referer: https://mydomain.com/wp-admin/edit.php?post_type=shop_order

ps: the url changes in every error for both errors…

Hello @nab,

Thanks for using our WP stack! Our support tool detected a possible issue. A high number of incoming requests originate from one or more unique IP addresses. This could indicate a bot attack. The following guide shows how to check for and block suspicious IP addresses.

https://docs.bitnami.com/bch/apps/moodle/troubleshooting/deny-connections-bots-apache/

Besides that, is the issue happening every day at the same time? In so, it could be related to the certificate renewal cronjob you have running every day. As a recommendation, you can change its renewal to once a month, as the certificate is valid for 90 days and can’t be renewed (Let’s Encrypt blocks it) before 7 days have passed.

Regards,
Francisco de Paz

1 Like

i checked that was not a bot but one of our ips maybe a hacked computer… but how to change that cron job ?

and what id this ?
AH01071: Got error 'PHP message: PHP Notice: Unknown: file created in the system's temporary directory in Unknown on line 0', referer:

Hello @nab,

The log you shared should be coming from the Elementor-Pro plugin, which may be corrupted. Could you please try disabling the plugin and checking whether that improves your stack stability?

Apart from that, you just need to use the crontab command. You can check its basic usage in its --help.

Regards,
Francisco de Paz

1 Like

No :frowning: same error after deactivating elementor pro
[Sat Nov 20 23:45:51.189097 2021] [proxy_fcgi:error] [pid 8497:tid 139776338253568] [client 196.178.161.50:61888] AH01071: Got error 'PHP message: PHP Notice: Unknown: file created in the system's temporary directory in Unknown on line 0', referer: https://****.com/

Hello @nab,

Checking this SO post, these PHP notices could be permissions related. Could you please try executing the following:

sudo chmod o+w /opt/bitnami/php/tmp

Besides still having these entries in the logs, are you still experiencing daily crashings? Did you check if the issue is happening every day at the same time?

Regards,
Francisco de Paz

1 Like

Nothing it keep crashing an i can’t see what’s wrong :frowning: