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

box / ClusterRunner / 1444
79%
master: 5%

Build:
Build:
LAST BUILD BRANCH: updatePublishing
DEFAULT BRANCH: master
Ran 30 Dec 2016 03:48AM 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
1444

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.

2936 of 3707 relevant lines covered (79.2%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1444.1 (TARGETS="lint test-unit-with-coverage") 30 Dec 2016 03:49AM UTC 0
77.21
Travis Job 1444.1
2 1444.2 (TARGETS="test-integration-with-coverage") 30 Dec 2016 03:48AM UTC 0
5.66
Travis Job 1444.2
3 1444.3 (TARGETS="test-functional test-unit-via-clusterrunner") 30 Dec 2016 03:51AM UTC 0
Travis Job 1444.3
Source Files on build 1444
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1444
  • 896d68d1 on github
  • Prev 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