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

zulip / zulip / 4490
3%

Build:
DEFAULT BRANCH: master
Ran 12 Aug 2016 09:32PM UTC
Jobs 6
Files 327
Run time 6min
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
4490

push

travis-ci

timabbott
Fix excessive CPU usage by rabbitmq-numconsumers Nagios checks.

The previous model for these Nagios checks was kinda crazy -- every
minute, we'd run a full `rabbitmctl list_consumers` for each of the
dozen+ consumers that we have, and then do the exact same parsing
logic for each to determine whether the target queue has a running
consumer to write out a state file.

Because `rabbitmctl list_consumers` takes a small amount of resources,
on systems where CPU is very limited (e.g. t2 style AWS instances),
this minor CPU wastage could be problematic.

Now we just do that `rabbitmqctl list_consumers` once per minute, and
output all the state files from a single command.

Further TODO items on this front include removing the hardcoded list
of queues.

25990 of 26873 relevant lines covered (96.71%)

2.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4490.1 (TEST_SUITE=frontend) 12 Aug 2016 09:32PM UTC 0
Travis Job 4490.1
2 4490.2 (TEST_SUITE=frontend) 12 Aug 2016 09:32PM UTC 0
Travis Job 4490.2
3 4490.3 (TEST_SUITE=backend) 12 Aug 2016 09:35PM UTC 0
86.79
Travis Job 4490.3
4 4490.4 (TEST_SUITE=backend) 12 Aug 2016 09:37PM UTC 0
86.66
Travis Job 4490.4
5 4490.5 (TEST_SUITE=static-analysis) 12 Aug 2016 09:38PM UTC 0
95.18
Travis Job 4490.5
6 4490.6 (TEST_SUITE=production) 12 Aug 2016 09:38PM UTC 0
Travis Job 4490.6
Source Files on build 4490
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4490
  • 88a123d5 on github
  • Prev Build on master (#4486)
  • Next Build on master (#4495)
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

© 2026 Coveralls, Inc