LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-25-2006, 12:33 PM   #1
ve6frm1
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
VERY Slow vsftpd on Fedora



Well kinda any how!

I am setting up a simple single project server for the office... I chose the new Fedora, and installed only the Minimum of the server systems.

The project is to get a simple, relatively low use FTP site up for data transfer between offices.

I chose the vsftp and the Fedora due to the rave reviews about the speed and the security of the pair, and for the first week it seemed that all was going well..... the file transfer to the server via a wsftp / windows system was fast and seemed very efficient..... it hit speeds of up to 6Mbps... so no real slouch.

The speed problem is from the server end!
It seems that the server has a limit of about 2000 bytes and then it goes to sleep! I can log in fine, and if the home directory is empty or nearly empty then the system flies. As soon as the directory increases in size to anything over about 15 entries, the system takes forever to give me the listing...PLUS if you get a file transfer going, the flow goes for about 2000 bytes and then changes from the gazelle that I have heard so much about to a snail....

I have turned off all firewalls (that I know of)
I have read similar postings across the web and on this site.
I have turned off the dns lookup (to the best of my knowledge)
I have tried PASV and nonPASV.
I have even done the "alis ipv6 /bin/true" thing that I found on this site....

NO LUCK.....
Pointers PLEASE

Fred
"lost in linux"
 
Old 05-25-2006, 11:14 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Your symptoms sound a lot like you need to tweak iptables/netfilter, although I'm a bit baffled as to why when you shut your firewall off the problem did not go away.

In any case, edit the file /etc/sysconfig/iptables-config. Find the parameter
Code:
IPTABLES_MODULES=""
and change it to
Code:
IPTABLES_MODULES="ip_conntrack_ftp"
(If you already had a value in place for that parameter, you can keep it there and add ip_conntrack_ftp with spaces as delimiters.)

Now, restart iptables.
Code:
service iptables restart
And try again from a ftp client. That should solve your problem. If it does not, you're on your own.

Good luck.
 
Old 05-25-2006, 11:15 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Actually, if that doesn't fix it, post your iptables setup.
Code:
iptables -nvL
 
Old 05-26-2006, 11:51 AM   #4
ve6frm1
LQ Newbie
 
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
I tried that and the IP table appears right.....but now I cant even start a download...... I got frustrated and started going back over things.... I set in the DNS address's again... and rebooted (again... for the umteenth time.... reminisant of Windoze).... and now the system downloads... but still very very slow... like it is timing out on the DNS....

Is there a proper way of shutting down the DNS Lookup, since all access is directly by IP number.... and no nameing is in place????????

Fred
"Lost in Linux"
 
  


Reply


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
vsftpd (w/ Fedora Core 4) File Write Problems kaireapr Linux - Software 22 04-21-2007 02:46 PM
vsFTPd 2.0.3 on Fedora 4 russcoh Linux - Software 1 12-16-2005 12:53 AM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 02:39 PM
Change VSFTPD Port Fedora 2 br00tal Linux - Networking 3 04-09-2005 10:35 AM
VERY slow vsftpd pembo13 Linux - Networking 3 08-15-2004 08:31 AM


All times are GMT -5. The time now is 08:37 PM.

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