Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have an ftp .ksh script that runs

Status
Not open for further replies.

ryanc2

MIS
Apr 18, 2003
73
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top