[sldev] eventlet stops running

Donovan Preston donovan at lindenlab.com
Mon Dec 10 17:16:33 PST 2007


Hmm, so it looks like it's getting into a loop calling recv and  
getting back 0 bytes (which means that the socket is closed, I think)

Am I reading strace right?

Do you have a minimal failing test? Is this easily reproducable?

Donovan

On Dec 10, 2007, at 2:45 PM, mark wrote:

> On Dec 10, 2007 1:56 PM, Ryan Williams (Which) <rdw at lindenlab.com>  
> wrote:
> mark wrote:
> > am using eventlet and running a process.. and suddenly it stops  
> running
> > [which i can tell from logs and others]
> > and when i go to the terminal in which started this process is  
> running and i
> > hit CTRL C, it starts running again....
> > do you know what is wrong?
> > thanks
> That's pretty weird.  Try using strace to see what it's doing at the
> time of freeze:
>
> this is what i get from strace
>
> recv(12, "", 4096, 0)                   = 0
> recv(12, "", 4096, 0)                   = 0
> recv(12, "", 4096, 0)                   = 0
> recv(12, "", 4096, 0)                   = 0
> recv(12, "", 4096, 0)                   = 0
> recv(12, "", 4096, 0)                   = 0
> recv(12, "", 4096, 0)                   = 0
> recv(12, "", 4096, 0)                   = 0
> recv(12, "", 4096, 0)                   = 0
> recv(12, "", 4096, 0)                   = 0
> recv(12, "", 4096, 0)                   = 0
> recv(12, "", 4096, 0)                   = 0
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20071210/a9f2bdc6/attachment-0001.htm


More information about the SLDev mailing list