Project

General

Profile

Actions

Bug #2846

closed

During the use of rudder-init.sh, jetty need to be stopped but the operation time infinite time

Added by Nicolas PERRON almost 12 years ago. Updated over 9 years ago.

Status:
Released
Priority:
3
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Sometimes, the command "/etc/init.d/jetty stop" from the rudder-init.sh script wait (sleep) indefinitely.

 1643 ?        Ss     0:00  \_ sshd: root@notty 
 1645 ?        Ss     0:00  |   \_ /bin/bash /tmp/script-rudder-snapshot.sh
 5150 ?        S      0:00  |       \_ /bin/bash /opt/rudder/bin/rudder-init.sh rudder-snapshot-2.4.normation.com no yes yes 192.168.0.0/24
 5287 ?        Ss     0:01  |           \_ /opt/rudder/sbin/cf-agent
 7062 ?        S      0:00  |               \_ sh -c /etc/init.d/jetty restart </dev/null >/dev/null 2>/dev/null
 7063 ?        S      0:00  |                   \_ bash /etc/init.d/jetty restart
 7086 ?        S      0:20  |                       \_ bash /etc/init.d/jetty stop
26593 ?        S      0:00  |                           \_ sleep 1
[...]
 7400 ?        Sl     1:00 /usr/lib/jvm/java-6-sun/bin/java -server -Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m [...]

The jetty is unblocked when I kill the java process (here, at PID 7400).

Actions

Also available in: Atom PDF