Operating System & Version
CloudLinux v7.9.0
cPanel & WHM Version
106.0.10

riadshout

Registered
Nov 30, 2022
3
1
3
BD
cPanel Access Level
Root Administrator
Hello, Recently I've been facing trouble with the apache webserver. It goes down for 5-10 mins on each restart. Can anyone explain more about why facing this problem and how to resolve it?


[ N 2023-01-07 22:01:55.3873 676989/Tq Ser/Server.h:558 ]: [ServerThr.10] Shutdown finished
[ N 2023-01-07 22:01:55.3873 676989/Tc Ser/Server.h:902 ]: [ServerThr.3] Freed 0 spare client objects
[ N 2023-01-07 22:01:55.3873 676989/Tu Ser/Server.h:902 ]: [ServerThr.12] Freed 0 spare client objects
[ N 2023-01-07 22:01:55.3873 676989/Tw Ser/Server.h:902 ]: [ServerThr.13] Freed 0 spare client objects
[ N 2023-01-07 22:01:55.3873 676989/Ts Ser/Server.h:902 ]: [ServerThr.11] Freed 0 spare client objects
[ N 2023-01-07 22:01:55.3873 676989/Tg Ser/Server.h:558 ]: [ServerThr.5] Shutdown finished
[ N 2023-01-07 22:01:55.3874 676989/Ti Ser/Server.h:558 ]: [ServerThr.6] Shutdown finished
[ N 2023-01-07 22:01:55.3874 676989/Ty Ser/Server.h:902 ]: [ServerThr.14] Freed 0 spare client objects
[ N 2023-01-07 22:01:55.3874 676989/T10 Ser/Server.h:902 ]: [ServerThr.15] Freed 0 spare client objects
[ N 2023-01-07 22:01:55.3874 676989/To Ser/Server.h:558 ]: [ServerThr.9] Shutdown finished
[ N 2023-01-07 22:01:55.3874 676989/Tc Ser/Server.h:558 ]: [ServerThr.3] Shutdown finished
[ N 2023-01-07 22:01:55.3874 676989/Tu Ser/Server.h:558 ]: [ServerThr.12] Shutdown finished
[ N 2023-01-07 22:01:55.3874 676989/T12 Ser/Server.h:902 ]: [ServerThr.16] Freed 0 spare client objects
[ N 2023-01-07 22:01:55.3874 676989/Tw Ser/Server.h:558 ]: [ServerThr.13] Shutdown finished
[ N 2023-01-07 22:01:55.3874 676989/T12 Ser/Server.h:558 ]: [ServerThr.16] Shutdown finished
[ N 2023-01-07 22:01:55.3874 676989/Ts Ser/Server.h:558 ]: [ServerThr.11] Shutdown finished
[ N 2023-01-07 22:01:55.3874 676989/Ty Ser/Server.h:558 ]: [ServerThr.14] Shutdown finished
[ N 2023-01-07 22:01:55.3874 676989/T10 Ser/Server.h:558 ]: [ServerThr.15] Shutdown finished
[ N 2023-01-07 22:01:55.3874 676989/T14 Ser/Server.h:902 ]: [ApiServer] Freed 0 spare client objects
[ N 2023-01-07 22:01:55.3874 676989/T14 Ser/Server.h:558 ]: [ApiServer] Shutdown finished
[ N 2023-01-07 22:01:55.5982 676989/T1 age/Cor/CoreMain.cpp:1325 ]: Passenger core shutdown finished
[Sat Jan 07 22:01:55.899130 2023] [suexec:notice] [pid 2797025] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[ N 2023-01-07 22:01:56.0135 2797029/T1 age/Wat/WatchdogMain.cpp:1377 ]: Starting Passenger watchdog...
[ N 2023-01-07 22:01:56.0221 2797032/T1 age/Cor/CoreMain.cpp:1340 ]: Starting Passenger core...
[ N 2023-01-07 22:01:56.0222 2797032/T1 age/Cor/CoreMain.cpp:256 ]: Passenger core running in multi-application mode.
[ N 2023-01-07 22:01:56.0877 2797032/T1 age/Cor/CoreMain.cpp:1015 ]: Passenger core online, PID 2797032
[Sat Jan 07 22:01:56.088148 2023] [:notice] [pid 2797025] ModSecurity for Apache/2.9.6 (http://www.modsecurity.org/) configured.
[Sat Jan 07 22:01:56.088160 2023] [:notice] [pid 2797025] ModSecurity: APR compiled version="1.7.0"; loaded version="1.7.0"
[Sat Jan 07 22:01:56.088162 2023] [:notice] [pid 2797025] ModSecurity: PCRE compiled version="8.32 "; loaded version="8.32 2012-11-30"
[Sat Jan 07 22:01:56.088164 2023] [:notice] [pid 2797025] ModSecurity: LUA compiled version="Lua 5.1"
[Sat Jan 07 22:01:56.088165 2023] [:notice] [pid 2797025] ModSecurity: YAJL compiled version="2.0.4"
[Sat Jan 07 22:01:56.088167 2023] [:notice] [pid 2797025] ModSecurity: LIBXML compiled version="2.9.7"
[Sat Jan 07 22:01:56.088168 2023] [:notice] [pid 2797025] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.

[ N 2023-01-07 22:01:56.0898 2797032/T8 age/Cor/CoreMain.cpp:671 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ N 2023-01-07 22:01:56.0898 2797032/T1 age/Cor/CoreMain.cpp:1246 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ N 2023-01-07 22:01:56.0898 2797032/T8 Ser/Server.h:902 ]: [ServerThr.1] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0898 2797032/Ta Ser/Server.h:902 ]: [ServerThr.2] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0898 2797032/T8 Ser/Server.h:558 ]: [ServerThr.1] Shutdown finished
[ N 2023-01-07 22:01:56.0898 2797032/Ta Ser/Server.h:558 ]: [ServerThr.2] Shutdown finished
[ N 2023-01-07 22:01:56.0898 2797032/Te Ser/Server.h:902 ]: [ServerThr.4] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0898 2797032/Ti Ser/Server.h:902 ]: [ServerThr.6] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0898 2797032/Tc Ser/Server.h:902 ]: [ServerThr.3] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0898 2797032/Tg Ser/Server.h:902 ]: [ServerThr.5] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0898 2797032/Te Ser/Server.h:558 ]: [ServerThr.4] Shutdown finished
[ N 2023-01-07 22:01:56.0898 2797032/Ti Ser/Server.h:558 ]: [ServerThr.6] Shutdown finished
[ N 2023-01-07 22:01:56.0898 2797032/Tk Ser/Server.h:902 ]: [ServerThr.7] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0898 2797032/Ts Ser/Server.h:902 ]: [ServerThr.11] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0898 2797032/Tu Ser/Server.h:902 ]: [ServerThr.12] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0899 2797032/Tc Ser/Server.h:558 ]: [ServerThr.3] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/Tg Ser/Server.h:558 ]: [ServerThr.5] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/Tk Ser/Server.h:558 ]: [ServerThr.7] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/Ts Ser/Server.h:558 ]: [ServerThr.11] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/Tu Ser/Server.h:558 ]: [ServerThr.12] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/T10 Ser/Server.h:902 ]: [ServerThr.15] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0899 2797032/T10 Ser/Server.h:558 ]: [ServerThr.15] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/Tm Ser/Server.h:902 ]: [ServerThr.8] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0899 2797032/Ty Ser/Server.h:902 ]: [ServerThr.14] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0899 2797032/Tm Ser/Server.h:558 ]: [ServerThr.8] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/Ty Ser/Server.h:558 ]: [ServerThr.14] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/To Ser/Server.h:902 ]: [ServerThr.9] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0899 2797032/To Ser/Server.h:558 ]: [ServerThr.9] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/Tw Ser/Server.h:902 ]: [ServerThr.13] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0899 2797032/Tw Ser/Server.h:558 ]: [ServerThr.13] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/T12 Ser/Server.h:902 ]: [ServerThr.16] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0899 2797032/Tq Ser/Server.h:902 ]: [ServerThr.10] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0899 2797032/T14 Ser/Server.h:902 ]: [ApiServer] Freed 0 spare client objects
[ N 2023-01-07 22:01:56.0899 2797032/T12 Ser/Server.h:558 ]: [ServerThr.16] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/Tq Ser/Server.h:558 ]: [ServerThr.10] Shutdown finished
[ N 2023-01-07 22:01:56.0899 2797032/T14 Ser/Server.h:558 ]: [ApiServer] Shutdown finished
[ N 2023-01-07 22:01:56.1402 2797032/T1 age/Cor/TelemetryCollector.h:531 ]: Message from Phusion: End time can not be before or equal to begin time
[ N 2023-01-07 22:01:56.3119 2797032/T1 age/Cor/CoreMain.cpp:1325 ]: Passenger core shutdown finished
[ N 2023-01-07 22:01:56.3256 2797086/T1 age/Wat/WatchdogMain.cpp:1377 ]: Starting Passenger watchdog...
[ N 2023-01-07 22:01:56.3343 2797093/T1 age/Cor/CoreMain.cpp:1340 ]: Starting Passenger core...
[ N 2023-01-07 22:01:56.3344 2797093/T1 age/Cor/CoreMain.cpp:256 ]: Passenger core running in multi-application mode.
[ N 2023-01-07 22:01:56.3950 2797093/T1 age/Cor/CoreMain.cpp:1015 ]: Passenger core online, PID 2797093
[Sat Jan 07 22:01:56.398434 2023] [mpm_prefork:notice] [pid 2797080] AH00163: Apache/2.4.54 (cPanel) OpenSSL/1.1.1s mod_bwlimited/1.4 Phusion_Passenger/6.0.15 configured -- resuming normal operations
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,597
2,617
363
cPanel Access Level
Root Administrator
Hey there! The output you posted here shows the system took about one minute to fully restart. Are you trying to find the reason for the restarts, or wondering why it takes so long to restart?

If there are a large number of cPanel accounts, it can take Apache a bit of time to load the configuration, but we need more details from the server about what else is happening in order to get you some better answers. For this issue, it might be best to create a ticket with our team so we can take a look at the system directly.