From: Ben Darnell <b...@bendarnell.com>
Date: Thu, 4 Oct 2012 20:53:08 -0700
Local: Thurs, Oct 4 2012 11:53 pm
Subject: Re: [tornado] Timeouts in tests using Tornado + Motor
This sounds like it might be a file descriptor leak. Your tests might
be opening sockets and not closing them, which would cause problems once you hit the file descriptor limit, which is relatively low by default on many platforms. Try increasing the limit by running "uname -n 10000" before running your tests (if you're on linux and the OS won't let you, try increasing the settings in /etc/security/limits.conf). If that works, then you're running out of file descriptors. Once you've confirmed the problem, a better long-term solution is to ensure that you're closing all the file descriptors you're opening. This includes sockets and regular files, as well as other file descriptors created by IOLoop and AsyncHTTPClient (could you be forgetting to call super.tearDown() in your tests?). -Ben
On Thu, Oct 4, 2012 at 5:50 PM, Daniel Kador <d...@keen.io> wrote:
> Hi! > I'm running into (what I perceive to be) a strange problem with my tests.
> But let me step back and describe what I've noticed in more detail.
> I have approximately ~150 tests that extend the
> But when I run them all together, after about ~65 tests running and passing,
> It's getting to be a serious problem, as now I can't actually run all my
> I'm relatively sure I've done something stupid, but I haven't figured out
> Thanks!
> -Dan
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||