[jboss-jira] [JBoss JIRA] Commented: (JBWEB-124) Poller instability
Mladen Turk (JIRA)
jira-events at lists.jboss.org
Fri Oct 31 01:10:20 EDT 2008
[ https://jira.jboss.org/jira/browse/JBWEB-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12436427#action_12436427 ]
Mladen Turk commented on JBWEB-124:
-----------------------------------
The call to
Pollset.poll(X, X, X, true)
means that the sockets will be removed from the pollset (by last param==true)
Later you call removeFromPoller for the very same sockets (depending on the comet flag and returned value)
Since the native socket descriptor (long) is actually pointer to the memory it cannot be used as
socket identifier, cause the same memory location can be reused for different sockets.
Is it working if you just comment the call to removeFromPoller before doing Socket.destory?
BTW, what are the versions of APR and Tomcat Native. I don't have F9 (only RHEL5)
> 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
> Attachments: AprEndpoint.java, Socket.java
>
>
> 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