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
*
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
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
> 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
> -
> > 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
> > > > 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
> > 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