Sean Boudreau(deleted)
|
Re: SSH process launched becomes zombie and sftp session remains
blocked...
|
Sean Boudreau(deleted)
02/25/2010 9:01 AM
post48280
|
Re: SSH process launched becomes zombie and sftp session remains
blocked...
On Thu, Feb 25, 2010 at 07:33:53AM -0500, Aji M P wrote:
> We have multithreaded application, one of the application thread used sftp for file transfer...so it launches a "sh"
process, which inturn launches a "sftp" process and "sftp" inturn launches a "ssh" process for communication.
>
> The application thread calls popen() with the following command string.
> sftp -oPasswordAuthentication=no -oStrictHostKeyChecking=no -oNumberOfPasswordPrompts=0 -oPort=22 -oIdentityFile=FILE.
> ssh.prv userID@IP
>
> After it successfully launches the above commad, we see 3 processes in a normal working scenario.
>
> 388177965 proc/boot/sh
> 388177967 usr/local/bin/sftp
> 388182064 usr/local/bin/ssh
>
> In the scenario, where we see the ssh process becomes zombie we see the following
>
> 388177965 proc/boot/sh SIGSUSPEND
> 388177967 usr/local/bin/sftp REPLY (PIPE process)
> 388182064 (Zombie)
>
> and the application thread is
> 335899 App appThread reply 1
>
> We want to know why would the ssh process becomes zombie and this is not handled by the SFTP process that has launched
it?? Does any network error can cause the ssh process die abruptly and make sftp unaware of it??
>
What's the server end? What version of QNX are you running?
This sounds like it may be an issue that was fixed in 6.4.1.
If you can reproduce it with released binaries we can take a
look at it but it's hard to guess what might be going on
with /usr/local/*
Regards,
-seanb
|
|
|