[jboss-jira] [JBoss JIRA] Created: (JBWEB-203) Segfault if not enought threads

Dmitry Murashenkov (JIRA) jira-events at lists.jboss.org
Tue Jun 21 13:33:23 EDT 2011


Segfault if not enought threads
-------------------------------

                 Key: JBWEB-203
                 URL: https://issues.jboss.org/browse/JBWEB-203
             Project: JBoss Web
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Tomcat
         Environment: JBoss 6, Debian 6.0.1, JBoss native APR connector 2.0.9
            Reporter: Dmitry Murashenkov
            Assignee: Remy Maucherat
         Attachments: hs_err_pid13822.log

If number of requests to server is larger than the max number of worker threads - segmentation fault is raised very often. This bug was originally reported against tomcat native library, but is present in jboss native connector too: 

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

TC:

1. Setup ARP. In case of debian we tried: libs (libtcnative and its dependencies) that are available in debian repository, jboss native 2.0.9 linux binary package, tried compiling 2.0.9 package from source. In all cases we validated that neccessary lib is used via ldd and pmap.

2. Setup few worker threads in http connector:

<Connector ... maxThreads="1"/>

3. Start sending http requests to server in parallel. In our case load client is sending requests in 40 parallel threads. So it tries to open new connection and send request to maintain parallel sending rate, often get Connection reset by peer exception and tries again. After 15-25 seconds of such load jboss crashes with segmentation fault. In our case the bug is reproduced in 100% cases in this period of time.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list