[Chilli] redir in busy-loop

David Bird david at coova.com
Wed May 26 05:00:11 UTC 2010


Hmm... I don't see where that read() would be immediately. By any
chance, do you clean up files in /tmp/ or /var/run/ on any interval?
After killing chilli_redir, you can also just start it up alone (with
chilli running) using the exact same options you gave chilli. You can
also start only chilli_redir in debug mode this way. 

On Mon, 2010-05-24 at 12:28 +0200, Wichert Akkerman wrote:
> With svn revision 331 we noticed that after 2.5 days the redirect 
> process got stuck in a busy loop and was no longer processing requests. 
> An strace showed this:
> 
> read(12, 0x92dc418, 5)                  = -1 EAGAIN (Resource 
> temporarily unavailable)
> read(12, 0x92dc418, 5)                  = -1 EAGAIN (Resource 
> temporarily unavailable)
> read(12, 0x92dc418, 5)                  = -1 EAGAIN (Resource 
> temporarily unavailable)
> read(12, 0x92dc418, 5)                  = -1 EAGAIN (Resource 
> temporarily unavailable)
> 
> repeated at high rate. I had to send a KILL signal to the redir process 
> to stop it. I was half hoping that chilli would notice the redir process 
> going away and restart it, but alas that was not so and I had to restart 
> chilli.
> 
> Wichert.
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli




More information about the Chilli mailing list