[undertow-dev] Fwd: File descriptor in bad state

Jason T. Greene jason.greene at redhat.com
Sun Jun 19 21:02:11 EDT 2016


You might want to update your JDK as well, the caused by looks like it's trying to remove a socket from the Solaris event set.

> On Jun 19, 2016, at 7:55 PM, Stuart Douglas <sdouglas at redhat.com> wrote:
> 
> I have never seen that error before, updating to the latest XNIO and
> Undertow may help.
> 
> Does the error repeat constantly or is it one off?
> 
> Stuart
> 
>> On Mon, Jun 20, 2016 at 12:54 AM, Toby Crawley <toby at tcrawley.org> wrote:
>> This came in from an Immutant user on Solaris - are there any known
>> undertow issues on Solaris? Is it a platform you even test on?
>> 
>> This is using Undertow 1.3.0.Beta9 - we're using 1.3.23.Final in
>> Immutant HEAD, so can have the user try that if you think it might
>> help.
>> 
>> - Toby
>> 
>> 
>> ---------- Forwarded message ----------
>> From: Dusan Miloradovic <dusan.miloradovic at gmail.com>
>> Date: Sun, Jun 19, 2016 at 2:33 AM
>> Subject: File descriptor in bad state
>> To: Immutant <immutant at googlegroups.com>
>> 
>> 
>> Hi
>> 
>> I hope someone can  give me some directions about this issue I have .
>> I recently upgraded the production server from HTTP Kit to Immutant,
>> because effectively the server was becoming  unresponsive every week
>> or so. I was hoping that the issue was with the HTTP Kit itself, and
>> the move to Immutant would solve the issue.  With the HTTP Kit I
>> didn't get any error logs when it was  hanging, but with Immutant,
>> this is what I got:
>> 
>> Exception in thread "XNIO-1 I/O-4" java.lang.InternalError: File
>> descriptor in bad state
>>        at sun.nio.ch.EventPortWrapper.release(EventPortWrapper.java:235)
>>        at sun.nio.ch.EventPortSelectorImpl.implDereg(EventPortSelectorImpl.java:144)
>>        at sun.nio.ch.SelectorImpl.processDeregisterQueue(SelectorImpl.java:150)
>>        at sun.nio.ch.EventPortSelectorImpl.doSelect(EventPortSelectorImpl.java:75)
>>        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87)
>>        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98)
>>        at org.xnio.nio.WorkerThread.run(WorkerThread.java:510)
>> Caused by: java.io.IOException: File descriptor in bad state
>>        at sun.nio.ch.SolarisEventPort.port_dissociate(Native Method)
>>        at sun.nio.ch.EventPortWrapper.release(EventPortWrapper.java:233)
>>        ... 6 more
>> 
>> I am running Immutant version 2.1.4 on Sun Solaris version SunOS 5.11
>> with Oracle JDK 1.7 and  clojure 1.8.0
>> 
>> Are there any Immutant/Undertow parameters I should be aware of with
>> regards to the problem?
>> 
>> Thanks
>> 
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Immutant" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to immutant+unsubscribe at googlegroups.com.
>> To post to this group, send email to immutant at googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/immutant/13c058c9-b079-4b82-8a01-4f3ed0c1ffda%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>> _______________________________________________
>> undertow-dev mailing list
>> undertow-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/undertow-dev
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev



More information about the undertow-dev mailing list