SFTP hang

71 views
Skip to first unread message

Nicki

unread,
Jun 28, 2019, 1:41:53 AM6/28/19
to IRIS, Caché, Ensemble
We are running 2018.1 but we are getting intermittent issues connecting to external FTP sites.
I logged a call with WRC but we could not find any problem, and due to the intermittent nature of the problem it is difficult to troubleshoot.

Basically i have a task running every 15 minutes to FTP files out to clients.
Somewhere the process goes into a hang? state(not infinite loop), on +139^%Net.SSH.SFTP.1


I cannot stop it except with "kill -9", and then restarting cache

Capture.PNG







kiberd...@gmail.com

unread,
Jul 3, 2019, 12:18:55 AM7/3/19
to IRIS, Caché, Ensemble
Hello Nicki!

I haven't checked on 2018, but on 2017 version the location +139^%Net.SSH.SFTP.1 leads to external libary call at RmDir method.
Maybe you should try check you application again and rewrite it so there is no directory removing (I assume, you are running some synchronization)?

Some problems might be in FTP library \ client interoperability, which leads to hanging. Maybe changing FTP server implementation would help? I understand it might be not easy.

Also, check out https://community.intersystems.com, it's a bit more lively that this mail list.

пятница, 28 июня 2019 г., 12:41:53 UTC+7 пользователь Nicki написал:

Carlos Sepulveda

unread,
Jul 3, 2019, 4:28:09 AM7/3/19
to IRIS, Caché, Ensemble
Hi,

Can you do 
strace -p PID 
?

Or 

ls -la /proc/PID/fd

To see it the process is stuck waiting for a file or similar?

Cheers,
Carlos
Reply all
Reply to author
Forward
0 new messages