Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-22-2010, 09:36 AM   #1
Registered: Feb 2003
Location: Ohio, USA
Distribution: Ubuntu, Debian, CentOS
Posts: 99

Rep: Reputation: 25
Connections to proftpd server stall on authentication phase

This is on an Ubuntu 8.04 LTS server running proftpd v1.3.1

We have a client that's been having issues connecting to the ftp. After some investigations I noticed restarting proftpd fixed it for a while. I last restarted it yesterday. I came in this morning, ran ftpwho and this is the output I have:

standalone FTP daemon [25180], up for 18 hrs 54 min
26263 (none)   [10h48m] (authenticating)
26274 (none)   [10h48m] (authenticating)
26540 (none)   [ 7h47m] (authenticating)
26563 (none)   [ 7h46m] (authenticating)
27003 (none)   [14m25s] (authenticating)
Service class                      -   5 users
It should not spend 10 hours authenticating. Here are all the timeouts from config:

$ grep "^Timeout" /etc/proftpd/proftpd.conf 
TimeoutNoTransfer		600
TimeoutStalled			600
TimeoutIdle			600
TimeoutStalled			600
We require TLS to connect to server. Typical login time is around 11 seconds. When does the timer for TimeoutSession start counting? Could set it to 2 hours which would be way longer than what they would have a single session open for. I have full session logging and only thing I'm seeing in logs are message about "Maximum login attempts (3) exceeded, connection refused" which is probably because of all these stale login attempts that are sitting around. If TimoutSession wouldn't fix it, what would? Thanks.

I've since migrated to vsftpd. While the handling of virtual hosts in 8.04 is pretty much non existent right now this only involves one host so it's not all bad. Login time with vsftpd is almost instantaneous (I'm VNC'd into the computer I'm testing on so couldn't get exact time). I'll mention on here if things still aren't working.

Last edited by vrillusions; 01-22-2010 at 03:30 PM.


authentication, proftpd, timeouts

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Irregular connections / request for authentication on open Samba server with Windows7 kleptophobiac Linux - Server 1 09-22-2009 05:50 AM
Proftpd with Mysql authentication on ubuntu server freddo Linux - Server 3 01-11-2008 02:57 AM
TCP connections stall after a while on FC5 Pepijn Schmitz Linux - Networking 7 12-09-2006 04:51 PM
TCP Connections stall through debian router BigWillyStyle42 Linux - Networking 3 05-13-2005 06:38 AM
[PROFTPD] Ldap and proftpd authentication wesleywest Linux - Software 1 02-22-2005 10:51 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration