Re: Process exiting prematurely

2003-09-03 Thread Stas Bekman
Flowers, Jay wrote:
I am running Windows XP, Apache 2.0.46, mod_perl 1.99, and Perl 5.8.
Every request to my Perl script causes the Apache child process to exit.
I have not been able to identify the issue.  Below I have listed my
config file (the number of threads per child is limited to ten for
brevity of the log file) and the error log (this includes startup of the
server and one request).
Jay, I can't see from your error_log what problem you are talking about. 
Apache always starts and immediately restarts, so what you see is normal.

What shows up in the error_log when you issue a request to a registry script? 
I suppose nothing? There is no segfault, no nothing? What's the exact error 
message that you get from the system? (I suppose it does that via a pop up 
window, right?)

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


RE: Process exiting prematurely

2003-09-03 Thread Flowers, Jay

 Jay, I can't see from your error_log what problem you are talking
about. 
 Apache always starts and immediately restarts, so what you see is
normal.

It does not work this way on my Windows 2000 server machines.  After
every request it restarts the Apache Child Process, even though the
config file has MaxRequestsPerChild set to 0.

 What shows up in the error_log when you issue a request to a registry
 script? 

Just what I showed, the log would just be a repetition of the restart
for each request.

 I suppose nothing? There is no segfault, no nothing? What's the exact 
 error message that you get from the system? (I suppose it does that
via a 
 pop up window, right?)

That is the bugger of it, there is no error, it's a behavior that I
noticed.  Every request is slow because it needs to restart the Apache
Child process.  It feels much slower than CGI on IIS.




--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



RE: Process exiting prematurely

2003-09-03 Thread Roger Davenport




Possibly change the MaxRequestsPerChild to 100 and see if it still restarts?

Roger

On Wed, 2003-09-03 at 13:17, Flowers, Jay wrote:

 Jay, I can't see from your error_log what problem you are talking
about. 
 Apache always starts and immediately restarts, so what you see is
normal.

It does not work this way on my Windows 2000 server machines.  After
every request it restarts the Apache Child Process, even though the
config file has MaxRequestsPerChild set to 0.

 What shows up in the error_log when you issue a request to a registry
 script? 

Just what I showed, the log would just be a repetition of the restart
for each request.

 I suppose nothing? There is no segfault, no nothing? What's the exact 
 error message that you get from the system? (I suppose it does that
via a 
 pop up window, right?)

That is the bugger of it, there is no error, it's a behavior that I
noticed.  Every request is slow because it needs to restart the Apache
Child process.  It feels much slower than CGI on IIS.








RE: Process exiting prematurely

2003-09-03 Thread Flowers, Jay








 Possibly change the MaxRequestsPerChild
to 100 and see if it still restarts?

 Roger



no joy.



Thanks





Jay Flowers

Systems Engineer

Integic Corp.










Re: Process exiting prematurely

2003-09-03 Thread Stas Bekman
Flowers, Jay wrote:

That is the bugger of it, there is no error, it's a behavior that I
noticed.  Every request is slow because it needs to restart the Apache
Child process.  It feels much slower than CGI on IIS.
Do you get this behavior with some particular script or just any kind? Does 
the same script work fine as mod_cgi?

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


RE: Process exiting prematurely

2003-09-03 Thread Flowers, Jay
Title: Re: Process exiting prematurely





Do you get this behavior with some particular script or 
just any kind? Doesthe same script work fine as mod_cgi?All scripts, 
work the same. They work fine under 
mod_cgi.




Re: Process exiting prematurely

2003-09-03 Thread Stas Bekman
Flowers, Jay wrote:
Do you get this behavior with some particular script or just any kind? Does
the same script work fine as mod_cgi?
All scripts, work the same.  They work fine under mod_cgi.
Do normal handlers behave the same way? i.e. if you don't use registry but a 
complete handler:
http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Handler_Modules

If the problem persists, make sure to submit a complete problem report here 
and may be someone on Windows XP will be able to help you. For more info see:
http://perl.apache.org/bugs/

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Process exiting prematurely

2003-09-03 Thread Randy Kobes
On Wed, 3 Sep 2003, Stas Bekman wrote:

 Flowers, Jay wrote:
 
  Do you get this behavior with some particular script or
  just any kind? Does the same script work fine as
  mod_cgi?
 
  All scripts, work the same.  They work fine under mod_cgi.

 Do normal handlers behave the same way? i.e. if you don't
 use registry but a complete handler:
 http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Handler_Modules

 If the problem persists, make sure to submit a complete
 problem report here and may be someone on Windows XP will
 be able to help you. For more info see:
 http://perl.apache.org/bugs/

Seeing if normal handlers work would be a very good check.
And giving the information described at
http://perl.apache.org/bugs/ would also help.
I might also suggest checking that the mod_perl version
you have corresponds to the Apache version it was compiled
against (if you used the most recent ppm, this would be
against Apache 2.0.47) - if in doubt, try resinstalling
it, and make sure the mod_perl.so is copied to your
Apache2 modules/ directory. You might also try putting in
a directive
   LoadFile /Path/to/Perl/bin/perl58.dll
before loading mod_perl.so.

-- 
best regards,
randy kobes


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html