Re: mod_perl 1.99_16 tests fail on OpenBSD due to low open files limit

2004-08-26 Thread Stas Bekman
Ken Simpson wrote: FYI, I just discovered after much pain and suffering that the mod_perl test suite fails to run on OpenBSD 3.5 because it tries to open more than 64 files at once. [...] Perl can't load TestFilter/in_str_consume.pm because it can't open the file -- as evidenced in the ktrace dump:

Re: mod_perl 1.99_16 tests fail on OpenBSD due to low open files limit

2004-08-25 Thread Ken Simpson
> >But the test scripts do set non blocking mode. I wonder if perhaps > >it's not working inside Apache? > > I'm not following you, Ken, what seems to be the problem? Non blocking mode is not actually being set despite the call to opt_set(). TTUL Ken -- MailChannels: Control Your Email http://

Re: mod_perl 1.99_16 tests fail on OpenBSD due to low open files limit

2004-08-25 Thread Stas Bekman
Ken Simpson wrote: BTW -- just noticed that there's some documentation saying that the socket needs to be set to nonblocking mode to avoid this error (the "Resource temporarily unavailable" error). On certain platforms, yes, introduced by Apache 2.0.50 I believe as a fix to some security issue. B

Re: mod_perl 1.99_16 tests fail on OpenBSD due to low open files limit

2004-08-25 Thread Ken Simpson
BTW -- just noticed that there's some documentation saying that the socket needs to be set to nonblocking mode to avoid this error (the "Resource temporarily unavailable" error). But the test scripts do set non blocking mode. I wonder if perhaps it's not working inside Apache? TTUL Ken Ken Simps

mod_perl 1.99_16 tests fail on OpenBSD due to low open files limit

2004-08-25 Thread Ken Simpson
FYI, I just discovered after much pain and suffering that the mod_perl test suite fails to run on OpenBSD 3.5 because it tries to open more than 64 files at once. To duplicate, try this on your OpenBSD box: $ sudo ktrace -d /usr/local/apache2.0.50-modperl1.99_16/bin/httpd -d \ /export/src/mod_