karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-6141) Client hangs sporadic, if started without an tty
Date Sun, 14 Apr 2019 05:23:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-6141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-6141:
----------------------------------------
    Fix Version/s:     (was: 4.2.5)
                   4.2.6

> Client hangs sporadic, if started without an tty
> ------------------------------------------------
>
>                 Key: KARAF-6141
>                 URL: https://issues.apache.org/jira/browse/KARAF-6141
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.2
>         Environment: SuSe Linux
>            Reporter: M Gerstädt
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.3.0, 4.2.6
>
>
> 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:
>  
> {code:java}
> while true; do
>   setsid sh -c 'echo $$ ; ${KARAF_DIR}/bin/client -a ${SSH_PORT} "exit"' < /dev/null
>   sleep 2
> done
> {code}
> After some iterations, you should find some hanging "org.apache.karaf.client.Main -a
8101 exit" processes with ps -ef.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message