Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

Mod-Perl Logging Errors under RedHat Linux ES 3.0

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


kent at nrlmry

Jan 27, 2004, 12:13 PM

Post #1 of 3 (788 views)
Permalink
Mod-Perl Logging Errors under RedHat Linux ES 3.0

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

The mod-perl enabled server seems to be working ok, but is generating
error messages (every minute) as reported by our system administrators:

The following errors are being reported in /var/log/messages. This problem may have caused the kernel panic and should be addressed. I copied John Ferreira in case he may have any inform on signal handling issues with RedHat Linux ES 3.0.

FYI

Jan 23 14:29:34 web1 kernel: application bug: httpd_heavy(3247) has SIGCHLD set to SIG_IGN but calls wait().
Jan 23 14:29:34 web1 kernel: (see the NOTES section of 'man 2 wait'). Workaround activated.
Jan 23 14:31:08 web1 kernel: application bug: httpd_heavy(3324) has SIGCHLD set to SIG_IGN but calls wait().
Jan 23 14:31:08 web1 kernel: (see the NOTES section of 'man 2 wait'). Workaround activated.
Jan 23 14:33:14 web1 kernel: application bug: httpd_heavy(3248) has SIGCHLD set to SIG_IGN but calls wait().
Jan 23 14:33:14 web1 kernel: (see the NOTES section of 'man 2 wait'). Workaround activated.



2. Used Components and their Configuration:

*** mod_perl version 1.9912

*** using /users/webuser/src/mod_perl-1.99_12/lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_AP_PREFIX => /users/webuser/apache_heavy
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_INST_APACHE2 => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1


*** /users/webuser/apache_heavy/bin/httpd -V
Server version: Apache/2.0.48
Server built: Dec 24 2003 14:36:15
Server's Module Magic Number: 20020903:4
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_PROC_PTHREAD_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="/users/webuser/apache_heavy"
-D SUEXEC_BIN="/users/webuser/apache_heavy/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-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"


*** /users/webuser/perl/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration:
Platform:
osname=linux, osvers=2.4.21-4.elsmp, archname=i686-linux
uname='linux europa 2.4.21-4.elsmp #1 smp fri oct 3 17:52:56 edt 2003 i686 i686 i386 gnulinux '
config_args='-Dcc=gcc -Dprefix=/users/webuser/perl'
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='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-20)', 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 -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Dec 18 2003 11:43:19
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/users/webuser/perl/lib/5.8.2/i686-linux
/users/webuser/perl/lib/5.8.2
/users/webuser/perl/lib/site_perl/5.8.2/i686-linux
/users/webuser/perl/lib/site_perl/5.8.2
/users/webuser/perl/lib/site_perl
.*** Packages of interest status:

Apache::Request: -
CGI : 3.01
LWP : 5.76
mod_perl : 1.9912


3. This is the core dump trace: (if you get a core dump):

[CORE TRACE COMES HERE]

This report was generated by ./REPORT on Tue Jan 27 19:08:48 2004 GMT.

-------------8<---------- End Bug Report --------------8<----------



--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


kent at nrlmry

Jan 27, 2004, 12:43 PM

Post #2 of 3 (723 views)
Permalink
RE: Mod-Perl Logging Errors under RedHat Linux ES 3.0 [In reply to]

Mod-Perl Developers,

After sending out my bug report. My system administrator forwarded me this:

As this version of the operating system is based on redhat 9 -- from
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/release-notes/x86/

there is a paragraph:

#

A new system message has been added to Red Hat Linux 9:

application bug: <app-name>(<app-pid>) has SIGCHLD set to SIG_IGN but calls
wait(). (see the NOTES section of 'man 2 wait'). Workaround activated.

This message (which is displayed on the system console and/or in the system
log files) indicates that the application is not completely standards
compliant with respect to its handling of child processes. If you see this
message, you should alert the application's developers. <= ***********************

You have been alerted. :)
#

Other than not logging certain log messages -- I suspect kernel.info facility
-- the kernel is going to yap about it.

Thank you,
John Kent
Webmaster
Naval Research Laboratory
Monterey, CA

> -----Original Message-----
> From: Kent, Mr. John (Contractor)
> Sent: Tuesday, January 27, 2004 11:13 AM
> To: Mod-Perl (E-mail)
> Cc: Manzano, Mr. Rhod (Pager); Ferreira, John (Contractor); Kent, Mr. John (Contractor)
> Subject: Mod-Perl Logging Errors under RedHat Linux ES 3.0
>
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
>
> The mod-perl enabled server seems to be working ok, but is generating
> error messages (every minute) as reported by our system administrators:
>
> The following errors are being reported in /var/log/messages. This problem may have caused the kernel panic and should be addressed. I copied John Ferreira in case he may have any inform on signal handling issues with RedHat Linux ES 3.0.
>
> FYI
>
> Jan 23 14:29:34 web1 kernel: application bug: httpd_heavy(3247) has SIGCHLD set to SIG_IGN but calls wait().
> Jan 23 14:29:34 web1 kernel: (see the NOTES section of 'man 2 wait'). Workaround activated.
> Jan 23 14:31:08 web1 kernel: application bug: httpd_heavy(3324) has SIGCHLD set to SIG_IGN but calls wait().
> Jan 23 14:31:08 web1 kernel: (see the NOTES section of 'man 2 wait'). Workaround activated.
> Jan 23 14:33:14 web1 kernel: application bug: httpd_heavy(3248) has SIGCHLD set to SIG_IGN but calls wait().
> Jan 23 14:33:14 web1 kernel: (see the NOTES section of 'man 2 wait'). Workaround activated.
>
>
>
> 2. Used Components and their Configuration:
>
> *** mod_perl version 1.9912
>
> *** using /users/webuser/src/mod_perl-1.99_12/lib/Apache/BuildConfig.pm
> *** Makefile.PL options:
> MP_AP_PREFIX => /users/webuser/apache_heavy
> MP_COMPAT_1X => 1
> MP_GENERATE_XS => 1
> MP_INST_APACHE2 => 1
> MP_LIBNAME => mod_perl
> MP_USE_DSO => 1
> MP_USE_STATIC => 1
>
>
> *** /users/webuser/apache_heavy/bin/httpd -V
> Server version: Apache/2.0.48
> Server built: Dec 24 2003 14:36:15
> Server's Module Magic Number: 20020903:4
> 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_PROC_PTHREAD_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="/users/webuser/apache_heavy"
> -D SUEXEC_BIN="/users/webuser/apache_heavy/bin/suexec"
> -D DEFAULT_PIDLOG="logs/httpd.pid"
> -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
> -D DEFAULT_LOCKFILE="logs/accept.lock"
> -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"
>
>
> *** /users/webuser/perl/bin/perl -V
> Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration:
> Platform:>
> osname=linux, osvers=2.4.21-4.elsmp, archname=i686-linux
> uname='linux europa 2.4.21-4.elsmp #1 smp fri oct 3 17:52:56 edt 2003 i686 i686 i386 gnulinux '
> config_args='-Dcc=gcc -Dprefix=/users/webuser/perl'
> 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='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
> optimize='-O3',
> cppflags='-fno-strict-aliasing -I/usr/local/include'
> ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-20)', 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 -ldl -lm -lcrypt -lutil -lc
> perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
> libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
> gnulibc_version='2.3.2'
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
> cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: USE_LARGE_FILES
> Built under linux
> Compiled at Dec 18 2003 11:43:19
> %ENV:
> PERL_LWP_USE_HTTP_10="1"
> @INC:
> /users/webuser/perl/lib/5.8.2/i686-linux
> /users/webuser/perl/lib/5.8.2
> /users/webuser/perl/lib/site_perl/5.8.2/i686-linux
> /users/webuser/perl/lib/site_perl/5.8.2
> /users/webuser/perl/lib/site_perl
> .*** Packages of interest status:
>
> Apache::Request: -
> CGI : 3.01
> LWP : 5.76
> mod_perl : 1.9912
>
>
> 3. This is the core dump trace: (if you get a core dump):
>
> [CORE TRACE COMES HERE]
>
> This report was generated by ./REPORT on Tue Jan 27 19:08:48 2004 GMT.
>
> -------------8<---------- End Bug Report --------------8<----------
>
>

--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


stas at stason

Jan 27, 2004, 5:24 PM

Post #3 of 3 (724 views)
Permalink
Re: Mod-Perl Logging Errors under RedHat Linux ES 3.0 [In reply to]

Kent, Mr. John (Contractor) wrote:
> Mod-Perl Developers,
>
> After sending out my bug report. My system administrator forwarded me this:
>
> As this version of the operating system is based on redhat 9 -- from
> http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/release-notes/x86/
>
> there is a paragraph:
>
> #
>
> A new system message has been added to Red Hat Linux 9:
>
> application bug: <app-name>(<app-pid>) has SIGCHLD set to SIG_IGN but calls
> wait(). (see the NOTES section of 'man 2 wait'). Workaround activated.
>
> This message (which is displayed on the system console and/or in the system
> log files) indicates that the application is not completely standards
> compliant with respect to its handling of child processes. If you see this
> message, you should alert the application's developers. <= ***********************
>
> You have been alerted. :)

Thanks, but you have alerted the wrong developers. mod_perl is not an
application, it's a module for the Apache webserver. modperl doesn't mess with
signals. You need to alert the httpd developers instead. Please see:
http://httpd.apache.org/lists.html#http-dev


__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas [at] stason http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com

--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.