FTP Server Constantly falling over


I had up till earlier a working FTP server; suddenly now it will stop after 5-10 mins of activity. I login and restart it, then it stops 5mins later.




Howdy -- you could be seeing a resource issue there.

What is the output of these commands:

free -m
dmesg | tail -30

Hmm, yeah that all looks normal there. And you certainly have plenty of RAM.

Are you perhaps seeing any errors in /var/log/messages, or any of the logs in /var/log/proftpd, at about the time the service is stopping?


Was the first thing I did to check them. Nothing useful in the logs that I could find.

Hmm, it looks like you have plenty of resources, and I'm not seeing any kernel related errors.

The primary reason for a service to die off is if it's low on resources.

But I'm not seeing any resource issues there, and it doesn't sound like you're seeing other related errors in the logs.

That's very bizarre!

Maybe we should double-check your ProFTPd version, what is the output of this command:

rpm -qa | grep proftp

Hi, forgot to update this.

The output was: proftpd-1.3.5d-2.el7.x86_64

Still cant figure out why it crashes so much but I wrote a script that just force reboots it.

We had another user who was seeing problems due to a client that was trying to log in every second (due to an incorrectly configured app on their desktop).

I'm otherwise at a bit of a loss for what might be causing that.

Roughly how often is it crashing?

Between 4 hours and 24 hours.

I know this isn't ideal, though one other way to help keep things running would be to go into Webmin -> Other -> System and Server Status.

There, you can setup a Monitor for the ProFTPd Server.

If the server goes down, Webmin will just restart it.

We'll look into possible causes for this, but in the meantime that should help keep things running.