[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ftp slow w/ proftpd# Samba fast

Even after this:

UseReverseDNS off
IdentLookups off

in /etc/proftpd.conf

it still sucks! I've never seen such a sluggish ftp server.


On 7/25/07, Excalibur Xcalibur <excalibur xcalibur gmail com > wrote:
Dear Phil,
                Thanks for the reply.


;; Query time: 4138 msec

OK It takes 4.138 secs. :( The logins seem to be fast. It's only when the users start to transfer files, then it takes forever.

Is there a way to make proftpd bypass the checks?


On 7/25/07, Phil Meyer <pmeyer themeyerfarm com > wrote:
Excalibur Xcalibur wrote:
> Hi,
>      I'm using proftpd as server on my fedora box and it's damn slow.
> Users take forever to download/upload things on the server. But when I
> share my folder as a Samba share, it's almost instantaneous
> downloads/uploads for users. Any clues to make my FTP blazing fast?
> Could SELINUX be one of the problems?
> --
> Excalibur

proftp can be (is by default?) configured to verify a valid IP before
allowing a log in.

If your reverse DNS is slow, then ftp logins and ssh connections can
take up to two minutes or so.

Microsoft based protocols don't do much IP based security validation,
based upon the OLD SMB protocols (ripped off from DEC and ISO standards).

Check your reverse DNS response times -- I bet they are whack.

You can use the host utility to test RDNS queries easily, or dig.

$ host domain name pointer host11.hostmonster.com.

$ dig esourcehome.com

; <<>> DiG 9.4.1 <<>> esourcehome.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9058
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;esourcehome.com.               IN      A

esourcehome.com.        4439    IN      A

;; Query time: 3 msec
;; WHEN: Wed Jul 25 17:32:44 2007
;; MSG SIZE  rcvd: 49

If these queries take more than a second or so, your are having DNS issues.

Good Luck!

fedora-list mailing list
fedora-list redhat com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]