Configure and monitor file descriptors on Jenkins

Description

We had an issue today (Jul 25th, 2017) of Jenkins running out of file descriptors.

Things already reached the point where Jenkins was barely functioning so to get things back to working order I've:

  • Manually added a line in '/etc/security/limits.conf' to set 'nofiles' to 16384 for the 'jenkins' user (Previously it was just not configured and seems to have defaulted to 4096).

  • Restarted the 'jenkins' service.

We now need to:

  • Place this configuration in Puppet/Ansible.

  • Add monitoring so we'll know in advance the next time Jenkins goes near to the nofiles limit.

Activity

Show:
Evgheni Dereveanchin
August 1, 2017, 3:25 PM

I can show you how our puppet environment works while implementing this change if you want.

Anton Marchukov
February 15, 2019, 2:42 PM

can you check if it is done already?

Assignee

Evgheni Dereveanchin

Reporter

Barak Korren

Blocked By

None

Components

Priority

Medium
Configure