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 constantly 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 look at a netstat and grep for ftp, it will usually show that session as CLOSE_WAIT.
netstat | grep ftp:
tcp 0 0 ip.2556 ip.ftp CLOSE_WAIT
I can then kill the ftp pid and the script will take off again.
Any suggestions on how to troubleshoot this?
Thanks
netstat | grep ftp:
tcp 0 0 ip.2556 ip.ftp CLOSE_WAIT
I can then kill the ftp pid and the script will take off again.
Any suggestions on how to troubleshoot this?
Thanks