proftpd slow authentication
|
Author |
Message |
sidha
Junior Member
Posts: 13
Joined: Aug 2009
Reputation: 0
|
proftpd slow authentication
System: Debian Lenny with current proftpd (1.3.1-17lenny4).
Problem: FTP connection is ok. Connection (probably the authentication) causes 100% cpu load for about 10-30 seconds if the server is idle. If the server is busy, then the process failed with 100%cpu for several minutes.
If the server is idle, the connection estabilished in about 10-30 seconds (!) but everything else is fine. What causes this high, constant cpu load at ftp authentication/connection?
|
|
05-30-2010 03:59 PM |
|
sidha
Junior Member
Posts: 13
Joined: Aug 2009
Reputation: 0
|
RE: proftpd slow authentication
Thank you for reply, but this not solved anything. If i start proftpd with debugging options, the only thing i can see is: the mod_auth take about 80-90% of the connection time (20-30secs).
Anyway, i'm just solved this problem myself. The solution was: removing the last line from /etc/proftpd/proftpd.conf file (Include /etc/proftpd/ispcp/*)
I'm not sure this modification can cause any problem or not, but my ftp accounts are working fine (and working fast) which i'm testing.
SOLVED.
(This post was last modified: 06-02-2010 11:17 PM by sidha.)
|
|
06-02-2010 06:30 PM |
|
sidha
Junior Member
Posts: 13
Joined: Aug 2009
Reputation: 0
|
RE: proftpd slow authentication
I see... but then this simple rules causes 100%cpu load for about half minute via the profptd mod_auth module during ftp logins. Why?
---------------
Summary:
With this rules loaded: every ftp login take 20-30secs and proftpd mod_auth take constant 100% cpu usage
Without rules: every ftp login take cca. 1-2 secs, and about 0% cpu: proftpd sometimes even not appear on top, or with max. 1-2% cpu. Nice :-)
(This post was last modified: 06-04-2010 08:49 PM by sidha.)
|
|
06-04-2010 08:35 PM |
|
SniperSister
Junior Member
Posts: 22
Joined: Feb 2007
Reputation: 0
|
RE: proftpd slow authentication
Hey guys,
any news regarding this topic? I just had the same issue on a client server and proftp was knocked out for more than 3 minutes, so the login timed out.
Best regards
David
|
|
07-03-2010 01:04 AM |
|
Minganus
Banned
Posts: 38
Joined: Feb 2011
|
RE: proftpd slow authentication
|
|
02-09-2011 04:38 AM |
|
User(s) browsing this thread: 3 Guest(s)