[Mailman-Developers] Problem running tox on hyperkitty

Abhilash Raj maxking at asynchronous.in
Mon Mar 19 18:57:40 EDT 2018


On Mon, Mar 19, 2018, at 3:30 PM, Mark Sapiro wrote:
> I am trying to run
> 
> tox -e py35-django111
> 
> on HyperKitty. I run into an issue in that the tests run up to a point
> after which all but the last 2 fail with a "too many open files"
> exception. These files are logs created in directories
> /tmp/hyperkitty-testing-*, and over 100 /tmp/hyperkitty-testing-*
> directories are left behind. This is with an open file limit of 1024.
> 
> If I raise the limit to 4096, everything runs and no
> /tmp/hyperkitty-testing-* directories are left behind, but it seems
> perhaps hyperkitty/tests/utils.TestCase._post_teardown() should have
> something added to undo what hyperkitty/tests/utils.setup_logging() sets up.

Thanks a lot to find the real reason for this problem. I did find this problem when I was working on the Python 3 port but couldn't really pin-point the real reason for why is this happening.

> 
> -- 
> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> _______________________________________________
> Mailman-Developers mailing list
> Mailman-Developers at python.org
> https://mail.python.org/mailman/listinfo/mailman-developers
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Searchable Archives: 
> http://www.mail-archive.com/mailman-developers%40python.org/
> Unsubscribe: 
> https://mail.python.org/mailman/options/mailman-developers/raj.abhilash1%40gmail.com
> 
> Security Policy: http://wiki.list.org/x/QIA9


-- 
  Abhilash Raj
  maxking at asynchronous.in


More information about the Mailman-Developers mailing list