the website goes down after being up for about 5 mins

0

i have set up a domain through Lightsail and implemented my wordpress site. it runs for about 5 mins and then shuts down including admin access here are the error logs i can usually get it running again by starting it via the SSH command where it last for a little while. the domain SSL was automatic and it says it doesnt match my site addtionally the server states its a memory issue but that doesnt make sense considering no traffic beyond me testing it. other than maybe someone attacking the name of the domain for some reason bitnami@ip-172-26-6-151:~$ sudo systemctl status bitnami.service ● bitnami.service - LSB: bitnami init script Loaded: loaded (/etc/init.d/bitnami; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2024-01-12 06:31:51 UTC; 2min 4s ago Process: 112094 ExecStart=/etc/init.d/bitnami start (code=exited, status=1/FAILURE) Tasks: 20 (limit: 1116) Memory: 261.7M CPU: 2.260s CGroup: /system.slice/bitnami.service ├─ 1005 /opt/bitnami/gonit/bin/gonit ├─111760 php-fpm: master process (/opt/bitnami/php/etc/php-fpm.conf) ├─111764 php-fpm: pool www └─111776 /opt/bitnami/mariadb/sbin/mysqld --defaults-file=/opt/bitnami/mariadb/conf/my.cnf --basedir=/opt/bitnami/mariadb ->

Jan 12 06:31:51 ip-172-26-6-151 bitnami[112196]: ## 2024-01-12 06:31:51+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/040_bi> Jan 12 06:31:51 ip-172-26-6-151 bitnami[112196]: ## 2024-01-12 06:31:51+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/050_cl> Jan 12 06:31:51 ip-172-26-6-151 systemd[1]: bitnami.service: Control process exited, code=exited, status=1/FAILURE Jan 12 06:31:51 ip-172-26-6-151 systemd[1]: bitnami.service: Failed with result 'exit-code'. Jan 12 06:31:51 ip-172-26-6-151 systemd[1]: bitnami.service: Unit process 1005 (gonit) remains running after unit stopped. Jan 12 06:31:51 ip-172-26-6-151 systemd[1]: bitnami.service: Unit process 111760 (php-fpm) remains running after unit stopped. Jan 12 06:31:51 ip-172-26-6-151 systemd[1]: bitnami.service: Unit process 111764 (php-fpm) remains running after unit stopped. Jan 12 06:31:51 ip-172-26-6-151 systemd[1]: bitnami.service: Unit process 111776 (mysqld) remains running after unit stopped. Jan 12 06:31:51 ip-172-26-6-151 systemd[1]: Failed to start LSB: bitnami init script. Jan 12 06:31:51 ip-172-26-6-151 systemd[1]: bitnami.service: Consumed 2.230s CPU time. bitnami@ip-172-26-6-151:$ /opt/bitnami/apache2/logs/ -bash: /opt/bitnami/apache2/logs/: Is a directory bitnami@ip-172-26-6-151:$ sudo /opt/bitnami/apache2/logs/ sudo: /opt/bitnami/apache2/logs/: command not found bitnami@ip-172-26-6-151:$ sudo tail -n 100 /opt/bitnami/apache2/logs/error_log [Fri Jan 12 03:41:08.521123 2024] [ssl:warn] [pid 106985:tid 139977293323520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [Fri Jan 12 03:41:08.521743 2024] [ssl:warn] [pid 106985:tid 139977293323520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [Fri Jan 12 03:41:08.532487 2024] [ssl:warn] [pid 106986:tid 139977293323520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [Fri Jan 12 03:41:08.533114 2024] [ssl:warn] [pid 106986:tid 139977293323520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [Fri Jan 12 03:41:08.534299 2024] [mpm_event:notice] [pid 106986:tid 139977293323520] AH00489: Apache/2.4.58 (Unix) OpenSSL/1.1.1w config ured -- resuming normal operations [Fri Jan 12 03:41:08.534340 2024] [core:notice] [pid 106986:tid 139977293323520] AH00094: Command line: '/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf' [Fri Jan 12 03:41:33.368164 2024] [proxy_fcgi:error] [pid 106989:tid 139976732403456] [client 193.143.1.139:48446] AH01071: Got error 'PH P message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /bitnami/wordpress/wp-con tent/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTemplatesController.php on line 300' [Fri Jan 12 03:41:33.369314 2024] [proxy_fcgi:error] [pid 106989:tid 139976732403456] [client 193.143.1.139:48446] AH01071: Got error '; PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 24576 bytes) in /opt/bitnami/wordpress /wp-includes/functions.php on line 4299' [Fri Jan 12 03:42:32.683377 2024] [proxy_fcgi:error] [pid 106989:tid 139976724010752] [client 2604:2dc0:101:200::177f:39098] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /bitnami/wordpr ess/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTemplatesController.php on line 300' [Fri Jan 12 03:42:32.686771 2024] [proxy_fcgi:error] [pid 106989:tid 139976724010752] [client 2604:2dc0:101:200::177f:39098] AH01071: Got error '; PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 12288 bytes) in /opt/bitnami /wordpress/wp-includes/functions.php on line 650' [Fri Jan 12 03:43:36.379452 2024] [proxy_fcgi:error] [pid 107341:tid 139976698832640] [client 174.62.214.38:54801] AH01071: Got error 'PH P message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /bitnami/wordpress/wp-con tent/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTemplatesController.php on line 300' [Fri Jan 12 03:43:36.385979 2024] [proxy_fcgi:error] [pid 107341:tid 139976698832640] [client 174.62.214.38:54801] AH01071: Got error '; PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 24576 bytes) in /opt/bitnami/wordpress /wp-includes/functions.php on line 4299' [Fri Jan 12 03:43:49.716441 2024] [proxy_fcgi:error] [pid 106989:tid 139976690439936] [client 174.62.214.38:54802] AH01071: Got error 'PH P message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /opt/bitnami/wordpress/wp -includes/plugin.php on line 203', referer: https://blueskypsychiatric.com/ [Fri Jan 12 03:43:49.724223 2024] [proxy_fcgi:error] [pid 106989:tid 139976690439936] [client 174.62.214.38:54802] AH01071: Got error '; PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 24576 bytes) in /opt/bitnami/wordpress /wp-includes/functions.php on line 4299', referer: https://blueskypsychiatric.com/ [Fri Jan 12 03:44:42.921867 2024] [proxy_fcgi:error] [pid 106989:tid 139976740796160] [client 119.12.186.4:36153] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /opt/bitnami/wordpress/wp- includes/plugin.php on line 203' [Fri Jan 12 03:44:42.942123 2024] [proxy_fcgi:error] [pid 106989:tid 139976740796160] [client 119.12.186.4:36153] AH01071: Got error '; P HP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 24576 bytes) in /opt/bitnami/wordpress/ wp-includes/functions.php on line 4299' [Fri Jan 12 03:44:46.353178 2024] [proxy_fcgi:error] [pid 106990:tid 139976490555136] [client 119.13.195.148:46113] AH01071: Got error 'P HP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /opt/bitnami/wordpress/w p-includes/plugin.php on line 203' [Fri Jan 12 03:44:46.355933 2024] [proxy_fcgi:error] [pid 106990:tid 139976490555136] [client 119.13.195.148:46113] AH01071: Got error '; PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 24576 bytes) in /opt/bitnami/wordpres s/wp-includes/functions.php on line 4299' [Fri Jan 12 03:51:09.084857 2024] [proxy_fcgi:error] [pid 106990:tid 139976456984320] (70007)The timeout specified has expired: [client 2 a01:4f8:10a:2d6::2:34020] AH01075: Error dispatching request to : (polling) [Fri Jan 12 03:54:52.155743 2024] [proxy_fcgi:error] [pid 106990:tid 139976440198912] (70007)The timeout specified has expired: [client 1 79.43.169.181:41702] AH01075: Error dispatching request to : (polling) [Fri Jan 12 03:55:35.352510 2024] [proxy_fcgi:error] [pid 107341:tid 139976715618048] (70007)The timeout specified has expired: [client 1 79.43.169.181:37956] AH01075: Error dispatching request to : (polling) [Fri Jan 12 03:56:35.543159 2024] [proxy_fcgi:error] [pid 106990:tid 139976423413504] (70007)The timeout specified has expired: [client 1 79.43.169.181:41206] AH01075: Error dispatching request to : (polling) [Fri Jan 12 03:58:25.960554 2024] [proxy_fcgi:error] [pid 107341:tid 139976599660288] (70007)The timeout specified has expired: [client 1 79.43.169.181:41590] AH01075: Error dispatching request to : (polling) [Fri Jan 12 04:04:59.571184 2024] [proxy_fcgi:error] [pid 106989:tid 139976247166720] (70007)The timeout specified has expired: [client 1 79.43.169.181:36542] AH01075: Error dispatching request to : (polling) [Fri Jan 12 04:17:34.113356 2024] [mpm_event:notice] [pid 106986:tid 139977293323520] AH00491: caught SIGTERM, shutting down bitnami@ip-172-26-6-151:$

dan
asked 4 months ago111 views
1 Answer
0

The error logs you provided indicate that your WordPress website, running on a Lightsail instance, is experiencing several issues. Memory exhaustion, likely due to the allowed memory size of 536,870,912 bytes being exhausted, is one of the problems. To fix this, you need to increase the PHP memory limit. Additionally, there appears to be an SSL certificate mismatch. The SSL certificate installed on the server does not match the domain name. This error needs to be addressed as well.

profile picture
answered 8 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions