I have an ftp .ksh script that runs on a SCO UNIX box and either "puts" or "gets" files to/from a windows 2000 server. It runs constently throughout the day and sleeps every 8 seconds. Everything works fine except that an ftp session will randomly hang causing the script to lock up. If I run netstat and grep for ftp, it will usually show that session as CLOSE_WAIT, but sometimes ESTABLISHED.
I can then kill the ftp pid and the script will take off again.
Any suggestions on how to troubleshoot this?
Thanks
I can then kill the ftp pid and the script will take off again.
Any suggestions on how to troubleshoot this?
Thanks