Increasing the memory on the server solved the timeout issue.
It appears that due to the low memory, the SFTP process created during the
first FTP/SFTP session was getting terminated after the 4th session (so
could not be re-used).
There were already some other types of Delegate processes (tcprelay, http
proxy, etc) running at the time using the same binary.
On Tue, Dec 14, 2010 at 4:12 PM, Vijay Pandit <firstname.lastname@example.org> wrote:
> Hi Yutaka,
> The OS being used is Solaris 10 on HP hardware.
> I have attached the log with additional -dG option.
> The log also contains lines such as the below:
> 12/11 09:42:11.01  26+0: MAXIMA=delegated:16 for small mem=96M
> 12/11 09:42:11.01  26+0: MAXIMA=delegated:16 <-14, 80 <-64 (96 <-95)
> There could be a memory issue on the server.
> I will upgrade the server memory and see if it solves the issue. I will
> report back the result.
> On Sat, Dec 11, 2010 at 10:21 AM, Yutaka Sato <email@example.com>wrote:
>> In message <AANLkTine-nxJ2sNr1Xr_jZ9FPJQ61K8D3djH1rEzGafirstname.lastname@example.org>
>> on 11/24/10(20:59:04) you Vijay Pandit <email@example.com> wrote:
>> |I rebuilt delegate using the enclosed patch and tested, but there is no
>> |When the timeouts occur, the sftp process does not start when the ftp
>> |issues a CWD.
>> |I have attached the log file with the -vd option enabled.
>> |The test I did was for the ftp client to log into delegate, issue the
>> CWD to
>> |connect to the SFTP server and then quit command. Sessions that froze
>> |after the CWD command, had in the the log:
>> |--rdy=0 alv=1 (1.000)
>> |---- SFTPCC Alive?  rdy=0 rcc=0 alv=1 
>> |-SFTPGW:connect_serv REAL_PROTO=sftp ->FS
>> It might be possible that the detection of disconnection of
>> the socketpair is failing, depending on the implementation
>> of the socket interface by your OS.
>> On what OS are you doing it?
>> And detailed log information around the above log, with -dG
>> option (for detailed logging for sftp/FTP) will be helpful.
>> 9 9 Yutaka Sato, CSDP,ITIL-F,OCUP-A http://delegate.org/y.sato/
>> ( ~ ) National Institute of Advanced Industrial Science and Technology
>> _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
>> Do the more with the less -- B. Fuller