WebSocket for Python 2 and 3 on Twisted and asyncio

2014-01-03 Thread Tobias Oberstein
Hi, Autobahn provides open-source implementations of * The WebSocket Protocol * The Web Application Messaging Protocol (WAMP) https://github.com/tavendo/AutobahnPython https://pypi.python.org/pypi/autobahn Starting with the release 0.7.0, Autobahn now fully supports (with all features) both *

AW: WebSocket for Python 2 and 3 on Twisted and asyncio

2014-01-09 Thread Tobias Oberstein
n-list- > bounces+tobias.oberstein=tavendo...@python.org] Im Auftrag von Tobias > Oberstein > Gesendet: Freitag, 3. Januar 2014 13:08 > An: python-list@python.org > Betreff: WebSocket for Python 2 and 3 on Twisted and asyncio > > Hi, > > Autobahn provides open-source implem

Py2.7/FreeBSD: maximum number of open files

2011-11-14 Thread Tobias Oberstein
I am trying to convince Python to open more than 32k files .. this is on FreeBSD. Now I know I have to set appropriate limits .. I did: $ sysctl kern.maxfiles kern.maxfiles: 204800 $ sysctl kern.maxfilesperproc kern.maxfilesperproc: 20 $ sysctl kern.maxvnodes kern.maxvnodes: 20 $ ulimit

AW: Py2.7/FreeBSD: maximum number of open files

2011-11-14 Thread Tobias Oberstein
> I'm not familiar with BSD but Linux has similar Kernel options. The kernel > options might be *global* flags to set the total upper limit of open file > descriptors for the entire system, not for a single process. > Also on Linux "ulimit" doesn't display the fd limit. You have to use "ulimit > -

AW: Py2.7/FreeBSD: maximum number of open files

2011-11-14 Thread Tobias Oberstein
> > I need 50k sockets + 100 files. > > > > Thus, this is even more strange: the Python (a Twisted service) will > > happily accept 50k sockets, but as soon as you do open() a file, it'll bail > > out. > > A limit of 32k smells like a overflow in a signed int. Perhaps your system is > able and co

AW: Py2.7/FreeBSD: maximum number of open files

2011-11-14 Thread Tobias Oberstein
> > > > I need 50k sockets + 100 files. > > > > > > Thus, this is even more strange: the Python (a Twisted service) > > > > will happily accept 50k sockets, but as soon as you do open() a file, > > > > it'll > bail out. > > > > > A limit of 32k smells like a overflow in a signed int. Perhaps your

AW: Py2.7/FreeBSD: maximum number of open files

2011-11-14 Thread Tobias Oberstein
> > I just confirmed that the bug is even there for FreeBSD 9 RC1 ! > > > > This is most unfortunate. Seriously. > > W00t, that sucks! You could migrate to another BSD (NetBSD) or Linux ... :) No, thanks;) > > I am running out of options, since I am willing to make my stuff > > Python 3 compatib