• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / ClusterRunner / 1439
79%
master: 5%

Build:
Build:
LAST BUILD BRANCH: updatePublishing
DEFAULT BRANCH: master
Ran 30 Dec 2016 03:29AM UTC
Jobs 3
Files 92
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1439

push

travis-ci

josephharrington
Prevent immortal connection pools

The master keeps a connection pool for each connected slave. The
problem is that even when the slave disconnects/is taken offline
those pooled connections stay open. This isn't that bad unless
you're constantly connecting and disconnecting slaves.

At Box we constantly connect and disconnect slaves (recycling the
entire cluster once a night). Over several weeks the immortal
connection pools eventually cause the master process to hit a system
limit on the number of open file descriptors. :(

This change makes sure we clear the connection pool when a slave
disconnects.

2938 of 3707 relevant lines covered (79.26%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1439.1 (TARGETS="lint test-unit-with-coverage") 30 Dec 2016 03:31AM UTC 0
77.26
Travis Job 1439.1
2 1439.2 (TARGETS="test-integration-with-coverage") 30 Dec 2016 03:29AM UTC 0
5.66
Travis Job 1439.2
3 1439.3 (TARGETS="test-functional test-unit-via-clusterrunner") 30 Dec 2016 03:31AM UTC 0
Travis Job 1439.3
Source Files on build 1439
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1439
  • 520bd82d on github
  • Next Build on fix-open-connections-issue (#1441)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc