Unexpected error inside event loop

#1
Greetings to all. I have a problem. This error does not give me peace.
Unexpected error inside event loop: No child processes
system: Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
lsws: 4.2.16
how to solve it?

sorry for my english
 
#3
Code:
$ cd /lsws/logs
$ grep -ri '\[ERROR\]' .|grep -v 'ModSecurity'
./error.log.2014_09_29:2014-09-27 23:42:09.004 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_29:2014-09-28 00:27:29.004 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_02:2014-08-26 05:10:20.004 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_30:2014-09-30 09:21:08.004 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_30:2014-09-30 09:34:18.004 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_27:2014-09-19 01:12:31.004 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_27:2014-09-19 03:34:41.004 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_27:2014-09-20 08:36:11.004 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_27:2014-09-20 22:25:01.005 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_27:2014-09-21 14:00:41.004 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_27:2014-09-21 14:32:51.004 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_27:2014-09-22 20:50:01.005 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_11:2014-09-02 12:48:19.005 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_11:2014-09-03 20:14:29.006 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_19:2014-09-12 19:31:11.004 [ERROR] Unexpected error inside event loop: No child processes
./error.log.2014_09_12:2014-09-12 13:08:10.004 [ERROR] Unexpected error inside event loop: No child processes
 

mistwang

LiteSpeed Staff
#4
It looks like epoll_wait() return error code ECHILD, not sure what happened, but it should not cause any trouble, that error is logged and ignored by server. It should not cause any real problem.
 
Last edited:
#5
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux

Code:
$ gdb /lsws/fcgi-bin/lsphp-5.4.32 core.lsphp54.57416
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /lsws/fcgi-bin/lsphp-5.4.32...done.

warning: core file may not match specified executable file.
[New LWP 57416]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `lsphp54:rmCash/shopedme'.
Program terminated with signal 7, Bus error.
#0  lex_scan (zendlval=zendlval@entry=0x7fffaf640178) at Zend/zend_language_scanner.c:2265
2265            switch (yych) {
(gdb) bt
#0  lex_scan (zendlval=zendlval@entry=0x7fffaf640178) at Zend/zend_language_scanner.c:2265
#1  0x00000000007e4820 in zendlex (zendlval=zendlval@entry=0x7fffaf640170) at /lsws/phpbuild/php-5.4.32/Zend/zend_compile.c:6545
#2  0x00000000007bf11a in zendparse () at /lsws/phpbuild/php-5.4.32/Zend/zend_language_parser.c:3471
#3  0x00000000007c4462 in compile_file (file_handle=<optimized out>, type=2) at Zend/zend_language_scanner.l:585
#4  0x000000000064e6ba in phar_compile_file (file_handle=0x7fffaf6426e0, type=2) at /lsws/phpbuild/php-5.4.32/ext/phar/phar.c:3411
#5  0x00000000007c45ed in compile_filename (type=type@entry=2, filename=0x7fdfb93c5ee8) at Zend/zend_language_scanner.l:628
#6  0x000000000083b616 in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x7fdfb93c5c78) at /lsws/phpbuild/php-5.4.32/Zend/zend_vm_execute.h:7039
#7  0x000000000085750c in execute (op_array=0x7fdfb5607ec0) at /lsws/phpbuild/php-5.4.32/Zend/zend_vm_execute.h:410
#8  0x00000000007f9f90 in zend_execute_scripts (type=type@entry=8, retval=retval@entry=0x0, file_count=file_count@entry=3) at /lsws/phpbuild/php-5.4.32/Zend/zend.c:1315
#9  0x000000000079bfd9 in php_execute_script (primary_file=primary_file@entry=0x7fffaf644c20) at /lsws/phpbuild/php-5.4.32/main/main.c:2502
#10 0x000000000089d363 in lsapi_execute_script (file_handle=0x7fffaf644c20) at /lsws/phpbuild/php-5.4.32/sapi/litespeed/lsapi_main.c:563
#11 lsapi_module_main (show_source=<optimized out>) at /lsws/phpbuild/php-5.4.32/sapi/litespeed/lsapi_main.c:582
#12 0x000000000089dc77 in processReq () at /lsws/phpbuild/php-5.4.32/sapi/litespeed/lsapi_main.c:639
#13 0x0000000000441a45 in main (argc=1, argv=<optimized out>) at /lsws/phpbuild/php-5.4.32/sapi/litespeed/lsapi_main.c:1069
(gdb)
 
Top