Project

General

Profile

Bug #8165

rudder-init fails to report memory errors from jetty start

Added by Nicolas CHARLES over 2 years ago. Updated about 1 year ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Small
Priority:
71

Description

When running rudder-init on a Debian 8, with 1.2 Go RAM, the script get stuck at

Cleaning up temporary directories... done.
Restarting services... 

ps outputs shows that the rudder-jetty scripts sleep for 4 secondes
Finally, script end successfully, but Jetty ain't started

Running mannualy init script says:

root@server:/home/vagrant# /etc/init.d/rudder-jetty start
Setting umask to 0007
WARNING: Not enough free memory to start Jetty (about 1422MB are needed). Trying anyway, but the application is likely to fail.
Starting Jetty: . . . . . . . . . . . . . . FAILED Sun Apr 10 19:51:29 UTC 2016

May happen on all versions


Related issues

Related to Rudder - User story #5617: Detecting and restarting Rudder on OOM (Out Of Memory Exception)Discussion

Associated revisions

Revision 13cacedb (diff)
Added by Alexis MOUSSET about 1 year ago

Fixes #8165: rudder-init fails to report memory errors from jetty start

History

#1 Updated by Jonathan CLARKE over 1 year ago

  • Subject changed from Rudder-init fails to report error to rudder-init fails to report memory errors from jetty start
  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Getting started - demo | first install | level 1 Techniques

#2 Updated by François ARMAND over 1 year ago

  • Related to User story #5617: Detecting and restarting Rudder on OOM (Out Of Memory Exception) added

#3 Updated by Jonathan CLARKE over 1 year ago

  • Priority set to 45

#4 Updated by Benoît PECCATTE over 1 year ago

  • Priority changed from 45 to 58

#5 Updated by Benoît PECCATTE about 1 year ago

  • Effort required set to Small
  • Priority changed from 58 to 71

#6 Updated by Benoît PECCATTE about 1 year ago

  • Assignee set to Alexis MOUSSET

Let's display the service start output in the init script and/or enhance it.

#7 Updated by Alexis MOUSSET about 1 year ago

  • Target version set to 3.1.25

#8 Updated by Alexis MOUSSET about 1 year ago

  • Status changed from New to In progress

#9 Updated by Alexis MOUSSET about 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1415

#10 Updated by Alexis MOUSSET about 1 year ago

  • Status changed from Pending technical review to Pending release

#11 Updated by Vincent MEMBRÉ about 1 year ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.25, 4.1.9 and 4.2.3 which were released today.

Also available in: Atom PDF