[CentOS] vsftpd resource hogging on 4.2

Mon Nov 7 02:44:10 UTC 2005
Chris Mauritz <chrism at imntv.com>

I've just noticed an odd bit of behaviour with 4.2.  I'm using FTP to 
send a number of large binary files from a windows 2000 machine to a 
CentOS 4.2 system.  Both systems are similarly configured  (Athlon64 
3200+, 1gig RAM, 80gig system disk, 1.2TB scratch RAID 0 array, gigabit 
ether to a dumb switch on which they are the only hosts).  On the very 
first file, about 17.5gigs, I got about 30MB/sec.  Not spectacular, but 
reasonably fast.  On subsequent files, I only get about 25% of that 
throughput and vsftpd on the CentOS machine is eating 99.9% of the cpu, 
which is probably what is killing performance.  Both machines are 
reading or writing to a RAID 0 array of 4 reasonably fast drives so I'm 
assuming that's not the bottleneck.  I've also disabled SElinux and 
iptables on the Linux machine since the machines are in a non-internet 
sandbox.

Any suggestions would be greatly appreciated.

Cheers,