errno 24 too many open files for fenced on ~1.2k hdd system on SCALE

Description

Experienced when trying to run fenced on a system with 1253 disks.

[05-30-2022 10:50:39 (WARNING) fenced.fence:load_disks():95] - Retrying to read keys for disk 'sdajb'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/fenced/fence.py", line 92, in load_disks
File "/usr/lib/python3/dist-packages/fenced/disks.py", line 113, in _init_
File "libsgio.pyx", line 29, in libsgio.SCSIDevice._cinit_
OSError: [Errno 24] Too many open files: '/dev/sdajb'

Need to use `resources.setrlimit` in fenced to avoid this.

Problem/Justification

None

Impact

None

Activity

Show:
Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Time remaining

0m

Components

Affects versions

Priority

Katalon Platform

Created May 30, 2022 at 6:00 PM
Updated July 1, 2022 at 6:03 PM
Resolved June 1, 2022 at 7:46 PM