Submitted by JackB on Wed, 03/08/2017 - 12:21
Hi,
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.
Regards
Status:
Active
Hi,
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.
Regards
Comments
Submitted by andreychek on Wed, 03/08/2017 - 12:33 Comment #1
Howdy -- you could be seeing a resource issue there.
What is the output of these commands:
uptime
free -m
dmesg | tail -30
Submitted by andreychek on Thu, 03/09/2017 - 22:37 Comment #3
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?
Submitted by JackB on Fri, 03/10/2017 - 08:32 Comment #4
Nope,
Was the first thing I did to check them. Nothing useful in the logs that I could find.
Submitted by andreychek on Fri, 03/10/2017 - 09:19 Comment #5
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
Submitted by JackB on Mon, 03/27/2017 - 02:50 Comment #6
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.
Submitted by andreychek on Mon, 03/27/2017 - 08:53 Comment #7
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?
Submitted by JackB on Mon, 03/27/2017 - 17:22 Comment #8
Between 4 hours and 24 hours.
Submitted by andreychek on Mon, 03/27/2017 - 22:13 Comment #9
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.