Re: runzeo.py exit with unexpected exit code

Jim Fulton <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <CAPDm-FgLsGcJE+wybo_yxo+QWxq9aqHYyOVOfUjvo15Um+sJPw@mail.gmail.com>
On Thu, Apr 6, 2017 at 6:26 AM, Etienne Robillard <[email protected]>
wrote:

> I modified src/ZEO/zrpc/client.py and added the following at the top of
> the file:
>
>  from gevent import monkey
>
>  monkey.patch_all()
>
Um, IDK.

I failed to note before that you're also using an ancient version of ZODB.

I have no idea.

Jim



>
> I hope this helps.
>
> E
>
> Le 2017-04-06 à 05:22, Etienne Robillard a écrit :
>
> Hi
>
> I found a relevant traceback in my log file:
>
> 2017-04-05 09:42:48,008 DEBG 'mainapp' stdout output:
> Exception in thread Connect([(2, ('127.0.0.1', 4343))]):
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
>     self.run()
>   File "/home/erob/ncvs/ZODB/src/ZEO/zrpc/client.py", line 264, in run
>     success = self.try_connecting(attempt_timeout)
>   File "/home/erob/ncvs/ZODB/src/ZEO/zrpc/client.py", line 295, in
> try_connectin
> g
>     r = self._connect_wrappers(wrappers, deadline)
>   File "/home/erob/ncvs/ZODB/src/ZEO/zrpc/client.py", line 343, in
> _connect_wrap
> pers
>     r, w, x = select.select([], connecting, connecting, 1.0)
>   File "/home/erob/gevent-1.2.1/src/gevent/select.py", line 141, in select
>     sel_results = _original_select(rlist, wlist, xlist, 0)
> ValueError: filedescriptor out of range in select()
>
> E
>
>
> On 03/08/2017 07:43 AM, Jim Fulton wrote:
>
>
>
> On Wed, Mar 8, 2017 at 7:37 AM, Etienne Robillard <[email protected]>
> wrote:
>
>> Hi Jim,
>>
>> Yes, in development mode, I don't use supervisord and cannot reproduce
>> this problem. The issue seem to occur on high load using ZODB 3.7.4.
>>
> I'm sorry, you're going to have to provide *a lot* more detail if you
> expect any reasonable answer.  I assumed, maybe incorrectly, you meant it
> was exciting in startup.
>
> A non-zero exit status indicates an error. If ZEO was exiting with a
> non-zero exit status, I'd expect to see something in the logs.  Also, is
> supervisord restarting the process?
>
> In any case, it's wildly unlikely that the reason for exiting has anything
> to do supervisord.
>
> Jim
>
> --
> Jim Fulton
> http://jimfulton.info
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "zodb" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> Etienne [email protected]://www.isotopesoftware.ca/
>
> --
> You received this message because you are subscribed to the Google Groups
> "zodb" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jim Fulton
http://jimfulton.info

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.