- IMSCP: 1.4.3
- Distribution: Debian 8.6
- Proftpd
- PHP FCGID
- MariaDB 10.0
- Courier
- Roundcube
- Pydio
- Plugins:
PanelRedirect 1.1.5, PMA Captcha 1.1.1, RoundCubePlugins 2.0.1, SpamAssassin 1.1.1 , LetsEncrypt 3.0.0
a few days ago I have already reported about apache and nginx timeout issues, after the update (1.3.16 > 1.4.3) nothing has changed.
these are local timeouts that only affect apache, nginx and the monit server.
So I need to use monit for restarts:
if failed host localhost port 80 protocol http then exec "/usr/sbin/apachectl graceful"
I also run curl response tests via cron (1min) from my local system, sometimes it works for many hours but usually there are interruptions.
Following response outputs were generated while monit restart were deactivated:
Lookup time: 0,012
Connect time: 0,025
PreXfer time: 0,199
StartXfer time: 0,216
Total time: 0,216
Lookup time: 0,012
Connect time: 1,021
PreXfer time: 1,214
StartXfer time: 1,261
Total time: 1,261
Lookup time: 0,012
Connect time: 64,387
PreXfer time: 64,559
StartXfer time: 64,576
Total time: 64,576
Lookup time: 0,014
Connect time: 64,857
PreXfer time: 65,024
StartXfer time: 65,042
Total time: 65,042
Lookup time: 0,012
Connect time: 15,454
PreXfer time: 15,632
StartXfer time: 15,649
Total time: 15,649
- monit[18344]: 'apache2' failed protocol test [HTTP] at INET[localhost:80] via TCP -- HTTP: Error receiving data
- Sun May 07 11:34:49.006270 2017] [suexec:notice] [pid 21049:tid 140091504371584] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
- [Sun May 7 11:34:49 2017] [notice] vlogger: caught TERM, shutting down
- [Sun May 7 11:34:49 2017] [notice] vlogger: DBI usage tracker dump interval set to 30 seconds
- [Sun May 7 11:34:49 2017] [notice] vlogger: started CustomLog Handler -- resuming normal operations
- [Sun May 07 11:34:50.013632 2017] [mpm_event:notice] [pid 21052:tid 140091504371584] AH00489: Apache/2.4.10 (Debian) OpenSSL/1.0.1t mod_fcgid/2.3.9 configured -- resuming normal operations
- [Sun May 07 11:34:50.013677 2017] [core:notice] [pid 21052:tid 140091504371584] AH00094: Command line: '/usr/sbin/apache2'
- [Sun May 07 11:40:59.785147 2017] [mpm_event:notice] [pid 21052:tid 140091504371584] AH00493: SIGUSR1 received. Doing graceful restart
- [Sun May 7 11:40:59 2017] [notice] vlogger: caught TERM, shutting down
- [Sun May 7 11:41:00 2017] [notice] vlogger: DBI usage tracker dump interval set to 30 seconds
- [Sun May 7 11:41:00 2017] [notice] vlogger: started CustomLog Handler -- resuming normal operations
- [Sun May 07 11:41:01.009412 2017] [mpm_event:notice] [pid 21052:tid 140091504371584] AH00489: Apache/2.4.10 (Debian) OpenSSL/1.0.1t mod_fcgid/2.3.9 configured -- resuming normal operations
- [Sun May 07 11:41:01.009427 2017] [core:notice] [pid 21052:tid 140091504371584] AH00094: Command line: '/usr/sbin/apache2'
- [Sun May 07 11:41:01.009441 2017] [mpm_event:warn] [pid 21052:tid 140091504371584] AH00488: long lost child came home! (pid 21055)
during a timeout apache, nginx and monit server could also re-activated by service imscp_panel restart ....