getting 503 error time to time

71 views
Skip to first unread message

Earl Cannons

unread,
Apr 20, 2016, 2:13:01 AM4/20/16
to openlitespee...@googlegroups.com
In my stderr.log flooding this message:

warning: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found

warning
: core file may not match specified executable file.
422     sslconnection.cpp: No such file or directory.
sh
: mailx: command not found
/tmp/lshttpd/core*: No such file or directory.
/usr/local/lsws//admin/misc/gdb-bt:1: Error in sourced command file:
No stack.
sh
: mailx: command not found
mv
: cannot stat ‘/tmp/lshttpd/core*’: No such file or directory


error.log

[root@host logs]# tail -n 40 error.log
2016-04-20 12:00:20.000 [NOTICE] [Child: 21498] Setup swapping space...
2016-04-20 12:00:20.000 [NOTICE] [Child: 21498] LiteSpeed/1.4.16 Open starts successfully!
2016-04-20 12:00:59.737 [NOTICE] [AutoRestarter] child process with pid=20493 received signal=11, a core file is created!
2016-04-20 12:00:59.952 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 20493 !
2016-04-20 12:01:00.000 [NOTICE] [AutoRestarter] new child process with pid=21536 is forked!
2016-04-20 12:01:00.000 [NOTICE] [child: 21536] Successfully change current user to nobody
2016-04-20 12:01:00.000 [NOTICE] Child: 21536] Core dump is enabled.
2016-04-20 12:01:00.000 [NOTICE] [Child: 21536] Setup swapping space...
2016-04-20 12:01:00.000 [NOTICE] [Child: 21536] LiteSpeed/1.4.16 Open starts successfully!
2016-04-20 12:01:14.759 [NOTICE] [AutoRestarter] child process with pid=21498 received signal=11, a core file is created!
2016-04-20 12:01:14.961 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 21498 !
2016-04-20 12:01:15.000 [NOTICE] [AutoRestarter] new child process with pid=21576 is forked!
2016-04-20 12:01:15.000 [INFO] Stop listener *:7080.
2016-04-20 12:01:15.000 [NOTICE] [child: 21576] Successfully change current user to nobody
2016-04-20 12:01:15.000 [NOTICE] Child: 21576] Core dump is enabled.
2016-04-20 12:01:15.000 [NOTICE] [Child: 21576] Setup swapping space...
2016-04-20 12:01:15.000 [NOTICE] [Child: 21576] LiteSpeed/1.4.16 Open starts successfully!
2016-04-20 12:01:20.753 [NOTICE] [AutoRestarter] child process with pid=21576 received signal=11, a core file is created!
2016-04-20 12:01:21.008 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 21576 !
2016-04-20 12:01:21.109 [NOTICE] [AutoRestarter] new child process with pid=21595 is forked!
2016-04-20 12:01:21.109 [INFO] Stop listener *:7080.
2016-04-20 12:01:21.109 [NOTICE] [child: 21595] Successfully change current user to nobody
2016-04-20 12:01:21.109 [NOTICE] Child: 21595] Core dump is enabled.
2016-04-20 12:01:21.109 [NOTICE] [Child: 21595] Setup swapping space...
2016-04-20 12:01:21.109 [NOTICE] [Child: 21595] LiteSpeed/1.4.16 Open starts successfully!
2016-04-20 12:01:22.669 [NOTICE] [AutoRestarter] child process with pid=21536 received signal=11, a core file is created!
2016-04-20 12:01:22.861 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 21536 !
2016-04-20 12:01:22.962 [NOTICE] [AutoRestarter] child process with pid=21595 received signal=11, a core file is created!
2016-04-20 12:01:23.042 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 21595 !
2016-04-20 12:01:23.142 [NOTICE] [AutoRestarter] new child process with pid=21622 is forked!
2016-04-20 12:01:23.143 [NOTICE] [AutoRestarter] new child process with pid=21623 is forked!
2016-04-20 12:01:23.143 [NOTICE] [child: 21622] Successfully change current user to nobody
2016-04-20 12:01:23.143 [INFO] Stop listener *:7080.
2016-04-20 12:01:23.143 [NOTICE] Child: 21622] Core dump is enabled.
2016-04-20 12:01:23.143 [NOTICE] [Child: 21622] Setup swapping space...
2016-04-20 12:01:23.143 [NOTICE] [child: 21623] Successfully change current user to nobody
2016-04-20 12:01:23.143 [NOTICE] Child: 21623] Core dump is enabled.
2016-04-20 12:01:23.143 [NOTICE] [Child: 21623] Setup swapping space...
2016-04-20 12:01:23.143 [NOTICE] [Child: 21623] LiteSpeed/1.4.16 Open starts successfully!
2016-04-20 12:01:23.143 [NOTICE] [Child: 21622] LiteSpeed/1.4.16 Open starts successfully!


Does anybody know what's going on?

Kevin Fwu

unread,
Apr 21, 2016, 8:43:21 AM4/21/16
to OpenLiteSpeed Development
Hi Earl,

Could you enable debug logging and try to start up again? It looks like there was an unhandled error case while trying to start the children processes.

Cheers,
Kevin
...

Earl Cannons

unread,
Apr 21, 2016, 4:06:22 PM4/21/16
to OpenLiteSpeed Development
Hello Kevin,
Thanks for the response
server is not restarting automatically now so I can't reproduce the error now
I tried enabling debug logging, but no errors were logged in error.log

but in my stderr.log there were some errors time to time.
26322: packetLen < 0
25428: packetLen < 0
27030: packetLen < 0
26848: packetLen < 0
29168: packetLen < 0
29820: packetLen < 0
4962: packetLen < 0
4785: packetLen < 0
5263: packetLen < 0
5311: packetLen < 0
5261: packetLen < 0
5372: packetLen < 0
5917: packetLen < 0
6295: packetLen < 0
7431: packetLen < 0
7580: packetLen < 0
7498: packetLen < 0
7666: packetLen < 0
8010: packetLen < 0
9752: packetLen < 0
11033: packetLen < 0
11167: packetLen < 0


I can't get time information on my stderr.log. its only displaying the error. i can see many people have posted stderr.log with time and date stamp. how to enable time?
...

Kevin Fwu

unread,
Apr 21, 2016, 4:30:06 PM4/21/16
to OpenLiteSpeed Development
Hi Earl,

I am not sure about the timestamp ( I believe it is available for Enterprise, might not be for OLS), but if it is not there, it can be added.

That said, we're mostly interested in the error.log.

If you got a core file, could you send it to us? support at litespeedtech dot com. Include a link to this thread and what your system looks like, so we can try to reproduce the error.

Cheers,
Kevin

Earl Cannons

unread,
Apr 22, 2016, 2:33:38 AM4/22/16
to openlitespee...@googlegroups.com
Kevin,
I've sent /tmp/lshttpd/bak_core/ directory as a tar attached email.
Please let me know if you need more information about the system
Thanks for your concern, I really appreciate it
...

Kevin Fwu

unread,
Apr 22, 2016, 9:12:15 AM4/22/16
to OpenLiteSpeed Development
Hi Earl,

What OS version are you using?

Cheers,
Kevin
...

Earl Cannons

unread,
Apr 23, 2016, 4:44:10 AM4/23/16
to OpenLiteSpeed Development
CentOS Linux release 7.2.1511 (Core)
...

Kevin Fwu

unread,
Apr 25, 2016, 9:03:21 AM4/25/16
to OpenLiteSpeed Development
Hi Earl,

We tried testing the core files you provided in our Centos 7 Lab, but the binary doesn't match your core file.

Are you familiar with the command line?

Could you install OLS from source, link here

When configuring, add the option --enable-debug.

After compiling and installing the debug build, gdb the core files and send us the backtrace please.

Cheers,
Kevin
...
Reply all
Reply to author
Forward
0 new messages