Page 1 of 1

httpd (web server) and nginx (reverse proxy) not working

Posted: Wed Oct 20, 2021 11:04 pm
by shonir
Hello Everyone,

I am using vestacp from 4 years. Now some days ago my vestacp admin interface is super slow down. i update all services and now admin is little speed up but httpd and nginx not working.

i also try to start both services from vestacp admin but no luck.
i also used ssh and try to start services using command "service nginx start" but no luck.

now my default php version is 7.4.24.

Re: httpd (web server) and nginx (reverse proxy) not working

Posted: Thu Oct 21, 2021 2:46 am
by grayfolk
shonir wrote:
Wed Oct 20, 2021 11:04 pm
Hello Everyone,

I am using vestacp from 4 years. Now some days ago my vestacp admin interface is super slow down. i update all services and now admin is little speed up but httpd and nginx not working.

i also try to start both services from vestacp admin but no luck.
i also used ssh and try to start services using command "service nginx start" but no luck.

now my default php version is 7.4.24.
Very interesting. Can you tell us about another your problems?

Re: httpd (web server) and nginx (reverse proxy) not working

Posted: Thu Oct 21, 2021 1:44 pm
by shonir
vestacp admin interface very slow and all websites also responding very slow.


Below is error logs for httpd: /var/log/httpd/error_log

Code: Select all

libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
[Thu Oct 21 01:58:51.958099 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3567 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.960485 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3254 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.960785 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3505 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.961705 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 4187 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.961786 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3564 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.961809 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3812 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.961879 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3591 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.961900 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 2997 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.961931 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 1883 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.961968 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 1854 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962021 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 1851 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962037 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3682 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962071 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 1867 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962098 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 2153 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962118 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 1845 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962155 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 2698 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962214 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 1865 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962254 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 2064 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962292 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3157 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962336 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3471 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962382 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 1961 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962429 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3540 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962450 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3694 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962522 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 2643 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962621 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3680 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.962641 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 4164 graceful kill fail, sending SIGKILL
[Thu Oct 21 01:58:51.963237 2021] [fcgid:warn] [pid 3926] mod_fcgid: process 3569 graceful kill fail, sending SIGKILL
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
[Thu Oct 21 03:11:46.451761 2021] [mpm_prefork:notice] [pid 3925] AH00171: Graceful restart requested, doing restart
[Thu Oct 21 03:11:55.046018 2021] [so:warn] [pid 3925] AH01574: module php7_module is already loaded, skipping
[Thu Oct 21 03:11:55.049935 2021] [so:warn] [pid 3925] AH01574: module ruid2_module is already loaded, skipping
[Thu Oct 21 03:11:55.693062 2021] [auth_digest:notice] [pid 3925] AH01757: generating secret for digest authentication ...
[Thu Oct 21 03:13:45.529669 2021] [ssl:warn] [pid 3925] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Oct 21 03:13:45.535886 2021] [:notice] [pid 3925] mod_ruid2/0.9.8 enabled
[Thu Oct 21 03:13:45.627412 2021] [mpm_prefork:notice] [pid 3925] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/7.4.24 configured -- resuming normal operations
[Thu Oct 21 03:13:45.627454 2021] [core:notice] [pid 3925] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
[Thu Oct 21 05:34:54.624747 2021] [access_compat:error] [pid 466] [client 143.198.66.153:49222] AH01797: client denied by server configuration: /home/origlac/web/origla.com/public_html/xmlrpc.php
[Thu Oct 21 05:52:17.497882 2021] [fcgid:warn] [pid 20508] mod_fcgid: process 11108 graceful kill fail, sending SIGKILL
[Thu Oct 21 05:52:18.042832 2021] [fcgid:warn] [pid 20508] mod_fcgid: process 10957 graceful kill fail, sending SIGKILL
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
[Thu Oct 21 07:52:19.084971 2021] [fcgid:warn] [pid 20508] mod_fcgid: process 30374 graceful kill fail, sending SIGKILL
[Thu Oct 21 07:52:19.653183 2021] [fcgid:warn] [pid 20508] mod_fcgid: process 29116 graceful kill fail, sending SIGKILL
[Thu Oct 21 07:52:19.653261 2021] [fcgid:warn] [pid 20508] mod_fcgid: process 27775 graceful kill fail, sending SIGKILL
[Thu Oct 21 07:52:19.653290 2021] [fcgid:warn] [pid 20508] mod_fcgid: process 30360 graceful kill fail, sending SIGKILL
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
[Thu Oct 21 08:23:19.732643 2021] [mpm_prefork:notice] [pid 3925] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Oct 21 08:27:59.065681 2021] [suexec:notice] [pid 28620] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Oct 21 08:29:47.276864 2021] [ssl:warn] [pid 28620] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Oct 21 08:29:47.313379 2021] [so:warn] [pid 28620] AH01574: module php7_module is already loaded, skipping
[Thu Oct 21 08:29:47.315086 2021] [so:warn] [pid 28620] AH01574: module ruid2_module is already loaded, skipping
[Thu Oct 21 08:29:47.557820 2021] [auth_digest:notice] [pid 28620] AH01757: generating secret for digest authentication ...
[Thu Oct 21 08:29:47.640432 2021] [ssl:warn] [pid 28620] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Oct 21 08:29:47.654851 2021] [:notice] [pid 28620] mod_ruid2/0.9.8 enabled
[Thu Oct 21 08:30:19.808539 2021] [mpm_prefork:notice] [pid 28620] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/7.4.24 configured -- resuming normal operations
[Thu Oct 21 08:30:19.808983 2021] [core:notice] [pid 28620] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Oct 21 08:31:14.154755 2021] [suexec:notice] [pid 32722] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Oct 21 08:31:14.248784 2021] [ssl:warn] [pid 32722] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Oct 21 08:31:14.280303 2021] [so:warn] [pid 32722] AH01574: module php7_module is already loaded, skipping
[Thu Oct 21 08:31:14.282871 2021] [so:warn] [pid 32722] AH01574: module ruid2_module is already loaded, skipping
[Thu Oct 21 08:31:14.530798 2021] [auth_digest:notice] [pid 32722] AH01757: generating secret for digest authentication ...
[Thu Oct 21 08:31:14.610132 2021] [ssl:warn] [pid 32722] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Oct 21 08:31:14.613802 2021] [:notice] [pid 32722] mod_ruid2/0.9.8 enabled
[Thu Oct 21 08:31:14.673765 2021] [core:warn] [pid 32722] AH00098: pid file /run/httpd/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Oct 21 08:31:14.800938 2021] [mpm_prefork:notice] [pid 32722] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/7.4.24 configured -- resuming normal operations
[Thu Oct 21 08:31:14.800988 2021] [core:notice] [pid 32722] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'




Below is error logs for nginx: /var/log/nginx/error.log

Code: Select all

2021/10/21 03:13:57 [alert] 30750#30750: 30 worker_connections are not enough
2021/10/21 03:13:57 [alert] 30748#30748: 30 worker_connections are not enough
2021/10/21 03:14:12 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:13 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:13 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:13 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:13 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:13 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:14 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:14 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:14 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:16 [alert] 30748#30748: 30 worker_connections are not enough
2021/10/21 03:14:16 [alert] 30748#30748: 30 worker_connections are not enough
2021/10/21 03:14:17 [alert] 30748#30748: 30 worker_connections are not enough
2021/10/21 03:14:18 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:19 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:21 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:21 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:21 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:23 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:24 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:24 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:25 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:25 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:25 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:25 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:26 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:29 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:29 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:30 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:30 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:30 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:30 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:31 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:31 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:31 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:32 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:32 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:32 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:32 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:32 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:34 [alert] 30743#30743: 30 worker_connections are not enough
2021/10/21 03:14:34 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:35 [alert] 30743#30743: 30 worker_connections are not enough
2021/10/21 03:14:37 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:38 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:39 [alert] 30743#30743: 30 worker_connections are not enough
2021/10/21 03:14:41 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:41 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:41 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:42 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:46 [alert] 30742#30742: 30 worker_connections are not enough
2021/10/21 03:14:46 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:53 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:54 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:56 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:57 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:14:57 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:15:02 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:15:13 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:15:13 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:15:13 [alert] 30751#30751: 30 worker_connections are not enough
2021/10/21 03:15:15 [alert] 30751#30751: 30 worker_connections are not enoug

Below is top command data

Image

Re: httpd (web server) and nginx (reverse proxy) not working

Posted: Thu Oct 21, 2021 2:13 pm
by shonir
Please check now and let me know if have any idea why my server is too slow and nginx and httpd shut down automatically and after shut down not getting strat even after make reboot many time or restart httpd or nginx.


grayfolk wrote:
Thu Oct 21, 2021 2:46 am
shonir wrote:
Wed Oct 20, 2021 11:04 pm
Hello Everyone,

I am using vestacp from 4 years. Now some days ago my vestacp admin interface is super slow down. i update all services and now admin is little speed up but httpd and nginx not working.

i also try to start both services from vestacp admin but no luck.
i also used ssh and try to start services using command "service nginx start" but no luck.

now my default php version is 7.4.24.
Very interesting. Can you tell us about another your problems?