[sldev] eventlet stops running

mark markkicks at gmail.com
Mon Dec 10 17:31:28 PST 2007


On Dec 10, 2007 5:16 PM, Donovan Preston <donovan at lindenlab.com> wrote:

> 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)
>
it should raise an  error or something like that right?


>
> Am I reading strace right?
>
yes i think so!


> Do you have a minimal failing test? Is this easily reproducable?
>
am trying to find out what produces this error.. am having strace going on
this process... to see how it hits the problem.
i have a max_size=6 for pool, so even if one goes into an infinite loop, it
should not freeze and it should keep running right?





>
> 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/8a9e189d/attachment.htm


More information about the SLDev mailing list