• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

apache is operating poorly

Carlos Puc

New Pleskian
Out of nowhere apache stops working, and I have to restart the httpd service that restablesca

The message it throws is "Service Unavailable"

The server is a CentOS Linux Centos 6.5

It has 24 cores and 24 GB RAM

These are the values ​​that I have in httpd.conf
Timeout 60
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule prefork.c>
StartServers 8
MinSpareServers 20
MaxSpareServers 60
ServerLimit 456
MaxClients 456
MaxRequestsPerChild 10000
</IfModule>

<IfModule worker.c>
StartServers 4
MaxClients 300
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

and these in cfgid.conf

LoadModule fcgid_module modules/mod_fcgid.so

<IfModule mod_fcgid.c>

<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl
</IfModule>

FcgidIPCDir /var/run/mod_fcgid/sock
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm

FcgidIdleTimeout 90
FcgidProcessLifeTime 30
FcgidMaxProcesses 20
FcgidMaxProcessesPerClass 8
FcgidMinProcessesPerClass 0
FcgidConnectTimeout 30
FcgidIOTimeout 100
FcgidInitialEnv RAILS_ENV production
FcgidIdleScanInterval 10

</IfModule>

Some of the errors that enter the system when it fails to operate:

[Tue Jul 15 18:26:49 2014] [notice] caught SIGTERM, shutting down
[Tue Jul 15 18:26:57 2014] [error] FastCGI process 7154 still did not exit, terminating forcefully
[Tue Jul 15 18:26:57 2014] [error] FastCGI process 7151 still did not exit, terminating forcefully
[Tue Jul 15 18:26:59 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:00 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Jul 15 18:27:00 2014] [notice] ModSecurity for Apache/2.6.6 (http://www.modsecurity.org/) configured.
[Tue Jul 15 18:27:00 2014] [notice] ModSecurity: APR compiled version="1.3.9"; loaded version="1.3.9"
[Tue Jul 15 18:27:00 2014] [notice] ModSecurity: PCRE compiled version="7.8"; loaded version="7.8 2008-09-05"
[Tue Jul 15 18:27:00 2014] [notice] ModSecurity: LIBXML compiled version="2.7.6"
[Tue Jul 15 18:27:00 2014] [warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Tue Jul 15 18:27:00 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 15 18:27:00 2014] [notice] Digest: done
[Tue Jul 15 18:27:01 2014] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 48 bytes)
[Tue Jul 15 18:27:01 2014] [notice] mod_bw : Version 0.92 - Initialized [0 Confs]
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Tue Jul 15 18:27:01 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Jul 15 18:27:01 2014] [warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Tue Jul 15 18:27:01 2014] [notice] mod_python: Creating 4 session mutexes based on 456 max processes and 0 max threads.
[Tue Jul 15 18:27:01 2014] [notice] mod_python: using mutex_directory /tmp
[Tue Jul 15 18:27:01 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 mod_jk/1.2.37 mod_python/3.3.1 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations

[Sun Jul 20 03:54:19 2014] [info] mod_fcgid: server xcaretexperiencias.com:/var/www/cgi-bin/cgi_wrapper/cgi_wrapper(8937) started
[Sun Jul 20 03:54:19 2014] [info] mod_fcgid: server experienciasxcaret.com.mx:/var/www/cgi-bin/cgi_wrapper/cgi_wrapper(8945) started
[Sun Jul 20 03:54:20 2014] [notice] SIGHUP received. Attempting to restart
[Sun Jul 20 03:54:20 2014] [info] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(8945) exit(shutting down), get stop signal 1
[Sun Jul 20 03:54:20 2014] [info] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(8937) exit(shutting down), get stop signal 1
[Sun Jul 20 03:54:20 2014] [info] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(8604) exit(shutting down), get stop signal 1
[Sun Jul 20 03:54:20 2014] [info] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(8569) exit(shutting down), terminated by calling exit(), return code: 0
[Sun Jul 20 03:54:20 2014] [info] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(8575) exit(shutting down), terminated by calling exit(), return code: 0

What I can do? and is desperate to have this problem, I have to restart my service at any time of day
 
I also think it's something of optimization

But do not know where to start?

Igor the link you left me I did not give much indication of that apache stops working

I I thank you both time
 
Back
Top