<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite"><div dir="auto"><div>Oh is it always at shutdown?<br></div></div></blockquote><div><br></div><div>No.</div><div>It's also while the app runs.</div><div>But dunno how to re-produce it on a constant basis.</div><div><br></div><div>-Ales</div><br><blockquote type="cite"><div dir="auto"><div>On Jan 2, 2014, at 5:28 AM, Ales Justin &lt;<a href="mailto:ales.justin@gmail.com">ales.justin@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div>Here:</div><div>*&nbsp;<a href="https://gist.github.com/alesj/8217872">https://gist.github.com/alesj/8217872</a></div><div><br></div><div>But I didn't get any WARN log during my "chat", only at shutdown.</div><div>Does it still help? Otherwise I can try to catch this when getting WARNings during chat.</div><div><br></div><div>-Ales</div><br><div><div>On 28 Dec 2013, at 17:14, Jason Greene &lt;<a href="mailto:jgreene@redhat.com">jgreene@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div 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&gt; 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 &lt;<a href="mailto:ales.justin@gmail.com">ales.justin@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div>Debugging&nbsp;org.xnio.nio.WorkerThread :&nbsp;</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 &lt;<a href="mailto:jgreene@redhat.com">jgreene@redhat.com</a>&gt; 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 &nbsp;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 &lt;<a href="mailto:jgreene@redhat.com">jgreene@redhat.com</a>&gt; 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 &lt;<a href="mailto:jgreene@redhat.com">jgreene@redhat.com</a>&gt; 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 &lt;<a href="mailto:tomaz.cerar@gmail.com">tomaz.cerar@gmail.com</a>&gt; 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&nbsp; [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></blockquote></div></blockquote></div><br></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></blockquote></div><br></body></html>