Well I think that twistd is not handling very well the epoll, I have to
check what files I have to edit, because if I use twistd -r epoll I have
the next error:
Traceback (most recent call last):
File "/usr/bin/twistd2.4", line 25, in ?
run()
File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py",
line 195, in run
app.run(runApp, ServerOptions)
File "/usr/lib/python2.4/site-packages/twisted/application/app.py",
line 271, in run
runApp(config)
File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py",
line 178, in runApp
app.installReactor(config['reactor'])
File "/usr/lib/python2.4/site-packages/twisted/application/app.py",
line 31, in installReactor
reflect.namedModule(reactorTypes[reactor]).install()
KeyError: 'epoll'
Thanks
Gonzalo Barrio Linares.
James Bunton wrote:
> You can use epoll by passing the -r option to twistd.
> Have a look at the docs, there's a short section on running the
> transport with twistd, and it shows example options. The example shows
> how to run with the poll reactor.
>
> ---
>
> James
>
>
>
> On 08/11/2005, at 1:18 AM, Gonzalo Barrio wrote:
>
>> James, what happened with the epoll reactor config section inside the
>> config-example.xml ? I can't find anything of epoll inside the sources.
>>
>> Thanks,
>> Gonzalo Barrio Linares.
>>
>>
>> James Bunton wrote:
>>
>>> Hi all.
>>>
>>> PyMSNt 0.10.2 has been released. This release just has a few
>>> critical fixes, and is recommended for all users of 0.10.x
>>> http://msn-transport.jabberstudio.org
>>> Please remember to read through the documentation on that page. As
>>> always, feedback on the program and docs are welcome.
>>>
>>> Also of note is that the transport now uses SVN. The repository is
>>> available for anonymous public access at svn://delx.cjb.net/pymsnt
>>>
>>> In svn://delx.cjb.net/pymsnt/branches/0_11_x is some preliminary
>>> file transfer code. It works for receiving files. I'll be polishing
>>> this up so that it works with more clients, and so that you can send
>>> as well.
>>>
>>> If you want to track the progress of file transfer, its probably a
>>> good idea to join py-transports. Also, you're best off not checking
>>> out trunk :)
>>>
>>> Enjoy!
>>>
>>> ---
>>>
>>> James
>>>
>>> _______________________________________________
>>> py-transports mailing list
>>> [email protected]
>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>>
>>
>>
>> _______________________________________________
>> py-transports mailing list
>> [email protected]
>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>