Author Topic: Long restart time  (Read 8173 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Long restart time
« on: December 22, 2017, 11:36:06 PM »
I have a problem with long restart apache time.
after service httpd restart
restart took 1.5 min

This is what I see in log:

 [Fri Dec 22 23:53:23.845043 2017] [mpm_event:notice] [pid 3334:tid 140523955419008] AH00492: caught SIGWINCH, shutting down gracefully
[Fri Dec 22 23:53:27.218636 2017] [core:warn] [pid 3334:tid 140523955419008] AH00045: child process 13757 still did not exit, sending a SIGTERM
[Fri Dec 22 23:53:27.218688 2017] [core:warn] [pid 3334:tid 140523955419008] AH00045: child process 13668 still did not exit, sending a SIGTERM
[Fri Dec 22 23:53:27.218705 2017] [core:warn] [pid 3334:tid 140523955419008] AH00045: child process 13669 still did not exit, sending a SIGTERM
[Fri Dec 22 23:53:29.220637 2017] [core:warn] [pid 3334:tid 140523955419008] AH00045: child process 13757 still did not exit, sending a SIGTERM
[Fri Dec 22 23:53:29.220689 2017] [core:warn] [pid 3334:tid 140523955419008] AH00045: child process 13668 still did not exit, sending a SIGTERM
[Fri Dec 22 23:53:29.220707 2017] [core:warn] [pid 3334:tid 140523955419008] AH00045: child process 13669 still did not exit, sending a SIGTERM
[Fri Dec 22 23:53:31.222638 2017] [core:warn] [pid 3334:tid 140523955419008] AH00045: child process 13757 still did not exit, sending a SIGTERM
[Fri Dec 22 23:53:31.222698 2017] [core:warn] [pid 3334:tid 140523955419008] AH00045: child process 13668 still did not exit, sending a SIGTERM
[Fri Dec 22 23:53:31.222711 2017] [core:warn] [pid 3334:tid 140523955419008] AH00045: child process 13669 still did not exit, sending a SIGTERM
[Fri Dec 22 23:53:33.224470 2017] [core:error] [pid 3334:tid 140523955419008] AH00046: child process 13757 still did not exit, sending a SIGKILL
[Fri Dec 22 23:53:33.224536 2017] [core:error] [pid 3334:tid 140523955419008] AH00046: child process 13669 still did not exit, sending a SIGKILL
[Fri Dec 22 23:55:04.540712 2017] [ssl:warn] [pid 15643:tid 140254855550848] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Dec 22 23:55:04.550639 2017] [mpm_event:notice] [pid 15643:tid 140254855550848] AH00489: Apache/2.4.29 (Unix) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Fri Dec 22 23:55:04.550677 2017] [core:notice] [pid 15643:tid 140254855550848] AH00094: Command line: '/usr/local/apache/bin/httpd'

what couse long restart time ?

Offline
***
Re: Long restart time
« Reply #1 on: December 23, 2017, 06:00:18 AM »
How many accounts are you hosting on the server? What's the server configuration (RAM and CPU) etc?
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

Offline
***
Re: Long restart time
« Reply #2 on: December 23, 2017, 12:18:17 PM »
about 50 accounts
6 Core (2600 MHz) Xenon E5-2670
8GB RAM

Offline
***
Re: Long restart time
« Reply #3 on: December 24, 2017, 07:27:26 PM »
most time get apachectl graceful-stop
startup apache get 1s :)