New submission from Urs Traber:

test_socke.py does not clean up its event objects used for synchronization. 
This may cause multiple such ERRORs (*):

testLinebufferedWrite (__main__.LineBufferedFileObjectClassTestCase) ... 
sem_init: Too many open files
ERROR

Fixed by setting the allocated Event objects to None at the end of a test (see 
patch attached).



*) e.g. on Digital UNIX with a default of maximal 4096 open files per process

----------
components: Tests
files: test_socket.patch
keywords: patch
messages: 229075
nosy: Urs.Traber
priority: normal
severity: normal
status: open
title: test_socket fails with sem_init: Too many open files
type: resource usage
versions: Python 2.7
Added file: http://bugs.python.org/file36878/test_socket.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22608>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to