--- Stas Bekman <[EMAIL PROTECTED]> wrote:
> Scot Martin wrote:
> > Apache 2.0.52 mod_perl 1.99_16 Perl 5.8.5
> > OpenSSL 0.9.7d Solaris 8
> >
> >
> > The problem I'm having is that my largest request
> is
> > 349024 bytes and whe
Hi Mark,
I don't know if this will help, but out of the
numerous ways I tried this is the only way I could
solve the zombie issue in MP2 on Solaris 8:
use POSIX 'WNOHANG';
use POSIX ":sys_wait_h";
my($kid);
do {
$kid=waitpid(-1,WNOHANG);
} until $kid <= 0;
if(!(defined ($pid = fork(
{
Apache 2.0.52 mod_perl 1.99_16 Perl 5.8.5
OpenSSL 0.9.7d Solaris 8
Greetings!
I am building a load test environment that simulates
responses from a large database, with all I/O in an
XML payload. Most of the requests and responses are
no more than a few hundred bytes, but then there are
Sorry about the last post. This one is definately
plain text.
The good news is that I've distilled the problem down
to a one line change in my httpd.conf file.
With the following line, Apache drops a core when
spawn_proc_prog() is called:
PerlTransHandler Apache::OK
The above line causes
Stas Bekman wrote:
>> When spawn_proc_prog() is called I get a segfault in strrchr when
>> modperl_spawn_proc_prog calls ap_make_dirstr_parent, which then
calls
>> strrchr. Unfortunately, my Perl 5.8 and Apache are not compiled with
>> debugging on so I'm recompiling all now. More later
>
27;t work for me. I realize that I didn't try the waitpid() example after the fork.Stas Bekman <[EMAIL PROTECTED]> wrote:
Scot Martin wrote:> mp1.99.10-dev Apache 2.0.47 Solaris 8> > I'm building a single-purpose, high-performance, multi-threaded application> server using th
mp1.99.10-devApache 2.0.47Solaris 8I'm building a single-purpose, high-performance, multi-threaded application server using the above and have run into problems with forking and cleanup of old httpd instances. Yes, I have to fork and exec as I have to call some legacy C code and then set up comms