proftpd slow authentication - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: proftpd slow authentication (/thread-10823.html) |
proftpd slow authentication - sidha - 05-30-2010 03:59 PM 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? RE: proftpd slow authentication - joximu - 05-31-2010 07:09 AM try to start proftpd with debugging output (see other posts about proftpd problems) then you might see where the problem is... /J RE: proftpd slow authentication - sidha - 06-02-2010 06:30 PM 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. RE: proftpd slow authentication - joximu - 06-03-2010 07:35 AM ah. the include loads rules so that the customers cannot delete some important folders in their home (htdocs, backups etc)... /J RE: proftpd slow authentication - sidha - 06-04-2010 08:35 PM 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 :-) RE: proftpd slow authentication - BeNe - 06-04-2010 10:01 PM We know that behavior, but there is no better workaround these days. Greez BeNe RE: proftpd slow authentication - SniperSister - 07-03-2010 01:04 AM 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 RE: proftpd slow authentication - Minganus - 02-09-2011 04:38 AM Here some additional solutions http://isp-control.net/forum/thread-9064-post-94835.html |