[Twisted-Python] Could not accept new connection

Pavel pbastov at gmail.com
Fri Aug 29 04:20:45 EDT 2008


Thanks for your replies.

I don't think I have reached the limit of 1024 connections. Other
clients are connecting successfully to
the server, so, I think I should ignore this error as Jean-Paul suggests.

On Thu, Aug 28, 2008 at 7:23 PM, Jean-Paul Calderone <exarkun at divmod.com> wrote:
> On Thu, 28 Aug 2008 21:19:21 +0800, Alvin Delagon <adelagon at gmail.com>
> wrote:
>>
>> On Thu, Aug 28, 2008 at 9:05 PM, Pavel <pbastov at gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> today I got this error in my twisted.log
>>>
>>> [twisted.web.server.Site] Could not accept new connection (ECONNABORTED)
>>>
>>> What could be a possible cause of this? Any ways to fix it?
>>>
>>> Thanks in advance.
>>>
>>> --
>>> Good luck,
>>>
>>> Pavel Bastov
>>>
>>
>> How many simultaneous clients connected on your server? By default, linux
>> is
>> configured to have 1024 file descriptors pre process. You may have to set
>> your ulimit higher.
>>
>
> Encountering a ulimit on open files will result in EMFILE rather than
> ECONNABORTED.
>
> Jean-Paul
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>



-- 
Good luck,

Pavel Bastov
xooChat Team Leader
http://www.xoochat.com/




More information about the Twisted-Python mailing list