LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   CGI/Perl/Python (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=22)
-   -   [RESOLVED] Out of memory! + lscgid: execve(): Permission denied + etc... (http://www.litespeedtech.com/support/forum/showthread.php?t=3879)

anisawants2growup 03-15-2010 09:04 AM

[RESOLVED] Out of memory! + lscgid: execve(): Permission denied + etc...
 
It's been nearly a week that the problems appearing in the website (movable type based) do leave such lines in stderr.log

************************************************** ********
2010-03-15 03:12:01.560 Uncaught exception from user code:
Callback called exit at /home/mywebsite/public_html/cgi-bin/mt.cgi line 11.
at /home/mywebsite/public_html/cgi-bin/mt.cgi line 11
2010-03-15 03:12:01.560 BEGIN failed--compilation aborted at /home/mywebsite/public_html/cgi-bin/mt.cgi line 11.
2010-03-15 03:44:13.776 lscgid: execve(): Exec format error
2010-03-15 03:56:44.205 lscgid: execve(): Permission denied
2010-03-15 05:49:48.130 lscgid: execve(): Exec format error
2010-03-15 06:13:07.617 Out of memory!
2010-03-15 06:13:07.952 Callback called exit at /home/mywebsite/public_html/cgi-bin/mt.cgi line 11 (#1)
2010-03-15 06:13:07.952 (F) A subroutine invoked from an external package via call_sv()
exited by calling exit.
************************************************** ********

or even this (rarely):


************************************************** ********
2010-03-15 06:42:45.759 Uncaught exception from user code:
Callback called exit at /home/mywebsite/public_html/cgi-bin/mt.cgi line 11.
at /home/mywebsite/public_html/cgi-bin/mt.cgi line 11
2010-03-15 06:42:45.759 BEGIN failed--compilation aborted at /home/mywebsite/public_html/cgi-bin/mt.cgi line 11.
2010-03-15 06:51:34.080 [2010-03-15 06:51:34 -0500] warn [whmredirect] User file '/var/cpanel/users/nobody' is empty or non-existent. at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 35
Cpanel::Config::LoadCpUserFile::load('nobody') called at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 158
Cpanel::Config::LoadCpUserFile::loadcpuserfile('no body') called at /usr/local/cpanel/Cpanel/AcctUtils/Domain.pm line 16
Cpanel::AcctUtils::Domain::getdomain('nobody') called at /usr/local/cpanel/Cpanel/Redirect.pm line 63
Cpanel::Redirect::redirect('service', 'whm', 'ssl', 0) called at /usr/local/cpanel/cgi-sys/whmredirect.cgi line 11
2010-03-15 06:52:08.239 Out of memory!
2010-03-15 06:52:08.559 Callback called exit at /home/mywebsite/public_html/cgi-bin/mt.cgi line 11 (#1)
2010-03-15 06:52:08.560 (F) A subroutine invoked from an external package via call_sv()
exited by calling exit.
************************************************** *******

All i know that previously to this i attempted to change php.ini settings in order to permit bigger uploads. I read that out of memory can derive from some disproportion between php.ini settings and litespeed - in fact the memory i/o buffer was 60 while i had set the memory_limit in php.ini up to 128M. Now it is lower, it actually is 50 M but the problem continues to occur.

Any idea why this is happening? Or what other clues should i look for to understand it? Thank you in advance

mistwang 03-17-2010 10:13 PM

try increase memory soft/hard limit for CGI.

http://www.litespeedtech.com/docs/we.../#memSoftLimit

anisawants2growup 03-18-2010 02:43 AM

Re: Out of memory! + lscgid: execve(): Permission denied + etc...
 
That is exactly what I did last night. And now everything seems to be going just fine.

Thank you :)

anisawants2growup 03-23-2010 03:39 AM

Even though the problem reflected in the website ceased to exist, there are still lines like:

************************************************** *********
2010-03-22 03:25:29.003 lscgid: execve(): Exec format error
2010-03-22 03:34:58.614 lscgid: execve(): Permission denied
2010-03-22 04:23:19.948 lscgid: execve(): Exec format error
2010-03-22 05:58:43.803 lscgid: execve(): Permission denied
2010-03-22 08:28:10.074 lscgid: execve(): Exec format error
2010-03-22 12:06:35.096 lscgid: execve(): Permission denied
2010-03-23 02:27:21.562 lscgid: execve(): Permission denied
2010-03-23 03:30:55.442 lscgid: execve(): Exec format error
2010-03-23 03:42:08.560 lscgid: execve(): Permission denied
************************************************** *********
in stderr.log.

Could there be any problem with some other configurations or what?

Thank you in advance.


All times are GMT -7. The time now is 05:01 PM.