httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32542] New: - multiple graceful restart of Apache gives panic: pthread_key_create message
Date Mon, 06 Dec 2004 13:51:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32542>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32542

           Summary: multiple graceful restart of Apache gives panic:
                    pthread_key_create message
           Product: Apache httpd-2.0
           Version: 2.0.43
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: pradeep.smani@gmail.com


Apache Versio:2.0.43
mod_perl version:2.0
perl version: 5.6

When Apache2.0.43 is restarted gracefully multiple times it crashes with a
panic:pthread_key_create error. 
The configuration file must include mod_perl. Without the inclusion of mod_perl
the problem is not replicated.

This is how to reproduce the problem. Run this script.


#!/usr/bin/sh

COUNT=1
while true
do
kill -HUP `cat "/var/opt/apache2/logs/httpd.pid"`
date "+DATE: %m/%d/%y %H:%M:%S count: $COUNT  return: $?"
COUNT=`expr $COUNT + 1`
sleep 20
done

httpd stops generally at about count =255. The error_log gives this.

[Fri Dec 03 19:07:24 2004] [notice] Digest: done
[Fri Dec 03 19:07:24 2004] [notice] Apache Web Server/2.0.43 (Unix) mod
_perl/1.99_07-dev Perl/v5.6.1 DAV/2 configured -- resuming normal operations
[Fri Dec 03 19:07:33 2004] [notice] SIGUSR1 received.  Doing graceful restart
[Fri Dec 03 19:07:34 2004] [notice] Digest: generating secret for digest authent
ication ...
[Fri Dec 03 19:07:34 2004] [notice] Digest: done
[Fri Dec 03 19:07:34 2004] [notice] Apache Web Server/2.0.43 (Unix) mod
_perl/1.99_07-dev Perl/v5.6.1 DAV/2 configured -- resuming normal operations
[Fri Dec 03 19:07:44 2004] [notice] SIGUSR1 received.  Doing graceful restart
panic: pthread_key_create

Doing a strings on mod_perl.so and perl gave this.

# strings mod_perl.so |grep "panic: pthread_key_create"
panic: pthread_key_create
# strings /opt/perl/bin/perl|grep "panic: pthread_key_create"
panic: pthread_key_create

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message