is FTP server using Nagel? Directory listing is very slow.

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

is FTP server using Nagel? Directory listing is very slow.

Post by snorkel » Fri 26 Feb 2016 18:15

Hi,
I have my sftp server working, but I noticed that after logon there is a long pause between the session initiating, reading the remote directory and then listing it.
(this is with Lazarus and FPC by the way)

It's odd though, most of the times the dir listing is slow, but then once in awhile it's really fast.

Do you guys have any idea what may be going on?

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: is FTP server using Nagel? Directory listing is very slow.

Post by snorkel » Fri 26 Feb 2016 18:34

With winscp:

it gets to Authenticated pretty fast, then
winscp reports:
Starting the session...
<about 5 seconds elapse>
Reading remote directory...

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: is FTP server using Nagel? Directory listing is very slow.

Post by snorkel » Sat 12 Mar 2016 15:59

I think it may be related to the fact I am running my server for testing on a corp laptop that has very aggressive Anti Virus and data encryption and I think it's somehow affecting the directory listing.
I tried it on my home LAN with non of that crap and it was much better, though for some reason the
second time a client connects it's much faster even on my home LAN

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: is FTP server using Nagel? Directory listing is very slow.

Post by ViktorV » Fri 18 Mar 2016 14:43

Yes, enabled antivirus and data encryption may affect speed of directory reading. Directory reading on re-connection may be faster, since the system caches data.

Post Reply