The log was taken from the server side.  If you think that
java.util.prefs.FileSystemPreferences
can be the cause I ll try to solve this by running the daemon service as a
root.
I ll report the results.
Thanks.

2011/4/5 Tad Glines <tad.gli...@gmail.com>

> The relevent part seems to be:
> 2011-04-04 19:23:52.480:DBUG::EOF org.eclipse.jetty.io.EofException
> Apr 4, 2011 7:23:53 PM java.util.prefs.FileSystemPreferences
> checkLockFile0ErrorCode
> WARNING: Could not lock User prefs.  Unix error code 2.
> Apr 4, 2011 7:23:53 PM java.util.prefs.FileSystemPreferences syncWorld
> WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException:
> Couldn't get file lock.
>
> Which has nothing to do with socket.io.
>
> But, to be sure, run jstack against the process and post the output.
> That'll
> tell us if any of the threads are stuck in Socket.IO code.
>
> -Tad
>
> On Mon, Apr 4, 2011 at 1:33 PM, Yuri Z <vega...@gmail.com> wrote:
>
> > I have noticed that sometimes the waveinabox.net:9898 server gets
> > "stuck",for example - when you click on a wave digest - the wave never
> > loads. This usually happens when there's a load on the server and the
> wave
> > is relatively "big".
> >
> > When I inspect the logs, I usually see something like this:
> >
> > NFO: websocket disconnected[ERROR]
> > 2011-04-04 19:23:43.282:DBUG::async request [GET /
> >
> >
> socket.io/xhr-polling/OVDamJ8EVIwVFm5X_VF3/1301945007147]@21628801org.eclipse.jetty.server.Request@14a0781
> > 2011-04-04 19:23:43.282:DBUG::REQUEST /
> > socket.io/xhr-polling/OVDamJ8EVIwVFm5X_VF3/1301945007147 on
> > org.eclipse.jetty.server.nio.SelectChannelConnector$2@c31af
> > 2011-04-04
> >
> >
> 19:23:43.282:DBUG::sessionManager=org.eclipse.jetty.server.session.HashSessionManager@13887c2
> > 2011-04-04
> >
> >
> 19:23:43.282:DBUG::session=org.eclipse.jetty.server.session.HashSessionManager$Session:erbq7q0xddoa1lgck5o3q5q83@12314633
> > 2011-04-04
> >
> >
> 19:23:43.283:DBUG::servlet=org.waveprotocol.box.server.rpc.ServerRpcProvider$WaveSocketIOServlet-28515363
> > 2011-04-04 19:23:43.283:DBUG::servlet holder=
> >
> >
> org.waveprotocol.box.server.rpc.ServerRpcProvider$WaveSocketIOServlet-28515363
> > 2011-04-04 19:23:43.283:DBUG::chain= null
> > 2011-04-04 19:23:43.283:DBUG::RESPONSE /
> > socket.io/xhr-polling/OVDamJ8EVIwVFm5X_VF3/1301945007147  200
> > 2011-04-04 19:23:43.444:DBUG::REQUEST /search/ on
> > org.eclipse.jetty.server.nio.SelectChannelConnector$2@c31af
> > 2011-04-04 19:23:43.444:DBUG::Got Session ID erbq7q0xddoa1lgck5o3q5q83
> from
> > cookie
> > 2011-04-04
> >
> >
> 19:23:43.444:DBUG::sessionManager=org.eclipse.jetty.server.session.HashSessionManager@13887c2
> > 2011-04-04
> >
> >
> 19:23:43.444:DBUG::session=org.eclipse.jetty.server.session.HashSessionManager$Session:erbq7q0xddoa1lgck5o3q5q83@12314633
> > 2011-04-04
> >
> >
> 19:23:43.444:DBUG::servlet=org.waveprotocol.box.server.rpc.SearchServlet-27635615
> > 2011-04-04 19:23:43.444:DBUG::servlet holder=
> > org.waveprotocol.box.server.rpc.SearchServlet-27635615
> > 2011-04-04 19:23:43.444:DBUG::chain= null
> > Apr 4, 2011 7:23:43 PM org.waveprotocol.box.server.waveserver.WaveMap
> > search
> > 2011-04-04 19:23:43.445:DBUG::RESPONSE /search/  200
> > 2011-04-04 19:23:43.583:DBUG::REQUEST /
> > socket.io/xhr-polling/OVDamJ8EVIwVFm5X_VF3/1301945027452 on
> > org.eclipse.jetty.server.nio.SelectChannelConnector$2@c31af
> > 2011-04-04 19:23:43.583:DBUG::Got Session ID erbq7q0xddoa1lgck5o3q5q83
> from
> > cookie
> > 2011-04-04
> >
> >
> 19:23:43.583:DBUG::sessionManager=org.eclipse.jetty.server.session.HashSessionManager@13887c2
> > 2011-04-04
> >
> >
> 19:23:43.583:DBUG::session=org.eclipse.jetty.server.session.HashSessionManager$Session:erbq7q0xddoa1lgck5o3q5q83@12314633
> > 2011-04-04
> >
> >
> 19:23:43.583:DBUG::servlet=org.waveprotocol.box.server.rpc.ServerRpcProvider$WaveSocketIOServlet-28515363
> > 2011-04-04 19:23:43.583:DBUG::servlet holder=
> >
> >
> org.waveprotocol.box.server.rpc.ServerRpcProvider$WaveSocketIOServlet-28515363
> > 2011-04-04 19:23:43.583:DBUG::chain= null
> > 2011-04-04 19:23:43.584:DBUG::RESPONSE /
> > socket.io/xhr-polling/OVDamJ8EVIwVFm5X_VF3/1301945027452  200
> > 2011-04-04 19:23:43.584:DBUG::*return with suspended request*
> > 2011-04-04 19:23:52.480:DBUG::EOF org.eclipse.jetty.io.EofException
> > Apr 4, 2011 7:23:53 PM java.util.prefs.FileSystemPreferences
> > checkLockFile0ErrorCode
> > WARNING: Could not lock User prefs.  Unix error code 2.
> > Apr 4, 2011 7:23:53 PM java.util.prefs.FileSystemPreferences syncWorld
> > WARNING: Couldn't flush user prefs:
> java.util.prefs.BackingStoreException:
> > Couldn't get file lock.
> >
> > It seems like the request gets suspended. Any ideas what can be wrong and
> > how this can be solved?
> >
> > Thanks
> > Yuri
> >
>

Reply via email to