Project

General

Profile

Actions

Bug #15137

closed

Hook Exit code=-2147483648 on one generation (linked to FullGC?)

Added by François ARMAND almost 5 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Performance and scalability
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

An user reported an exit code of Int.MIN_VALUE during an especially stressed generation (lots of new groups, generation time much longer than usual...).

Starting again the generation finished flawlessly, and nothing strange with the hook (/opt/rudder/etc/hooks.d/policy-generation-finished/50-reload-policy-file-server, file exists, rights ok, nothing changed for days...).

The exact error is:

[2019-06-27 16:48:32] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Reports updated in 37400 ms
[2019-06-27 16:48:32] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Policy generation completed in 1542141 ms
[2019-06-27 16:48:32] ERROR com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent - Error when updating policy, reason *Exit code=-2147483648* for hook: '/opt/rudder/etc/hooks.d/policy-generation-finished/50-reload-policy-file-server'.
stdout:
stderr: ''
[2019-06-27 16:48:32] ERROR com.normation.rudder.batch.AsyncDeploymentAgent - Policy update error for process '35011' at 2019-06-27 16:48:32: Exit code=-2147483648 for hook: '/opt/rudder/etc/hooks.d/policy-generation-finished/50-reload-policy-file-server'.
stdout:
stderr: ''

It seems to correspond to that code in NuProcess: https://github.com/brettwooldridge/NuProcess/blob/nuprocess-1.2.4/src/main/java/com/zaxxer/nuprocess/linux/LinuxProcess.java#L142

What we think may have happened:

- lots of new dyn groups, JVM is stressed
- hooks run
- during hooks, a FullGC happens, something timeout

=> error


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #15011: Error at the end of a policy generation with too many nodes ReleasedFrançois ARMANDActions
Actions

Also available in: Atom PDF