Project

General

Profile

Actions

Bug #15630

closed

When the number of file descriptor openable at the same time is too low, we can get a confusing error at policy generation

Added by Nicolas CHARLES over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
78
Name check:
To do
Fix check:
To do
Regression:

Description

during policy generation, I got the following error

com.normation.rudder.services.policies.ParallelSequence - Failure in boxToEither: Error when trying to open template 'TechniqueResourceIdByName(inventory/1.0,test-inventory.pl)'. Check that the file exists with a .st extension and is correctly commited in Git, or that the metadata for the technique are corrects.

soon after, the webapp crashed, as it couldn't load anymore css
It turned out that the ulimit were
[root@server webapp]# ulimit -Hn
4096
[root@server webapp]# ulimit -Sn
1024

pushing them to 8192 solved the issue

Actions #1

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.14 to 5.0.15
Actions #2

Updated by François ARMAND over 4 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Effort required set to Very Small
  • Priority changed from 0 to 79

Not sure what to do about that. It's major, because no way an user can find it by himself.

Perhaps we just need a "Sanity check" method with a bunch or parameters checked (for ex at boot, or to use in a page) with:

- ulimit
- free disk space
- etc

Just the check method and ulimit/free space to add in a log should be very short.

Actions #3

Updated by Benoît PECCATTE over 4 years ago

  • Target version changed from 5.0.15 to 6.0.0
Actions #4

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #5

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2140
Actions #6

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #7

Updated by Vincent MEMBRÉ over 4 years ago

  • Priority changed from 79 to 78
Actions #8

Updated by Alexis Mousset over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.0 which was released today.

Actions

Also available in: Atom PDF