You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by "Richard F. Rebel" <rr...@whenu.com> on 2004/04/14 22:34:36 UTC
[MP2] After upgrade to 2.0.49 * mp 1.99_13 slots always in W state
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
Hello,
I just compiled new versions of apache and mod_perl (worker mpm) and
when I run extended status I get:
[root@bidtxt-5 opt]# /etc/init.d/httpd extendedstatus
Apache Server Status for bidtxt-5.gbx.nyc.whenu.com
Server Version: Apache/2.0.49 (Unix) mod_perl/1.99_13 Perl/v5.8.1
Server Built: Apr 13 2004 17:51:34
_________________________________________________________________
Current Time: Wednesday, 14-Apr-2004 14:48:52 EDT
Restart Time: Wednesday, 14-Apr-2004 14:43:40 EDT
Parent Server Generation: 0
Server uptime: 5 minutes 12 seconds
1280 requests currently being processed, 0 idle workers
CWWWWWWWWWWWWWWWWWWWWWWWWWWWCWWWWWWWWWWWWWWWWCWWWWWWWWWWWWWCWWWW
WWWWWCWWWWWWWWWWWWWWWWWWCWCWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWCWWWW
WWWWWWWWWCWWWWWCWWCWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWCWWWWWCWWWWWWWWWWWWWWWWWWWRWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWCWWWWWWWWWWWWWCWWWWCWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWCWWWWWWWWWWWWWWWWWWWWWWWWWWWCWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWCWWCWWWWWWWWWCWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWRWWRWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWCCWWWWWWWWWWWWWWWWWWWWWWWCWWWWWWWWWWCWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWCWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWCWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWCWWWWWWWWWWWCWWWWWWWWWWCWWWWWWCWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWCWWWWWWWWWWRWWWWWWWWWWWW
WWWWWCWWWCWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWRWWWWWWWWWWWWWWWWWWW
WCWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWCWWWWWWWWWCWWWWWWWWWWWWWWWWWWW
WWWWRWWWWWWCCWWWWWWWWWWCWWWWWWWWWWWWWWWWWWWWWWWWCWWCWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWCWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWCWWWWWWWWCWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWCWWCWWWWWWWWWWWWWWWCWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWC
................................................................
................................................................
................................................................
................................................................
This is odd behavior. The transactions all happen in sub second time
lines. Our other servers running older apache and mod_perl dont do
this. This server normally only serves mp2 generated content.
This does NOT happen when I tested with static content only.
Clues? It's quite important for me to upgrade.
2. Used Components and their Configuration:
*** mod_perl version 1.9913
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_AP_PREFIX => /opt/apache2
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_INST_APACHE2 => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /opt/apache2/bin/httpd2 -V
Server version: Apache/2.0.49
Server built: Apr 13 2004 17:51:34
Server's Module Magic Number: 20020903:7
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-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 SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-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_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd2.conf"
*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.18-23mdksmp,
archname=i386-linux-thread-multi
uname='linux hp6.mandrakesoft.com 2.4.18-23mdksmp #1 smp fri aug 2
12:31:40 cest 2002 i686 unknown unknown gnulinux '
config_args='-des -Dinc_version_list=5.8.0/i386-linux-thread-multi
5.8.0 5.6.1 5.6.0 -Darchname=i386-linux -Dcc=gcc -Doptimize=-O2
-fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -Dprefix=/usr
-Dvendorprefix=/usr -Dsiteprefix=/usr -Dman3ext=3pm -Dcf_by=MandrakeSoft
-Dmyhostname=localhost -Dperladmin=root@localhost -Dd_dosuid -Ud_csh
-Duseshrplib -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -fomit-frame-pointer -pipe -march=i586
-mcpu=pentiumpro ',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Locally applied patches:
RC4
Built under linux
Compiled at Sep 1 2003 17:29:01
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/lib/perl5/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/5.8.1
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.
*** Packages of interest status:
Apache::Request: -
CGI : 3.00
LWP : 5.69
mod_perl : 1.28, 1.9909, 1.9913
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 Wed Apr 14 20:32:13 2004 GMT.
-------------8<---------- End Bug Report --------------8<----------
Note: Complete the rest of the details and post this bug report to
dev <at> perl.apache.org. To subscribe to the list send an empty
email to dev-subscribe@perl.apache.org.
--
Richard F. Rebel
rrebel@whenu.com
t. 212.239.0000
Re: [MP2] After upgrade to 2.0.49 * mp 1.99_13 slots always in W
state
Posted by Stas Bekman <st...@stason.org>.
Thanks for the report Richard,
> Server Version: Apache/2.0.49 (Unix) mod_perl/1.99_13 Perl/v5.8.1
> Server Built: Apr 13 2004 17:51:34
[...]
> *** Packages of interest status:
>
> Apache::Request: -
> CGI : 3.00
> LWP : 5.69
> mod_perl : 1.28, 1.9909, 1.9913
How come that you have 1.99_09 installed too?
1) Nuke all mod_perl 2 versions and reinstall from scratch. Check that you
have only 1.99_13 installed.
2) If it still doesn't work, try with 2.0.48 as I suggested before.
3) If it still doesn't work, please get the bug skeleton
http://perl.apache.org/docs/2.0/user/help/help.html#Problem_Description
pack it with your config/code after minimazing it to the very minimum, while
you still see the problem and post it here.
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org