Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Cannot Reproduce
-
4.2.2
-
None
-
None
-
SuSe Linux
Description
Hello,
since Version 4.2.2 the bin/client process hangs sporadic, if it has been started as a process, which is not attached to a tty (for example with cronjob). Before Version 4.2.2 the client works fine.
Below is a simple example to reproduce this issue:
while true; do setsid sh -c 'echo $$ ; ${KARAF_DIR}/bin/client -a ${SSH_PORT} "exit"' < /dev/null sleep 2 done
After some iterations, you should find some hanging "org.apache.karaf.client.Main -a 8101 exit" processes with ps -ef.
Attachments
Issue Links
- is related to
-
KARAF-5995 ensure there is a way to quit bin/client "cmd"
- Resolved