openlitespeed
openlitespeed copied to clipboard
openlitespeed crash [arm]
this happen only on arm and when using reverse proxy
2022-08-13 12:22:54.432532 [NOTICE] [3416291] [AutoRestarter] child process with pid=3416527 received signal=11, a core file is created! 2022-08-13 12:22:54.432610 [NOTICE] [3416291] [] will create core file. 2022-08-13 12:22:54.812124 [NOTICE] [3416291] [AutoRestarter] cleanup children processes and unix sockets belong to process 3416527 ! 2022-08-13 12:22:54.912639 [NOTICE] [3416291] [AutoRestarter] new child process with pid=3416615 is forked! 2022-08-13 12:22:54.913182 [INFO] [3416615] Close SO_REUSEPORT #2 fd: 9. 2022-08-13 12:22:54.913316 [INFO] [3416615] Close SO_REUSEPORT #3 fd: 10. 2022-08-13 12:22:54.913323 [NOTICE] [3416615] [:80] Worker #1 activates SO_REUSEPORT #1 socket, fd: 8 2022-08-13 12:22:54.913367 [INFO] [3416615] [UDP:0.0.0.0:7080] initPacketsIn: allocated 100 packets 2022-08-13 12:22:54.913733 [NOTICE] [3416615] AIO is not supported on this machine! 2022-08-13 12:22:54.913937 [NOTICE] [3416615] Successfully change current user to nobody 2022-08-13 12:22:54.913944 [NOTICE] [3416615] Core dump is enabled. 2022-08-13 12:22:54.914010 [INFO] [3416615] [lsphp]: locked pid file [/tmp/lshttpd/lsphp.sock.pid]. 2022-08-13 12:22:54.914026 [INFO] [3416615] [lsphp] remove unix socket for detached process: /tmp/lshttpd/lsphp.sock 2022-08-13 12:22:54.914116 [NOTICE] [3416615] [LocalWorker::workerExec] Config[lsphp]: suExec uid 65534 gid 65534 cmd /webserver/fcgi-bin/lsphp, final uid 65534 gid 65534, flags: 0. 2022-08-13 12:22:54.914950 [NOTICE] [3416615] [lsphp] add child process pid: 3416616 2022-08-13 12:22:54.915048 [INFO] [3416615] [lsphp]: unlocked pid file [/tmp/lshttpd/lsphp.sock.pid]. 2022-08-13 12:22:54.915069 [NOTICE] [3416615] Setup swapping space... 2022-08-13 12:22:54.915157 [NOTICE] [3416615] LiteSpeed/1.7.16 Open starts successfully! 2022-08-13 12:22:55.228144 [NOTICE] [3416291] [AutoRestarter] child process with pid=3416615 received signal=11, a core file is created! 2022-08-13 12:22:55.228207 [NOTICE] [3416291] [] will create core file. 2022-08-13 12:22:55.553572 [NOTICE] [3416291] [AutoRestarter] cleanup children processes and unix sockets belong to process 3416615 ! 2022-08-13 12:22:55.654076 [NOTICE] [3416291] [AutoRestarter] new child process with pid=3416629 is forked! 2022-08-13 12:22:55.654530 [INFO] [3416629] Close SO_REUSEPORT #2 fd: 9. 2022-08-13 12:22:55.654580 [INFO] [3416629] Close SO_REUSEPORT #3 fd: 10. 2022-08-13 12:22:55.654587 [NOTICE] [3416629] [:80] Worker #1 activates SO_REUSEPORT #1 socket, fd: 8 2022-08-13 12:22:55.654633 [INFO] [3416629] [UDP:0.0.0.0:7080] initPacketsIn: allocated 100 packets 2022-08-13 12:22:55.654888 [NOTICE] [3416629] AIO is not supported on this machine! 2022-08-13 12:22:55.654930 [NOTICE] [3416629] Successfully change current user to nobody 2022-08-13 12:22:55.654936 [NOTICE] [3416629] Core dump is enabled. 2022-08-13 12:22:55.654977 [NOTICE] [3416629] Setup swapping space... 2022-08-13 12:22:55.655045 [NOTICE] [3416629] LiteSpeed/1.7.16 Open starts successfully!
its happen every time I serve large file from reverse proxy and getting a "413 Request Entity Too Large" from openlitespeed and then the crash happen
it says core dumped but I checked and no core file created so I don't know exactly how to identify the issue
its also happen outside proxy, basically every time response exceed the Max Dynamic Response Body Size and we get code 413 the server crash edit: the crash not happen on version 1.7.14, might be affecting non arm build too, didn't tested
How did you compile it for arm ?
How did you compile it for arm ?
Build ols and php from source than syslink lsphp bin to ols bin folder path and to the admin bin folder path
The core files should be located in /tmp/lshttpd/bak_core. Please make sure /tmp partition is large enough.
You can change core file location with /proc/sys/kernel/core_pattern . Some system uses systemd to manage core file, you can check coredumpctl command.
The core files should be located in
/tmp/lshttpd/bak_core. Please make sure /tmp partition is large enough. You can change core file location with/proc/sys/kernel/core_pattern. Some system uses systemd to manage core file, you can checkcoredumpctlcommand.
the problem is that I see the folder get created everytime the server crash but no core file is created, maybe issue with it begin ARM machine? anyway I am using openlitespeed 1.7.14 where this not crashing for now
I do have enough space and I don't have coredumpctl on the system