[Twisted-Python] twisted compatibility with multiprocessing module in fork+execv mode

2015-09-30 Thread Flavio Grossi
I know the multiprocessing module is not properly supported by twisted apps because of the interactions among duplicated file descriptors and signal handling, as discussed other times. But python 3.4 introduces a new mode to use that module by spawning (i.e. fork() followed by execv()) the new

Re: [Twisted-Python] Protocol for socket.io

2014-01-27 Thread Flavio Grossi
Laurens Van Houtven <_ lvh.io> writes: > > > Hi Andrew, > No idea about socket.io, but if you're free to pick whatever you want, and you just want "websockets, damnit!" then sockjs is actually better, and has excellent twisted support.hthlvh Agreed on using sockjs. There are at least two

Re: [Twisted-Python] Is Ampoule still maintained?

2012-11-16 Thread Flavio Grossi
Maxim Lacrima gmail.com> writes: > However, from a look at a project page it seems that it is no longer > maintained. The latest release was about 2,5 years ago. Is it just bug > free, so new releases aren't required, or is it just unmaintained? i'm using it in production and i couldn't find a

Re: [Twisted-Python] Log file ownership

2012-06-11 Thread Flavio Grossi
twistedmatrix.com> writes: > > Log rotation - ie, renaming a file - isn't affected by the permissions > of the log file. The permissions of the *directory containing the log > file* control whether it can be renamed (and a new one created) or not. > > So it doesn't matter what permissions

Re: [Twisted-Python] Does anyone use ampoule in production?

2011-11-21 Thread Flavio Grossi
gelin yan gmail.com> writes: > > > Hi glyph > >      I attached a file for this purpose. there is a number 4073 inside the code. when i use any smaller value, the function return a correct result. I use win 7 & twisted 11.1 at the moment. I am not sure whether this limit comes from os or no