Litespeed restarts every 5 minutes

#1
Hello,
Recently I found that exactly every 5 minutes, Litespeed restarts.

Here is a part of lsrestart.log:
Code:
Fri Oct 29 23:26:00 2021
start, LSWS running: 1
Fri Oct 29 23:31:08 2021
start, LSWS running: 1
Fri Oct 29 23:36:15 2021
start, LSWS running: 1
Fri Oct 29 23:41:23 2021
start, LSWS running: 1
Fri Oct 29 23:46:30 2021
start, LSWS running: 1
Fri Oct 29 23:51:43 2021
start, LSWS running: 1
Fri Oct 29 23:56:50 2021
start, LSWS running: 1
I checked the error log files:
Code:
2021-10-29 23:41:23.058293 [NOTICE] [147351] [T0] [147351] Server Restart Request via Signal...
2021-10-29 23:41:23.059284 [INFO] [147351] [T0] Stop all listeners.
2021-10-29 23:41:23.059338 [INFO] [147351] [T0] Stop listener  .
2021-10-29 23:41:23.059366 [INFO] [147351] [T0] Stop listener  .
2021-10-29 23:41:23.059387 [INFO] [147351] [T0] Stop listener *:7080.
2021-10-29 23:41:23.059403 [NOTICE] [147351] [T0] Stop all children workers, nowait=0
2021-10-29 23:41:23.059534 [NOTICE] [147351] [T0] Forked [147991] for graceful restart.
2021-10-29 23:41:23.059572 [NOTICE] [147351] [T0] Start passing listener sockets through forked child [147991].
2021-10-29 23:41:23.059595 [INFO] [147991] [T0] [*:7080] Pass listener, copy fd 21 to 1012.
2021-10-29 23:41:23.059615 [INFO] [147991] [T0] [UDP], SO_REUSEPORT #1, pass listener copy fd 20 to 1011.
2021-10-29 23:41:23.059624 [INFO] [147991] [T0] [UDP], SO_REUSEPORT #2, pass listener copy fd 19 to 1010.
2021-10-29 23:41:23.059631 [INFO] [147991] [T0] [UDP], SO_REUSEPORT #3, pass listener copy fd 18 to 1009.
2021-10-29 23:41:23.059638 [INFO] [147991] [T0] [UDP], SO_REUSEPORT #4, pass listener copy fd 17 to 1008.
2021-10-29 23:41:23.059645 [INFO] [147991] [T0] [TCP], SO_REUSEPORT #1, pass listener copy fd 16 to 1007.
2021-10-29 23:41:23.059652 [INFO] [147991] [T0] [TCP], SO_REUSEPORT #2, pass listener copy fd 15 to 1006.
2021-10-29 23:41:23.059658 [INFO] [147991] [T0] [TCP], SO_REUSEPORT #3, pass listener copy fd 14 to 1005.
2021-10-29 23:41:23.059665 [INFO] [147991] [T0] [TCP], SO_REUSEPORT #4, pass listener copy fd 13 to 1004.
2021-10-29 23:41:23.059672 [INFO] [147991] [T0] [TCP], SO_REUSEPORT #1, pass listener copy fd 12 to 1003.
2021-10-29 23:41:23.059679 [INFO] [147991] [T0] [TCP], SO_REUSEPORT #2, pass listener copy fd 11 to 1002.
2021-10-29 23:41:23.059686 [INFO] [147991] [T0] [TCP], SO_REUSEPORT #3, pass listener copy fd 10 to 1001.
2021-10-29 23:41:23.059693 [INFO] [147991] [T0] [TCP], SO_REUSEPORT #4, pass listener copy fd 9 to 1000.
2021-10-29 23:41:23.059707 [NOTICE] [147991] [T0] Starting new instance: execute '/usr/local/lsws/bin/litespeed'.
I checked Syslog on those timestamps and did not find anything related to LSWS.

My server:
- Ubuntu 20 LTS without Control Panel
- LSWS v6.0.10 Native
- No Cronjobs running every 5 minutes
- No specific log rotation program

How can I investigate the issue?

Regards,
Nima
 
#5
how did you check them ? Can you convince others about this ? usually this is the reason of restart every x minutes, no exception so far.
I checked every location related to crontabs:
Code:
/etc/crontab
/etc/cron.d/CSPLiteSpeed
/etc/cron.d/CSPUpdate
/etc/cron.d/e2scrub_all
/etc/cron.d/popularity-contest
/var/spool/cron/crontabs/root
Isn't it enough?

---

Does this portion of error log make any sense to you?

Code:
2021-10-30 15:09:39.506991 [NOTICE] [217963] [T0] [217963] Cmd from child: [extappkill:218389:-3:0]
2021-10-30 15:09:39.507104 [INFO] [217963] [T0] [CLEANUP] Send signal: 15 to process: 218389
2021-10-30 15:09:39.506752 [INFO] [217969] [T0] [xx.xx.xx.xxx:34605-H3:D6425B18EF402401-0] Abort request processing by PID:218389, kill: 1, begin time: 1, sent time: 1, req processed: 0
2021-10-30 15:09:39.506791 [NOTICE] [217969] [T0] sendKillCmdToWatchdog: 'extappkill:218389:-3:0'.
2021-10-30 15:09:55.380137 [NOTICE] [217963] [T0] [217963] Server Restart Request via Signal...
 

NiteWave

Administrator
#6
clearly, you've installed a nulled lsws recently.
you failed to uninstall it completely.
the nulled one usually leave a lot of stuff/garbage here and there, even you uninstall it. they don't tell you what it's left, and don't help you to clean it after you decide not to use it any more.

this is a typical story nowadays. you're not alone.

now, please re-read my 1st reply. check that log carefully, like you check lsws logs.
 
Top