You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Hugh Williams <hu...@soco.agilent.com> on 2005/07/11 20:55:03 UTC
[mp2] make test fails under HP-UX 11.11
Hi;
My first foray into mod_perl 2.x is making my hair grayer than it
already was. Bug report below.
Thanks!
hugh
--
Hugh Williams "There are two things to aim for in life;
hugh_williams@agilent.com first, to get what you want; and after that,
Agilent Technologies to enjoy it. Only the wisest of mankind
Santa Rosa 2US-C achieve the second."
707.577.4941 - Logan Pearsall Smith, 1931
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
Make test fails:
###################
hughw on valhalla: /opt/build/mod_perl-2.0.1
$ make test
cd "src/modules/perl" && make
/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /bin/perl /opt/build/mod_perl-2.0.1/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS= \
/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /bin/perl /opt/build/mod_perl-2.0.1/t/TEST -bugreport -verbose=0
/opt/apache2/bin/httpd -d /opt/build/mod_perl-2.0.1/t -f /opt/build/mod_perl-2.0.1/t/conf/httpd.conf -D APACHE2
using Apache/2.0.54 (prefork MPM)
waiting 120 seconds for server to start: ..[Mon Jul 11 11:10:42 2005] [info]
6 Apache2:: modules loaded
[Mon Jul 11 11:10:42 2005] [info] 0 APR:: modules loaded
[Mon Jul 11 11:10:42 2005] [info] base server + 27 vhosts ready to run tests
...[Mon Jul 11 11:10:45 2005] [error] Can't locate TestFilter/in_str_consume.pm in @INC (@INC contains: /opt/build/mod_perl-2.0.1 /opt/build/mod_perl-2.0.1/t/lib /opt/build/mod_perl-2.0.1/Apache-Test/lib /opt/build/mod_perl-2.0.1/t/response /opt/build/mod_perl-2.0.1/t/protocol /opt/build/mod_perl-2.0.1/t/preconnection /opt/build/mod_perl-2.0.1/t/hooks /opt/build/mod_perl-2.0.1/t/filter /opt/build/mod_perl-2.0.1/t /opt/build/mod_perl-2.0.1/t/htdocs/testdirective/perlmodule-vh /opt/build/mod_perl-2.0.1/t/htdocs/testdirective/main /opt/build/mod_perl-2.0.1/blib/lib /opt/build/mod_perl-2.0.1/blib/arch /opt/perl-5.8.0/lib/5.8.0/PA-RISC2.0 /opt/perl-5.8.0/lib/5.8.0 /opt/perl-5.8.0/lib/site_perl/5.8.0/PA-RISC2.0 /opt/perl-5.8.0/lib/site_perl/5.8.0 /opt/perl-5.8.0/lib/site_perl /opt/socoperl/lib /opt/socoperl/lib/PA-RISC2.0) at (eval 53) line 3.\n
[Mon Jul 11 11:10:45 2005] [error] Can't load Perl module TestFilter::in_str_consume for server localhost:8529, exiting...
###################
(NOTE: mod_perl 1.x compiles, tests and is running with an Apache 1.3.33
instance on this same piece of hardware, using the identical Perl
installation.)
The above error was discussed in the mod_perl::Troubleshooting web area:
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Can_t_locate_F_TestFilter_in_str_consume_pm__in_C__INC____
The solution there dealt with having adequate capability to open large
numbers of files at the same time. I have rebuilt the kernel on my
system; the (hopefully relevant) kernel params are:
maxfiles = 60
maxfiles_lim = 2048
max_thread_proc = 256
max_uproc = 256
nfile = 29940
nflocks = 8192
ninode = 18620
(NOTE: HP-UX is different than Linuxen :-) As far as I am aware,
maxfiles is a soft limit and should not affect the final number of files
allowed to be open; the test fails similarly with the old and new kernel
params. The 'ulimit' command returns 'unlimited', and I am presuming
that the maxfiles_lim applies. Does mod_perl's test suite open over
2,000 files at once?
Any help appreciated...
hugh
2. Used Components and their Configuration:
*** mod_perl version 2.000001
*** using /opt/build/mod_perl-2.0.1/lib/Apache2/BuildConfig.pm
*** Makefile.PL options:
MP_APR_LIB => aprext
MP_AP_PREFIX => /opt/apache2
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
*** /opt/apache2/bin/httpd -V
Server version: Apache/2.0.54
Server built: Jun 29 2005 15:29:45
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/opt/apache2"
-D SUEXEC_BIN="/opt/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
*** (apr|apu)-config linking info
-L/opt/apache2/lib -laprutil-0 -ldb-4.1 -lexpat
-L/opt/apache2/lib -lapr-0 -lm -lnsl -lpthread -ldld
*** /opt/perl-5.8.0/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0
uname='hp-ux valhalla b.11.11 u 9000800 501710528 unlimited-user license '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include +z -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
optimize='+O2 +Onolimit',
cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include +z'
ccversion='B.11.11.06', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lcl -lpthread -lnsl -lnm -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec
perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under hpux
Compiled at Mar 6 2003 14:13:51
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/opt/perl-5.8.0/lib/5.8.0/PA-RISC2.0
/opt/perl-5.8.0/lib/5.8.0
/opt/perl-5.8.0/lib/site_perl/5.8.0/PA-RISC2.0
/opt/perl-5.8.0/lib/site_perl/5.8.0
/opt/perl-5.8.0/lib/site_perl
/opt/socoperl/lib
/opt/socoperl/lib/PA-RISC2.0
.
*** Packages of interest status:
Apache2 : -
Apache2::Request : -
CGI : 3.10
ExtUtils::MakeMaker: 6.03
LWP : 5.69
mod_perl : 1.29
mod_perl2 : -
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by t/REPORT on Mon Jul 11 18:08:26 2005 GMT.
-------------8<---------- End Bug Report --------------8<----------
Re: [mp2] make test fails under HP-UX 11.11
Posted by Stas Bekman <st...@stason.org>.
[Hugh, in the future please inline the bug report, including it after your
signature makes it impossible to reply to it, while quoting it]
Hugh Williams wrote:
> Hi;
>
> My first foray into mod_perl 2.x is making my hair grayer than it
> already was. Bug report below.
what's your shell's file descriptors limit? run either:
csh: limit
bash: ulimit
Thanks.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com