You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/01/09 09:29:07 UTC

DO NOT REPLY [Bug 46499] New: httpd accept() return EAGAIN error

https://issues.apache.org/bugzilla/show_bug.cgi?id=46499

           Summary: httpd accept() return EAGAIN error
           Product: Apache httpd-2
           Version: 2.0.52
          Platform: HP
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: masaya.hasegawa@hp.com


Created an attachment (id=23097)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23097)
strace result,error_log,httpd.conf

RHEL 4.4 (kernel 2.6.9-42.ELsmp) 
httpd-2.0.52-38
weblogic plugin (mod_wl_20.so)

Symptom:
Suddenly httpd which load weblogic plugin(mod_wl_20.so) accept() return
with EAGAIN error. After retry 4000 times, httpd exit().

// strace of httpd
20978 15:39:30.589794 accept(3,  <unfinished ...>
20980 15:39:30.589833 <... geteuid32 resumed> ) = 0
20982 15:39:30.589869 close(8 <unfinished ...>
20981 15:39:30.589904 munmap(0xb7fb0000, 4096 <unfinished ...>
20977 15:39:30.589953 write(6, "[Fri Nov 28 15:39:30 2008] [info"..., 84
<unfinished ...>
20979 15:39:30.590017 <... write resumed> ) = 104
20983 15:39:30.590052 <... read resumed>
"root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 681
20976 15:39:30.590110 write(6, "[Fri Nov 28 15:39:30 2008] [info"..., 84
<unfinished ...>
20978 15:39:30.590166 <... accept resumed> 0x87cb26c, [28]) = -1 EAGAIN
(Resource temporarily unavailable)
          ...
20978 15:39:33.385567 exit_group(0)     = ?
3454  15:39:33.603534 waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}],
WNOHANG|WSTOPPE
D) = 20978 <---


// error_log 
[Fri Nov 28 15:39:30 2008] [debug] util_ldap.c(1441): INIT global mutex
/tmp/fileKYBJuX in child 20978 <---
[Fri Nov 28 15:39:30 2008] [debug] util_ldap.c(1441): INIT global mutex
/tmp/fileKYBJuX in child 20977
[Fri Nov 28 15:39:30 2008] [debug] util_ldap.c(1441): INIT global mutex
/tmp/fileKYBJuX in child 20976
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: init_child: isThreaded = -1 
<---
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: init_child: isThreaded = -1
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: init_child: isThreaded = -1
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: Testing Debug=(null)
LogFile=(null) TempDir=(null) <---
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: Testing Debug=(null)
LogFile=(null) TempDir=(null)
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: Testing Debug=(null)
LogFile=(null) TempDir=(null)

We asked weblogic support person about this issue. However he said that
weblogic plugin does not call accept, so this is an apache problem.

I have some questions about this issue.

Q1:  Is this issue a known problem ?
    (Though I searched this on bugzilla, I could not find)

Q2: What does we need to do in order to investigate root casue ( apache
    or weblogic plugin ) ?

Thanks in advance,

Masaya


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org