-------- Original Message -------- Subject: mod_perl-1.99_11 on HP-UX 11.22 Date: Tue, 18 Nov 2003 15:16:49 -0800 (PST) From: TJ Saunders <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]
Hello, Stas. I'm building mod_perl-1.99_11 using Apache 2.0.48 and perl 5.8.2 on HP-UX 11.22 using HP's C compiler -- everything built just fine. However, when I went to run the mod_perl test suite, quite a few of the tests failed. The error in the t/logs/error_log was the "Can't locate foo in @INC (...)" message, which unfortunately is not verbose enough to pinpoint the culprit.
Using tusc, I eventually tracked it down to open() returning EMFILE for some of the test suite's require()s. Turns out the default number of per-process open files in the shell was quite low: 60. Setting 'ulimit -n 1024' made the tests pass successfully.
If possible, could this checking/setting of this resource limit be done by TestRun.pm, similarly to what is done for the core size limit, so that it doesn't bite other developers?
Cheers, TJ
------------------------------------------------------------------- TJ <[EMAIL PROTECTED]> -------------------------------------------------------------------
--
__________________________________________________________________ Stas Bekman JAm_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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
