epoll_wait: Invalid argument

1,399 views
Skip to first unread message

notedit

unread,
Sep 2, 2011, 3:56:04 AM9/2/11
to gevent: coroutine-based Python network library
when i try to restart a StreamServer , it has following warns
what is the problem? i am using gevent 0.13.6 and python2.5 on
ubuntu 9.10

[warn] epoll_wait: Invalid argument
Restarting gevent.core.dispatch() after an error [1]: [Errno 22]
Invalid argument
[warn] epoll_wait: Invalid argument
Restarting gevent.core.dispatch() after an error [1]: [Errno 22]
Invalid argument
[warn] epoll_wait: Invalid argument
Restarting gevent.core.dispatch() after an error [1]: [Errno 22]
Invalid argument
[warn] epoll_wait: Invalid argument
Restarting gevent.core.dispatch() after an error [1]: [Errno 22]
Invalid argument
[warn] epoll_wait: Invalid argument
Restarting gevent.core.dispatch() after an error [1]: [Errno 22]
Invalid argument

Denis Bilenko

unread,
Sep 2, 2011, 1:31:19 PM9/2/11
to gev...@googlegroups.com
Can you try 1.0a2?

If that does not help and the program still does not work as expected,
please post a minimal example along with expected output.

notedit

unread,
Sep 2, 2011, 1:36:45 PM9/2/11
to gev...@googlegroups.com
thanks  Denis,  i take the code to my another computer,it just work well.

2011/9/3 Denis Bilenko <denis....@gmail.com>



--

Best Wishes..


Benoit Chesneau

unread,
Sep 27, 2012, 12:15:21 AM9/27/12
to gev...@googlegroups.com


On Friday, September 2, 2011 7:31:19 PM UTC+2, Denis Bilenko wrote:
Can you try 1.0a2?

If that does not help and the program still does not work as expected,
please post a minimal example along with expected output.

I still experiment it on 0.13.8. What is the change that removed it? It would worth to have it on a stable release as well since the 1.0 is in beta? 

- beno[it

Denis Bilenko

unread,
Sep 27, 2012, 12:58:14 AM9/27/12
to gev...@googlegroups.com
On Thu, Sep 27, 2012 at 8:15 AM, Benoit Chesneau <bche...@gmail.com> wrote:
> On Friday, September 2, 2011 7:31:19 PM UTC+2, Denis Bilenko wrote:
>> If that does not help and the program still does not work as expected,
>> please post a minimal example along with expected output.
>
> I still experiment it on 0.13.8. What is the change that removed it? It
> would worth to have it on a stable release as well since the 1.0 is in beta?

Well, it's coming from libevent and might be related to epoll/fork
interaction. So, whatever it is, it's unlikely to get fixed on 0.13.x.

Benoit Chesneau

unread,
Sep 27, 2012, 4:03:16 AM9/27/12
to gev...@googlegroups.com
The log can be removed or namespaced though. Not sure. Thanks for the
explanation anyway.

- benoît
Reply all
Reply to author
Forward
0 new messages