LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-15-2012, 01:35 AM   #1
explorer1979
Member
 
Registered: Aug 2001
Location: Hong Kong, China
Distribution: CentOS, Red Hat, Mandrake, Debian
Posts: 88

Rep: Reputation: 15
Question CentOS 6 FTP super slowly


Hi all,

I am success install the vsftpd and it working, I install the CentOS on VMWare for testing first, but have a super big problems there, I am using FileZilla FTP Client, both the CentOS and my workstation are in the same LAN 10.10.10.x/255.255.255.0

When I am using vsftpd, login as local user, send phpmyadmin to my home folder, it will super super slowly, just about 8KB/S in a 100M LAN??? and it look like using PASV mode, what is wrong on my vsftpd setting? I am force the firewall and SELinux disable and reboot also same. Any idea or suggestion?

And then I uninstall the vsftpd, add the EPEL list then install pure-ftpd for a try, same result.

But if I am using FileZilla FTP Client with SFTP, the speed will go up faster like upload to ISP's ftp. Why with that result on using SFTP???

Thank you very much.
 
Old 01-15-2012, 04:44 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by explorer1979 View Post
And then I uninstall the vsftpd, add the EPEL list then install pure-ftpd for a try, same result.
Removing and re-installing software, or installing other software, for fear of properly configuring a service never is the answer with Linux.


Quote:
Originally Posted by explorer1979 View Post
I am force the firewall and SELinux disable and reboot also same.
Debugging firewall rules is easy intersperse "-j LOG" rules and watch /var/log/messages or watch rule counters increment (or not ;p) using
Code:
watch -n 1 "/sbin/iptables -n --line-numbers -t filter -L -v -x | grep ^[0-9] | sort -bgrk 2"
Fixing SELinux problems usually is easy too: grep /var/log/messages for setroubleshoot messages and act on them. SELinux has improved considerably over the years and by default tutorials or replies that advertise disabling SELinux before doing anything else are often outdated or the product of the misinformed or the lazy.


Quote:
Originally Posted by explorer1979 View Post
When I am using vsftpd,(..) it will super super slowly, just about 8KB/S in a 100M LAN??? (..) But if I am using (..) SFTP, the speed will go up faster like upload to ISP's ftp.
What type of connection (bridged versus shared connection) does the VMware guest use?
What firewall rules ('/sbin/iptables-save > /tmp/fwrules.log' and attach plain text "/tmp/fwrules.log") does the VMware guest use?


Quote:
Originally Posted by explorer1979 View Post
and it look like using PASV mode, what is wrong on my vsftpd setting?
If "connect_from_port_20=NO" is set in vsftpd.conf then it forces PASV mode, so check your configuration file.
 
Old 01-15-2012, 07:38 AM   #3
explorer1979
Member
 
Registered: Aug 2001
Location: Hong Kong, China
Distribution: CentOS, Red Hat, Mandrake, Debian
Posts: 88

Original Poster
Rep: Reputation: 15
unSpawn,

Thank you very much give many detail hints.

I fix the problems by install it on a very old computer and connect to the SonicWALL router other than the Cisco, it work no problems, I learning more from your hints.

Now I need more quickly move my web site from the Windows box to Linux box.

Thank you very much again of your kindly help.
 
  


Reply



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
How to make ordinary ftp user as a super user jsaravana87 Linux - Server 1 10-21-2011 04:37 PM
[SOLVED] How can i create user super in centos jsaravana87 Linux - Server 4 09-07-2011 03:45 AM
FTP on Centos rmuralidharsharma Linux - Newbie 10 08-23-2010 01:27 AM
windows move slowly (repaint/redraw) and firefox scrolls slowly with ATI driver netrek Debian 3 11-20-2009 01:18 PM
nfs write == super slow; read == super fast - problem? BrianK Linux - Networking 4 08-23-2007 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:43 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
Open Source Consulting | Domain Registration