pure-ftpd 100% cpu usage
I'm using Linode 1024 and the server is not even lived yet. I'm using it for deployment and testing process only.
I keep getting notification of exceeding cpu usage allocation from Linode almost every week. Here's what I found on the on the server using top command.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
17545 web17 20 0 40812 2676 1880 R 100 0.3 71:16.31 pure-ftpd-mysql
17631 web17 20 0 40812 2676 1880 R 100 0.3 66:13.26 pure-ftpd-mysql
17728 web17 20 0 40812 2680 1880 R 100 0.3 63:25.91 pure-ftpd-mysql
I decided to kill them all, but I wonder why it's spiking that bad?
I'm enabling SSL/TLS option on Ubuntu 10.04 pure-ftp conf with ISPConfig 3.4 as the control panel working as a slave to another ISPConfig master installation on other server.
I'm using Transmit 4.1.7 with Passive Mode on.
Any thought on this?
9 Replies
That's when I uploaded and downloaded quite a couple hundred files, which I believe will not exceed a thousand.
I notice that this might happened during the upload/download. Should I try replicate the problem again? If yes it's caused by uploading/downloading quite a lot of files, do you think there is something that I can do to avoid this?
Anybody have some thought on this?
PS: I'm quite clueless at the moment.
EDITED:
After some heavy testing, the FTP back to 100% usage
What about SFTP? Does that give load issues as well when transferring a lot of/ large files? Or is it purely through FTP?
I assume you did try reinstalling the ftpd?
Note: I do everything through SFTP - perhaps that'll work for you as well to prevent the problem. It's not a solution, but at least you won't have problems transferring files anymore. (and it's more secure)
@rsk: I'm very sure it's not that, coz I monitored using top while uploading and the pid was created during the upload. Considering that maybe there's trojan on my computer, but I can reproduce the same problem with the other computer as well.
The article title is a bit misleading somehow, considering that I use OpenVZ on my other VPS and it works just fine, while on Linode under Xen I'm facing this problem.
Hope it helps other tat might face the same problem as me.
Happy administering!