You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Alex Titov <ad...@3in1hosting.com> on 2004/03/13 17:20:09 UTC

seg fault problem at form posting in my configuration

Hi all,

My config is Linux Debian Sarge,
Embperl/2.0b10 Apache/2.0.48 (Unix) mod_perl/1.99_12 Perl/v5.8.3
but kernel 2.4.4

Some enigma at first.
Some time after starting apache I can see this picture:
server:~ # ps -ef
...
root      1641     1  1 04:24 ?        00:00:01 /usr/bin/httpd -k start
www-data  1642  1641  0 04:24 ?        00:00:01 /usr/bin/-e    -k start
www-data  1643  1641  0 04:24 ?        00:00:00 /usr/bin/httpd -k start
www-data  1644  1641  0 04:24 ?        00:00:00 /usr/bin/-e    -k start
www-data  1645  1641  0 04:24 ?        00:00:00 /usr/bin/-e    -k start
www-data  1646  1641  0 04:24 ?        00:00:00 /usr/bin/httpd -k start
www-data  1662  1641  0 04:25 ?        00:00:00 /usr/bin/httpd -k start
www-data  1667  1641  0 04:25 ?        00:00:00 /usr/bin/httpd -k start
...
server:~# pstree -a
...
  |-httpd -k start
  |   |-httpd \040\040 -k start
  |   |-httpd -k start
  |   |-httpd \040\040 -k start
  |   |-httpd \040\040 -k start
  |   |-httpd -k start
  |   |-httpd -k start
  |   `-httpd -k start
server:~#

So command line info of some apache childs is changed.
Strange for me and guess it's a wrong behavior.

I noticed that command line info gets changed after execution of any
mod_perl (not embperl) script. And embperl scripts go well.
And sometimes embperl-script POST request results in apache child
termination with seg fault (11) in error log. Netscape browser says
'document contains no data' and MS IE re-request the page again (w/o
data for form submits).
Embperl-script GET requests seems to go fine and mod_perl GET/POST
requests also seems to go fine.

So does anyone have any ideas of that command line info changing and
if it is connected to segfaults ?

I tested it at another machine with the same config and kernel 2.4.24.
There was no segfaults but /usr/bin/-e -k start lines existed.
The problem I doesn't have physical access to first machine and will
have big problem if it doesn't reboot with new kernel. So I would
appreciate if someone can suggest me the way to fix that segfaults
with the current 2.4.4 kernel.


Thank you in advance,
Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: seg fault problem at form posting in my configuration

Posted by Gerald Richter <ri...@ecos.de>.
Hi Alex,

>
> I tested it at another machine with the same config and kernel 2.4.24.
> There was no segfaults but /usr/bin/-e -k start lines existed.
> The problem I doesn't have physical access to first machine and will
> have big problem if it doesn't reboot with new kernel. So I would
> appreciate if someone can suggest me the way to fix that segfaults
> with the current 2.4.4 kernel.
>

also I see your problem with upgrading a kernel on a remote machine, I think
it's absolutly necessary to upgrade a 2.4.4 kernel. Also I cannot promise
that upgrading the kernel solves all your problems, but I can tell you that
2.4.4 is really instable and problematic.

So before doing anything else I would try to find a way to upgrade the
kernel

Gerald

---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der CeBIT (18. - 24. März 2004)
Halle 6 Stand B38-452

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org