[Twisted-Python] Could not accept new connection

Jean-Paul Calderone exarkun at divmod.com
Thu Aug 28 07:23:39 MDT 2008


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




More information about the Twisted-Python mailing list