Possible solution to the stopping issue

12 views
Skip to first unread message

Dax

unread,
May 24, 2011, 5:37:21 AM5/24/11
to Hookbox User Group
Hi List,

I am not sure if my recent change can help solve the stopping issue in
hookbox.

https://github.com/raikage/hookbox

I tested them using browsers with websocket functionality, so far no
issues , I am not sure if the fix works when using long polling/CSP.

By default in eventlet maximum number of connection is set to 1024

>>> from eventlet import wsgi
>>> wsgi.DEFAULT_MAX_SIMULTANEOUS_REQUESTS
1024

I have set max_size parameter to use the soft limit allowed for the
user (ulimit -n), to increase them see
http://stackoverflow.com/questions/2569620/socket-accept-error-24-to-many-open-files


Regards,
Dax

Alan Justino (alanjds)

unread,
May 25, 2011, 8:37:22 AM5/25/11
to Hookbox User Group
Hi, Dax.

I am looking for this bug fixed too. But with this patch as is, will
Windows users will raise ImportError as "resource" module is marked
as "Platforms: Unix" at http://docs.python.org/library/resource.html
??

Sorry but I have not a Windows machine to test it, and neither issue a
pull-request with patches as some github weirdness are not linking my
fork with yours: https://github.com/alanjds/hookbox/network (if anyone
knows how to workaround it, please msg me)
> user (ulimit -n), to increase them seehttp://stackoverflow.com/questions/2569620/socket-accept-error-24-to-...
>
> Regards,
> Dax
Reply all
Reply to author
Forward
0 new messages