<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Can you try using dtruss for kevent:</div><div><br></div><div>1. Start server</div><div>2. Get PID (jps)</div><div>3. sudo dtruss -f -t kevent -p PID 2> truss.log</div><div><br></div><div><br>Sent from my iPad</div><div><br>On Dec 27, 2013, at 9:47 AM, Ales Justin <<a href="mailto:ales.justin@gmail.com">ales.justin@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div>Debugging org.xnio.nio.WorkerThread : </div><div>(with few e.printStackTrace() invocations)</div><div><br></div><div><a href="https://gist.github.com/alesj/8148775">https://gist.github.com/alesj/8148775</a></div><div><br></div><div>On 27 Dec 2013, at 16:16, Jason Greene <<a href="mailto:jgreene@redhat.com">jgreene@redhat.com</a>> wrote:</div><div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div>BTW one possible cause is that your user has exceeded the max open files limit, and you need to bump ulimit.</div><div><br></div><div>The reason I am interested in the stack trace though is to see which poll provider is throwing the error.<br><br>Sent from my iPhone</div><div><br>On Dec 27, 2013, at 9:07 AM, Jason Greene <<a href="mailto:jgreene@redhat.com">jgreene@redhat.com</a>> wrote:<br><br></div><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Oops<br><br>Sent from my iPhone</div><div><br>On Dec 27, 2013, at 9:00 AM, Jason Greene <<a href="mailto:jgreene@redhat.com">jgreene@redhat.com</a>> wrote:<br><br></div><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>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.</div><div><br></div><div>The error means the OS is throwing EINVAL.</div><div><br></div><div>Is this a OSX Mavericks? If so can you double check you are running the latest JVM?</div><div><br>Sent from my iPhone</div><div><br>On Dec 27, 2013, at 8:36 AM, Tomaž Cerar <<a href="mailto:tomaz.cerar@gmail.com">tomaz.cerar@gmail.com</a>> wrote:<br><br></div><div><span></span></div><blockquote type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div>
<div style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">Isn't that the same error that happens only on your mac also in few other cases?<br><br>Can you try on any other platform?<br><br>Sent from my Phone</div></div>
<div dir="ltr">
<hr>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">From: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:ales.justin@gmail.com">Ales Justin</a></span><br><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Sent: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">27.12.2013 14:14</span><br>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">To: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:wildfly-dev@lists.jboss.org">Wildfly Dev mailing list</a></span><br>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Subject: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">[wildfly-dev] xnio selection err</span><br><br></div>
<meta http-equiv="Content-Type" content="text/html charset=us-ascii">While using UnderTow's JSR WebSockets,<div>implementing simple chat app, between 2 diff browsers (Chrome and Safari),</div>
<div>I get a flood of these log lines:</div><div><br></div><div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(175,173,36);background-color:rgb(0,0,0)">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</div>
</div><div><br></div><div>Any idea?</div><div><br></div><div>-Ales</div><div><br></div>
</blockquote><blockquote type="cite"><span>_______________________________________________</span><br><span>wildfly-dev mailing list</span><br><span><a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></span></blockquote></blockquote></blockquote><blockquote type="cite"><span>_______________________________________________</span><br><span>wildfly-dev mailing list</span><br><span><a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></span></blockquote></div>_______________________________________________<br>wildfly-dev mailing list<br><a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></blockquote></div><br></div></blockquote></body></html>