[jboss-jira] [JBoss JIRA] Commented: (JBWEB-124) Poller instability

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Thu Oct 30 12:04:22 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBWEB-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12436364#action_12436364 ] 

Remy Maucherat commented on JBWEB-124:
--------------------------------------

I am running into problems (on F9, with the F9 packages for Java, tomcat-native and APR) with the new bayeux test webapp (and the issue is triggered by hammering refresh). I added tracing to Socket.destroy, and the add/remove of the poller to detect problems that would lead to a crash and display traces.

The trouble apparently starts with a POLLHUP in the keepalive poller, and the real problem is that the socket (which is about to be destroyed, since that's what I am doing with a POLLHUP right now) remains in the poller, according to Poll.pollset. It then degrades quickly. I am not certain right now there are no programming errors in the Java code, but from what I see simply doing Socket.destroy is probably not optimal.

> Poller instability
> ------------------
>
>                 Key: JBWEB-124
>                 URL: https://jira.jboss.org/jira/browse/JBWEB-124
>             Project: JBoss Web
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: JBossWeb-2.1.1.GA
>            Reporter: Remy Maucherat
>            Assignee: Remy Maucherat
>            Priority: Critical
>
> Socket errors seems to create instability in Pollers. In particular this seems related to Poll.APR_POLLHUP errors.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list