Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
RE: Windows settings cause crash (originally: FAIL!!!)
 

Index | Next | Previous | View Flat


gregaug at hotmail

Oct 13, 2008, 7:48 AM


Views: 433
Permalink
RE: Windows settings cause crash (originally: FAIL!!!)

Also, the ThreadsPerChild is 250 and MaxRequestsPerChild 50000> From: gregaug[at]hotmail.com> To: modperl[at]perl.apache.org> Subject: FAIL!!!> Date: Mon, 13 Oct 2008 07:47:35 -0500> > > hello,> > I'm trying to get mod_perl running under Windows. I used the latest perl from ActiveState (5.8.8.824), Apache 2.2.9 from apache.org, and mod_perl 2.0.4, installed from ppm. When I ran a simple perl script and had 20 simulated users hitting the page, it eventually said 'Out of memory!' and restarted with a status of 0. The second time it happened, it tried to restart, but couldn't. Does anyone know if these versions actually work together? If they do, any thoughts on what could be wrong?> > code:> > use strict;> > > my $err = 'eh';> > my $body;> > my $errstr = int(rand(2));> > print 'Content-type: text/html','\n\n',$err,': ',$errstr,'\nSERVER_ADDR: ',($ENV{'SERVER_ADDR'} || $ENV{'COMPUTERNAME'}),'\n';> if($errstr){> $errstr =~ s/\://g; > $errstr =~ s/\n/ /g; > $body = 'Error Text: ',$errstr,'\n'; > }> print '\n';> print scalar(localtime());> if($body){ $body =~ s/\n//g; }> print $body;> > > Apache error.log> > Out of memory!> [Fri Oct 10 14:25:34 2008] [notice] Parent: child process exited with status 0 -- Restarting.> [Fri Oct 10 14:25:34 2008] [notice] Apache/2.2.9 (Win32) mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations> [Fri Oct 10 14:25:34 2008] [notice] Server built: Jun 13 2008 04:04:59> [Fri Oct 10 14:25:34 2008] [notice] Parent: Created child process 1712> [Fri Oct 10 14:25:34 2008] [debug] mpm_winnt.c(487): Parent: Sent the scoreboard to the child> [Fri Oct 10 14:25:34 2008] [notice] Disabled use of AcceptEx() WinSock2 API> [Fri Oct 10 14:25:34 2008] [notice] Child 1712: Child process is running> [Fri Oct 10 14:25:34 2008] [info] Parent: Duplicating socket 244 and sending it to child process 1712> [Fri Oct 10 14:25:34 2008] [debug] mpm_winnt.c(408): Child 1712: Retrieved our scoreboard from the parent.> [Fri Oct 10 14:25:34 2008] [debug] mpm_winnt.c(605): Parent: Sent 1 listeners to child 1712> [Fri Oct 10 14:25:34 2008] [debug] mpm_winnt.c(564): Child 1712: retrieved 1 listeners from parent> [Fri Oct 10 14:25:34 2008] [notice] Child 1712: Acquired the start mutex.> [Fri Oct 10 14:25:34 2008] [notice] Child 1712: Starting 250 worker threads.> [Fri Oct 10 14:25:34 2008] [notice] Child 1712: Listening on port 80.> Out of memory!> [Fri Oct 10 15:07:14 2008] [notice] Parent: child process exited with status 0 -- Restarting.> > _________________________________________________________________> See how Windows connects the people, information, and fun that are part of your life.> http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

Subject User Time
RE: Windows settings cause crash (originally: FAIL!!!) gregaug at hotmail Oct 13, 2008, 7:48 AM
    Re: Windows settings cause crash (originally: FAIL!!!) jhfoo-ml at extracktor Oct 13, 2008, 8:52 PM
        Re: Windows settings cause crash (originally: FAIL!!!) wrowe at rowe-clan Oct 13, 2008, 10:35 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.