[wildfly-dev] xnio selection err

Jason Greene jgreene at redhat.com
Sat Dec 28 11:14:27 EST 2013


Can you try using dtruss for kevent:

1. Start server
2. Get PID (jps)
3. sudo dtruss -f -t kevent -p PID 2> truss.log


Sent from my iPad

> On Dec 27, 2013, at 9:47 AM, Ales Justin <ales.justin at gmail.com> wrote:
> 
> Debugging org.xnio.nio.WorkerThread : 
> (with few e.printStackTrace() invocations)
> 
> https://gist.github.com/alesj/8148775
> 
>> On 27 Dec 2013, at 16:16, Jason Greene <jgreene at redhat.com> wrote:
>> 
>> BTW one possible cause is that your user has exceeded the max open files  limit, and you need to bump ulimit.
>> 
>> The reason I am interested in the stack trace though is to see which poll provider is throwing the error.
>> 
>> Sent from my iPhone
>> 
>>> On Dec 27, 2013, at 9:07 AM, Jason Greene <jgreene at redhat.com> wrote:
>>> 
>>> Oops
>>> 
>>> Sent from my iPhone
>>> 
>>>> On Dec 27, 2013, at 9:00 AM, Jason Greene <jgreene at redhat.com> wrote:
>>>> 
>>>> Any chance you can get a stack trace out of it? Upping the log level or using a debugger to catch IOException would do the trick.
>>>> 
>>>> The error means the OS is throwing EINVAL.
>>>> 
>>>> Is this a OSX Mavericks? If so can you double check you are running the latest JVM?
>>>> 
>>>> Sent from my iPhone
>>>> 
>>>>> On Dec 27, 2013, at 8:36 AM, Tomaž Cerar <tomaz.cerar at gmail.com> wrote:
>>>>> 
>>>>> Isn't that the same error that happens only on your mac also in few other cases?
>>>>> 
>>>>> Can you try on any other platform?
>>>>> 
>>>>> Sent from my Phone
>>>>> From: Ales Justin
>>>>> Sent: ‎27.‎12.‎2013 14:14
>>>>> To: Wildfly Dev mailing list
>>>>> Subject: [wildfly-dev] xnio selection err
>>>>> 
>>>>> While using UnderTow's JSR WebSockets,
>>>>> implementing simple chat app, between 2 diff browsers (Chrome and Safari),
>>>>> I get a flood of these log lines:
>>>>> 
>>>>> 14:09:22,890 WARN  [org.xnio.nio.selector] (default I/O-3) XNIO008000: Received an I/O error on selection: java.io.IOException: Invalid argument
>>>>> 
>>>>> Any idea?
>>>>> 
>>>>> -Ales
>>>>> 
>>>>> _______________________________________________
>>>>> wildfly-dev mailing list
>>>>> wildfly-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>> _______________________________________________
>>> wildfly-dev mailing list
>>> wildfly-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>> _______________________________________________
>> wildfly-dev mailing list
>> wildfly-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20131228/3d6e69c6/attachment.html 


More information about the wildfly-dev mailing list