pure-ftp issue

I have a strange problem with pure-ftp.

Server specs:
Barton 3000 2GB RAM

pure-ftp installed from source as I need it for a special app.

These are enabled

-A -b -B -c 50 -C 2 -E -j -k 99 -I 5 -m 4 -o -s -w -X

My problem:
when pure-ftp runs server load average is 4-6 but id is 30-40%
The rest of services run very well.
Also,
free -m
total used free shared buffers cached
Mem: 1995 1890 104 0 397 762
-/+ buffers/cache: 730 1264
Swap: 1027 6 1020

hdparm -Tt /dev/hda

/dev/hda:
Timing cached reads: 976 MB in 2.29 seconds = 425.34 MB/sec
Timing buffered disk reads: 54 MB in 3.04 seconds = 17.74 MB/sec


When I killall pure-ftpd, system load is back to 0.5-1 average.

I really don't know why pure-ftpd can cause this load as maximum connections allowed are 50.

If someone could give me a hint, how to optimize pure-ftp, I'll be very grateful.

 

 

 

 

Top