Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. David Turner
  2. Monday, December 15, 2014
  3.  Subscribe via email
mod_lsapi
Rate this post:
  1. 15.12.2014 05:12:07
  2. # 1
David Turner Accepted Answer
Posts: 7
Joined: 15.12.2014
0
Votes
Undo
Installed and excited for this handler. Some websites work great, others I am receiving a flood of 500 errors. error_log shows a flood of the following:

Error sending request (lsphp is killed?): ReceiveLSHeader: nothing to read from backend socket
Child process with pid: xxxx was killed by signal: 11, core dump: 0
  1. 15.12.2014 08:12:49
  2. # 2
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
Most common reason for signal 11 is mix of caching engines (APC with Zend etc.) however it should act same way with mod_lsapi and without it.

I worry it will not be easy to track down signal 11, it requires some deep debugging tools like forcing core dump creation, installing php-devel* packages and debugging with \'gdb\' .
  1. 15.12.2014 13:12:59
  2. # 3
David Turner Accepted Answer
Posts: 7
Joined: 15.12.2014
0
Votes
Undo
Thank you for your quick response Bogdan!

This is with an install with xcache and Zend Guard via easyapache. Do you have a different recommendation?

Thank you!
  1. 16.12.2014 00:12:26
  2. # 4
David Turner Accepted Answer
Posts: 7
Joined: 15.12.2014
0
Votes
Undo
A little bit different one on another server:

[Mon Dec 15 21:37:06 2014] [error] [client xxx.xxx.xxx.xxx] [host http://www.somedomaincom&;#93; Error sending request(GET / HTTP/1.1); uri(/) content-length(0) (lsphp is killed?): ReceiveLSHeader: nothing to read from backend socket
  1. 16.12.2014 02:12:51
  2. # 5
David Turner Accepted Answer
Posts: 7
Joined: 15.12.2014
0
Votes
Undo
^^ That is occurring with no opcache selected:

\'./configure\' \'--disable-fileinfo\' \'--disable-posix\' \'--enable-bcmath\' \'--enable-calendar\' \'--enable-ftp\' \'--enable-gd-native-ttf\' \'--enable-libxml\' \'--enable-magic-quotes\' \'--enable-mbstring\' \'--enable-pdo=shared\' \'--enable-soap\' \'--enable-sockets\' \'--enable-ucd-snmp-hack\' \'--enable-zip\' \'--prefix=/usr/local\' \'--with-apxs2=/usr/local/apache/bin/apxs\' \'--with-curl=/opt/curlssl/\' \'--with-freetype-dir=/usr\' \'--with-gd\' \'--with-gettext\' \'--with-imap=/opt/php_with_imap_client/\' \'--with-imap-ssl=/usr\' \'--with-jpeg-dir=/usr\' \'--with-kerberos\' \'--with-libdir=lib64\' \'--with-libexpat-dir=/usr\' \'--with-libxml-dir=/opt/xml2\' \'--with-libxml-dir=/opt/xml2/\' \'--with-mcrypt=/opt/libmcrypt/\' \'--with-mysql=/usr\' \'--with-mysql-sock=/var/lib/mysql/mysql.sock\' \'--with-mysqli=/usr/bin/mysql_config\' \'--with-openssl=/usr\' \'--with-openssl-dir=/usr\' \'--with-pcre-regex=/opt/pcre\' \'--with-pdo-mysql=shared\' \'--with-pdo-sqlite=shared\' \'--with-pic\' \'--with-png-dir=/usr\' \'--with-pspell\' \'--with-snmp\' \'--with-sqlite=shared\' \'--with-tidy=/opt/tidy/\' \'--with-xmlrpc\' \'--with-xpm-dir=/usr\' \'--with-zlib\' \'--with-zlib-dir=/usr\'
  1. 16.12.2014 22:12:27
  2. # 6
David Turner Accepted Answer
Posts: 7
Joined: 15.12.2014
0
Votes
Undo
I cannot possibly be the only person encountering these errors.
  1. 24.01.2015 08:01:35
  2. # 7
david majchrzak Accepted Answer
Posts: 8
Joined: 04.04.2014
0
Votes
Undo
Did you solve this?
I\'ve seen this with opcache on PHP 5.2 with ioncube/zend encoded websites - you should turn off the opcache modules for those.
The compiling options don\'t include PECL extensions you might have enabled, so \"su - <username> and then run php -m\" please.
  1. 31.07.2017 11:07:48
  2. # 8
rahnev Accepted Answer
Posts: 10
Joined: 06.07.2016
0
Votes
Undo
The same error occurred.


[Mon Jul 31 13:16:57.865922 2017] [lsapi:error] [pid 482112:tid 140427902523136] [client XXX.XXX.XXX.XXX:55769] [host http://www.example.com] Backend error on sending request(GET /contact HTTP/1.1); uri(/contact) content-length(0) (lsphp is killed?): ReceiveAckHdr: nothing to read from backend socket, referer: http://www.example.com/index
(480239): Child process with pid: 485461 was killed by signal: 15, core dump: 0


I activated core dumps in lsphp and following appeared in apache error_log:


lsphp master: worker is killed by SEGV signal - increase PMEM limit


Set limits to unlimited and still crashing. Opcache is also disabled. Any ideas how to solve it?
  1. 31.07.2017 16:07:17
  2. # 9
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
There is no easy way to help here. The coredump should be investigated with gdb, perfectly - by our developers.

Better to create support ticket with us.
  1. 20.11.2017 14:11:16
  2. # 10
Morten Accepted Answer
Posts: 99
Joined: 16.04.2014
0
Votes
Undo
Did you find the cause of this?
On our LiteSpeed server I see in stderr.log alot of these all the time:
2017-11-20 15:47:06.058 [STDERR] (98314): Child process with pid: 113954 was killed by signal: 11, core dump: 0
lsphp master: worker is killed by SEGV signal - increase PMEM limit
2017-11-20 15:47:07.065 [STDERR] (113958): Child process with pid: 113959 was killed by signal: 11, core dump: 0
lsphp master: worker is killed by SEGV signal - increase PMEM limit
2017-11-20 15:47:11.060 [STDERR] (51769): Child process with pid: 114313 was killed by signal: 11, core dump: 0
lsphp master: worker is killed by SEGV signal - increase PMEM limit
2017-11-20 15:47:15.031 [STDERR] (51270): Child process with pid: 114391 was killed by signal: 11, core dump: 0
lsphp master: worker is killed by SEGV signal - increase PMEM limit
2017-11-20 15:47:15.033 [STDERR] (51211): Child process with pid: 114386 was killed by signal: 11, core dump: 0
lsphp master: worker is killed by SEGV signal - increase PMEM limit

How can I easily find which account PMEM limit should be increased?
I cannot seem to find any high users in LVE either.
  1. 22.11.2017 15:11:47
  2. # 11
Igor Ghertesco Accepted Answer
Posts: 138
Joined: 07.08.2015
0
Votes
Undo
Hello Morten,

If I understood you correctly, you are using LiteSpeed? The reasons could be different on LiteSpeed and Apache with mod_lsapi. It is better to submit a ticket to our support team: https://cloudlinux.zendesk.com/hc/en-us/requests/new
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Remove Upload Files (Maximum File Size: 2 MB)
You may insert polls into your post. The poll would then appear in the post.
Vote Options
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.