Server is crashing every day

Keywords: LAMP/MAMP/WAMP - Google Cloud Platform - Technical issue - Other
bnsupport ID: 11dc9428-d9b7-b770-a18d-6f1ff06339c7
Description:
All days I have an issue with the server, I only have a crontab configure to delete some files in a folder and other to renew a SSL certificates for letsencrypt.

I have checked the log file when the site was crashed and retrieve it

[Tue Mar 23 08:13:31.943651 2021] [autoindex:error] [pid 11028:tid 140697231361792] [client 177.236.61.89:13221] AH01276: Cannot serve directory /opt/bitnami/apache2/htdocs/comunidad/PF.Site/flavors/material/flavor/: No matching DirectoryIndex (index.html,index.html,index.htm,index.php) found, and server-generated directory index forbidden by Options directive, referer: https://comunidad.clublia.com/comunidad/index.php/
[Tue Mar 23 08:15:19.885075 2021] [autoindex:error] [pid 906:tid 140698506462976] [client 177.236.68.32:16220] AH01276: Cannot serve directory /opt/bitnami/apache2/htdocs/comunidad/PF.Site/flavors/material/flavor/: No matching DirectoryIndex (index.html,index.html,index.htm,index.php) found, and server-generated directory index forbidden by Options directive, referer: https://comunidad.clublia.com/comunidad/index.php/blog/73/fracciones-decimales/
[Tue Mar 23 09:13:20.870625 2021] [autoindex:error] [pid 951:tid 140698263074560] [client 189.203.69.195:6536] AH01276: Cannot serve directory /opt/bitnami/apache2/htdocs/comunidad/PF.Site/flavors/material/flavor/: No matching DirectoryIndex (index.html,index.html,index.htm,index.php) found, and server-generated directory index forbidden by Options directive, referer: https://comunidad.clublia.com/comunidad/index.php/secundaria/
[Tue Mar 23 10:52:09.246479 2021] [proxy_fcgi:error] [pid 900:tid 140698246289152] (70008)Partial results are valid but processing is incomplete: [client 189.202.79.83:9461] AH01075: Error dispatching request to : (reading input brigade), referer: https://comunidad.clublia.com/comunidad/index.php/ALEXASANCHEZ
[Wed Mar 24 08:18:20.253223 2021] [mpm_event:alert] [pid 5847:tid 140699463977856] (11)Resource temporarily unavailable: AH00480: apr_thread_create: unable to create worker thread
[Wed Mar 24 08:18:32.691897 2021] [proxy_fcgi:error] [pid 28628:tid 140697290110720] (70007)The timeout specified has expired: [client 201.130.120.239:60632] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Wed Mar 24 08:18:32.691854 2021] [proxy_fcgi:error] [pid 28087:tid 140698313430784] (70007)The timeout specified has expired: [client 201.130.120.239:44663] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Wed Mar 24 08:18:32.691953 2021] [proxy_fcgi:error] [pid 28628:tid 140697340466944] (70007)The timeout specified has expired: [client 189.223.109.204:49845] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Wed Mar 24 08:18:32.691929 2021] [proxy_fcgi:error] [pid 28628:tid 140697264932608] (70007)The timeout specified has expired: [client 200.79.143.226:5273] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Wed Mar 24 08:18:32.691905 2021] [proxy_fcgi:error] [pid 28087:tid 140698498070272] (70007)The timeout specified has expired: [client 201.130.120.239:60636] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/

I run the bitnami support tool this is the code:

11dc9428-d9b7-b770-a18d-6f1ff06339c7

Hello @dylan.lievano.cuevas,

Could you please take a look at this previous case?

I hope it helps

Hi davidg I follow ticket that you share me and set the configuration, I had no longer had a problem with the server until yesterday morning when my instance crashed again. I review the apache log file and return it:

[Sun Apr 25 12:25:01.877374 2021] [core:error] [pid 26614:tid 140167004161792] [client 80.95.45.113:25808] AH00126: Invalid URI in request 'clublia.com' 'GET clublia.com HTTP/1.0'
[Mon Apr 26 08:17:21.320157 2021] [mpm_event:alert] [pid 18271:tid 140169372453760] (11)Resource temporarily unavailable: AH00480: apr_thread_create: unable to create worker thread
[Mon Apr 26 08:18:06.194848 2021] [proxy_fcgi:error] [pid 20515:tid 140167323051776] (70007)The timeout specified has expired: [client 201.170.49.54:51424] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:06.194758 2021] [proxy_fcgi:error] [pid 17662:tid 140168472295168] (70007)The timeout specified has expired: [client 189.202.91.40:7044] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:06.194862 2021] [proxy_fcgi:error] [pid 17662:tid 140167339804416] (70007)The timeout specified has expired: [client 201.170.63.143:50228] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:06.194792 2021] [proxy_fcgi:error] [pid 17662:tid 140168447117056] (70007)The timeout specified has expired: [client 187.250.12.193:62789] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:06.195014 2021] [proxy_fcgi:error] [pid 20515:tid 140168002533120] (70007)The timeout specified has expired: [client 189.223.163.145:61836] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:06.194866 2021] [proxy_fcgi:error] [pid 17662:tid 140168430331648] (70007)The timeout specified has expired: [client 201.170.49.54:51425] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:06.194877 2021] [proxy_fcgi:error] [pid 17662:tid 140167935424256] (70007)The timeout specified has expired: [client 189.202.91.40:35584] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:06.194888 2021] [proxy_fcgi:error] [pid 17662:tid 140167029274368] (70007)The timeout specified has expired: [client 189.223.69.154:65183] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:06.194861 2021] [proxy_fcgi:error] [pid 20515:tid 140167968962304] (70007)The timeout specified has expired: [client 201.170.49.54:51427] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:06.194836 2021] [proxy_fcgi:error] [pid 17662:tid 140168438724352] (70007)The timeout specified has expired: [client 189.202.91.40:26454] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:06.194872 2021] [proxy_fcgi:error] [pid 20515:tid 140167004129024] (70007)The timeout specified has expired: [client 189.223.69.154:65178] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:13.492953 2021] [proxy_fcgi:error] [pid 17662:tid 140167901853440] (70007)The timeout specified has expired: [client 189.202.91.40:11350] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:13.415163 2021] [proxy_fcgi:error] [pid 17662:tid 140167213913856] (70007)The timeout specified has expired: [client 189.202.91.174:56762] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:13.484528 2021] [proxy_fcgi:error] [pid 10627:tid 140168548980480] (70007)The timeout specified has expired: [client 189.223.69.154:65181] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:13.492977 2021] [proxy_fcgi:error] [pid 17662:tid 140167239091968] (70007)The timeout specified has expired: [client 189.202.91.40:19155] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:13.484475 2021] [proxy_fcgi:error] [pid 26451:tid 140168463902464] (70007)The timeout specified has expired: [client 189.202.91.174:34237] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:14.685094 2021] [proxy_fcgi:error] [pid 10627:tid 140168287655680] (70007)The timeout specified has expired: [client 189.223.69.154:65173] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:14.875502 2021] [proxy_fcgi:error] [pid 10627:tid 140168237299456] (70007)The timeout specified has expired: [client 189.202.91.174:1749] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:18.034361 2021] [proxy_fcgi:error] [pid 20515:tid 140167985747712] (70007)The timeout specified has expired: [client 189.202.91.174:10486] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:18.034216 2021] [proxy_fcgi:error] [pid 17662:tid 140168455509760] (70007)The timeout specified has expired: [client 189.202.91.174:43584] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:18.034347 2021] [proxy_fcgi:error] [pid 17662:tid 140166995703552] (70007)The timeout specified has expired: [client 189.202.91.174:29697] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/
[Mon Apr 26 08:18:18.034334 2021] [proxy_fcgi:error] [pid 17662:tid 140167012488960] (70007)The timeout specified has expired: [client 189.202.91.174:19921] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com

I think it is the same error that I have before. How could I resolve this issue?

Hello @dylan.lievano.cuevas,

Could you share with us a new support tool output so we can check the latest changes you applied?

Regards

Hi support.

code:
c1a20ab5-2dd5-bc3c-06bd-9d604ca29d5f

I have again the issue, I have seen this Command line: ‘/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf’ but I don’t know what is execute it.

[Thu May 13 09:56:48.503012 2021] [proxy_fcgi:error] [pid 3829:tid 140096707675904] (70007)The timeout specified has expired: [client 201.170.112.107:39385] AH01075: Error dispatching request to : (polling), referer: android-app://com.google.android.gm/
[Thu May 13 09:56:48.503079 2021] [proxy_fcgi:error] [pid 3829:tid 140096825173760] (70007)The timeout specified has expired: [client 200.56.111.108:63564] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/comunidad/index.php/blog/category/32/ingl%C3%A9s/
[Thu May 13 09:57:52.682146 2021] [proxy_fcgi:error] [pid 3829:tid 140096741246720] (70007)The timeout specified has expired: [client 201.170.112.107:29425] AH01075: Error dispatching request to : (polling), referer: https://www.google.com/
[Thu May 13 09:59:15.022475 2021] [proxy_fcgi:error] [pid 14056:tid 140097999595264] (70007)The timeout specified has expired: [client 189.199.71.8:56354] AH01075: Error dispatching request to : (polling)
[Thu May 13 09:59:15.022519 2021] [proxy_fcgi:error] [pid 14056:tid 140097806563072] (70007)The timeout specified has expired: [client 201.170.112.107:39411] AH01075: Error dispatching request to : (polling), referer: android-app://com.google.android.gm/
[Thu May 13 10:00:02.780927 2021] [proxy_fcgi:error] [pid 3829:tid 140097395615488] (70007)The timeout specified has expired: [client 201.170.112.107:55506] AH01075: Error dispatching request to : (polling), referer: https://www.google.com/
[Thu May 13 10:00:02.781981 2021] [proxy_fcgi:error] [pid 3829:tid 140096648926976] (70007)The timeout specified has expired: [client 201.171.97.71:48668] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/login
[Thu May 13 10:00:02.777964 2021] [proxy_fcgi:error] [pid 24800:tid 140097932453632] (70007)The timeout specified has expired: [client 201.171.97.71:48672] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/login
[Thu May 13 10:00:02.781554 2021] [proxy_fcgi:error] [pid 24800:tid 140097789777664] (70007)The timeout specified has expired: [client 201.171.97.71:48676] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/login
[Thu May 13 10:00:02.781056 2021] [proxy_fcgi:error] [pid 24800:tid 140097579960064] (70007)The timeout specified has expired: [client 201.171.97.71:48674] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/login
[Thu May 13 10:00:02.771895 2021] [proxy_fcgi:error] [pid 24800:tid 140097772992256] (70007)The timeout specified has expired: [client 201.171.97.71:48670] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/login
[Thu May 13 10:00:02.773145 2021] [proxy_fcgi:error] [pid 3648:tid 140097563174656] (70007)The timeout specified has expired: [client 201.171.97.71:48654] AH01075: Error dispatching request to : (polling), referer: https://comunidad.clublia.com/login
[Thu May 13 10:04:58.491357 2021] [core:warn] [pid 856:tid 140165033986944] AH00098: pid file /opt/bitnami/apache/var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu May 13 10:04:58.495679 2021] [mpm_event:notice] [pid 856:tid 140165033986944] AH00489: Apache/2.4.46 (Unix) OpenSSL/1.1.1d configured -- resuming normal operations
[Thu May 13 10:04:58.495743 2021] [core:notice] [pid 856:tid 140165033986944] AH00094: Command line: '/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf'

Hello @dylan.lievano.cuevas,

This line would start apache, but it is already started.

I also found issues with your current theme:

[Tue May 11 12:41:44.342901 2021] [proxy_fcgi:error] [pid 14136:tid 140097848592128] [client 199.231.188.248:38966] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function get_header() in /opt/bitnami/apache/clublia-site/wp-content/themes/twentyseventeen/404.php:13\nStack trace:\
\n#0 {main}\n  thrown in /opt/bitnami/apache/clublia-site/wp-content/themes/twentyseventeen/404.php on line 13', referer: http://clublia.com/wp-content/themes/twentyseventeen/404.php
[Tue May 11 12:41:49.342636 2021] [proxy_fcgi:error] [pid 14120:tid 140097672279808] [client 199.231.188.248:41564] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function get_header() in /opt/bitnami/apache/clublia-site/wp-content/themes/twentyseventeen/404.php:13\nStack trace:\
\n#0 {main}\n  thrown in /opt/bitnami/apache/clublia-site/wp-content/themes/twentyseventeen/404.php on line 13', referer: http://clublia.com/wp-content/themes/twentyseventeen/404.php

Can you try to use a different theme to confirm that it’s the cause of any of the issues?

Apart from that, the support didn’t get /opt/bitnami/php/var/log/php-fpm.log file, could you share with us the output of the following command:

sudo tail -n 40 /opt/bitnami/php/var/log/php-fpm.log

Also, could you check the section below of the documentation?

Block Suspicious IP Address

It explains a simple process to detect whether your website is receiving multiple requests from suspicious IPs and, as a consequence, your high CPU usage.

Regards

this is the response after execute this command:

There arent files in this path /opt/bitnami/php/var/log/

Hello @dylan.lievano.cuevas,

It seems it is under /opt/bitnami/php/logs

sudo tail -n 40 /opt/bitnami/php/logs/php-fpm.log

Regards