Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 88204 invoked from network); 13 Oct 2008 14:49:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Oct 2008 14:49:13 -0000 Received: (qmail 77396 invoked by uid 500); 13 Oct 2008 14:49:09 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 77379 invoked by uid 500); 13 Oct 2008 14:49:09 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 77368 invoked by uid 99); 13 Oct 2008 14:49:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 07:49:08 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gregaug@hotmail.com designates 65.55.111.84 as permitted sender) Received: from [65.55.111.84] (HELO blu0-omc2-s9.blu0.hotmail.com) (65.55.111.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 14:47:59 +0000 Received: from BLU141-W32 ([65.55.111.72]) by blu0-omc2-s9.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 13 Oct 2008 07:48:35 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_f776c3b0-55e3-428c-a88c-773a4c695eeb_" X-Originating-IP: [12.171.3.2] From: greg augustine To: "modperl@perl.apache.org" Subject: RE: Windows settings cause crash (originally: FAIL!!!) Date: Mon, 13 Oct 2008 09:48:36 -0500 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 13 Oct 2008 14:48:35.0960 (UTC) FILETIME=[C5651F80:01C92D42] X-Virus-Checked: Checked by ClamAV on apache.org --_f776c3b0-55e3-428c-a88c-773a4c695eeb_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Also=2C the ThreadsPerChild is 250 and MaxRequestsPerChild 50000> From: gr= egaug@hotmail.com> To: modperl@perl.apache.org> Subject: FAIL!!!> Date: Mon= =2C 13 Oct 2008 07:47:35 -0500> > > hello=2C> > I'm trying to get mod_perl = running under Windows. I used the latest perl from ActiveState (5.8.8.824)= =2C Apache 2.2.9 from apache.org=2C and mod_perl 2.0.4=2C installed from pp= m. When I ran a simple perl script and had 20 simulated users hitting the p= age=2C it eventually said 'Out of memory!' and restarted with a status of 0= . The second time it happened=2C it tried to restart=2C but couldn't. Does = anyone know if these versions actually work together? If they do=2C any tho= ughts on what could be wrong?> > code:> > use strict=3B> > > my $err =3D 'e= h'=3B> > my $body=3B> > my $errstr =3D int(rand(2))=3B> > print 'Content-ty= pe: text/html'=2C'\n\n'=2C$err=2C': '=2C$errstr=2C'\nSERVER_ADDR: '=2C($ENV= {'SERVER_ADDR'} || $ENV{'COMPUTERNAME'})=2C'\n'=3B> if($errstr){> $errstr = =3D~ s/\://g=3B > $errstr =3D~ s/\n/ /g=3B > $body =3D 'Error Text: '=2C$er= rstr=2C'\n'=3B > }> print '\n'=3B> print scalar(localtime())=3B> if($body){= $body =3D~ s/\n//g=3B }> print $body=3B> > > Apache error.log> > Out of me= mory!> [Fri Oct 10 14:25:34 2008] [notice] Parent: child process exited wit= h 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 operation= s> [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> [Fr= i Oct 10 14:25:34 2008] [debug] mpm_winnt.c(487): Parent: Sent the scoreboa= rd to the child> [Fri Oct 10 14:25:34 2008] [notice] Disabled use of Accept= Ex() WinSock2 API> [Fri Oct 10 14:25:34 2008] [notice] Child 1712: Child pr= ocess is running> [Fri Oct 10 14:25:34 2008] [info] Parent: Duplicating soc= ket 244 and sending it to child process 1712> [Fri Oct 10 14:25:34 2008] [d= ebug] mpm_winnt.c(408): Child 1712: Retrieved our scoreboard from the paren= t.> [Fri Oct 10 14:25:34 2008] [debug] mpm_winnt.c(605): Parent: Sent 1 lis= teners 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 1= 5:07:14 2008] [notice] Parent: child process exited with status 0 -- Restar= ting.> > _________________________________________________________________>= See how Windows connects the people=2C information=2C and fun that are par= t of your life.> http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/0= 1/ _________________________________________________________________ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5= 50F681DAD532637!5295.entry?ocid=3DTXT_TAGLM_WL_domore_092008= --_f776c3b0-55e3-428c-a88c-773a4c695eeb_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Also=2C the ThreadsPerChild is 250 and =3BMaxRequestsPerChild =3B 5= 0000

>=3B From: gregaug@hotmail.com
>=3B To: modperl@perl.apa= che.org
>=3B Subject: FAIL!!!
>=3B Date: Mon=2C 13 Oct 2008 07:47= :35 -0500
>=3B
>=3B
>=3B hello=2C
>=3B
>=3B I'm= trying to get mod_perl running under Windows. I used the latest perl from = ActiveState (5.8.8.824)=2C Apache 2.2.9 from apache.org=2C and mod_perl 2.0= .4=2C installed from ppm. When I ran a simple perl script and had 20 simula= ted users hitting the page=2C it eventually said 'Out of memory!' and resta= rted with a status of 0. The second time it happened=2C it tried to restart= =2C but couldn't. Does anyone know if these versions actually work together= ? If they do=2C any thoughts on what could be wrong?
>=3B
>=3B c= ode:
>=3B
>=3B use strict=3B
>=3B
>=3B
>=3B my = $err =3D 'eh'=3B
>=3B
>=3B my $body=3B
>=3B
>=3B my $= errstr =3D int(rand(2))=3B
>=3B
>=3B print 'Content-type: text/h= tml'=2C'\n\n'=2C$err=2C': '=2C$errstr=2C'\nSERVER_ADDR: '=2C($ENV{'SERVER_A= DDR'} || $ENV{'COMPUTERNAME'})=2C'\n'=3B
>=3B if($errstr){
>=3B $= errstr =3D~ s/\://g=3B
>=3B $errstr =3D~ s/\n/ /g=3B
>=3B $body= =3D 'Error Text: '=2C$errstr=2C'\n'=3B
>=3B }
>=3B print '\n'= =3B
>=3B print scalar(localtime())=3B
>=3B if($body){ $body =3D~ = s/\n//g=3B }
>=3B print $body=3B
>=3B
>=3B
>=3B Apach= e error.log
>=3B
>=3B Out of memory!
>=3B [Fri Oct 10 14:25= :34 2008] [notice] Parent: child process exited with status 0 -- Restarting= .
>=3B [Fri Oct 10 14:25:34 2008] [notice] Apache/2.2.9 (Win32) mod_pe= rl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
>=3B [Fr= i Oct 10 14:25:34 2008] [notice] Server built: Jun 13 2008 04:04:59
>= =3B [Fri Oct 10 14:25:34 2008] [notice] Parent: Created child process 1712<= BR>>=3B [Fri Oct 10 14:25:34 2008] [debug] mpm_winnt.c(487): Parent: Sent= the scoreboard to the child
>=3B [Fri Oct 10 14:25:34 2008] [notice] = Disabled use of AcceptEx() WinSock2 API
>=3B [Fri Oct 10 14:25:34 2008= ] [notice] Child 1712: Child process is running
>=3B [Fri Oct 10 14:25= :34 2008] [info] Parent: Duplicating socket 244 and sending it to child pro= cess 1712
>=3B [Fri Oct 10 14:25:34 2008] [debug] mpm_winnt.c(408): Ch= ild 1712: Retrieved our scoreboard from the parent.
>=3B [Fri Oct 10 1= 4:25:34 2008] [debug] mpm_winnt.c(605): Parent: Sent 1 listeners to child 1= 712
>=3B [Fri Oct 10 14:25:34 2008] [debug] mpm_winnt.c(564): Child 17= 12: retrieved 1 listeners from parent
>=3B [Fri Oct 10 14:25:34 2008] = [notice] Child 1712: Acquired the start mutex.
>=3B [Fri Oct 10 14:25:= 34 2008] [notice] Child 1712: Starting 250 worker threads.
>=3B [Fri O= ct 10 14:25:34 2008] [notice] Child 1712: Listening on port 80.
>=3B O= ut of memory!
>=3B [Fri Oct 10 15:07:14 2008] [notice] Parent: child p= rocess exited with status 0 -- Restarting.
>=3B
>=3B ___________= ______________________________________________________
>=3B See how Wi= ndows connects the people=2C information=2C and fun that are part of your l= ife.
>=3B http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/=


Get more out of the Web. Learn 10 hidden secrets of Windows= Live. Learn Now = --_f776c3b0-55e3-428c-a88c-773a4c695eeb_--