FTP dies after a couple of days

In short: I setup a new server with the current script (downloaded Midth of May) and everything seems to work. But FTP does not. When the server runs a couple of days, it won’t accept any FTP connection. So i have to reboot, and then FTP works like magic. Some days later, FTP dies again. Anything i can check in order to have continious FTP access?

Thanks and best

Howdy,

How much RAM does your server have? You can determine that by running this command:

free -m

Also, after FTP stops working, what is the output of this command:

dmesg | tail -30

root@server04 ~ # free -m
                    total       used       free     shared    buffers     cached
Mem:         15960       2403      13557         21        236        899
-/+ buffers/cache:       1267      14693
Swap:         8187          0       8187

and dmesg:

root@server04 ~ # dmesg | tail -30
[   10.521823] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conf                            licts with Region \_GPE.GPIO 2 (20131115/utaddress-251)
[   10.521826] ACPI: If an ACPI driver is available for this device, you should                             use it instead of the native driver
[   10.521827] lpc_ich: Resource conflict(s) found affecting gpio_ich
[   10.522168] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   10.545343] asus_wmi: ASUS WMI generic driver loaded
[   10.555346] asus_wmi: Initialization: 0x0
[   10.555367] asus_wmi: BIOS WMI version: 0.9
[   10.555407] asus_wmi: SFUN value: 0x0
[   10.555692] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/in                            put3
[   10.557906] asus_wmi: Backlight controlled by ACPI video driver
[   10.567330] type=1400 audit(1433775483.313:2): apparmor="STATUS" operation="p                            rofile_load" profile="unconfined" name="/sbin/dhclient" pid=489 comm="apparmor_p                            arser"
[   10.567335] type=1400 audit(1433775483.313:3): apparmor="STATUS" operation="p                            rofile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.a                            ction" pid=489 comm="apparmor_parser"
[   10.567338] type=1400 audit(1433775483.313:4): apparmor="STATUS" operation="p                            rofile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script                            " pid=489 comm="apparmor_parser"
[   10.567641] type=1400 audit(1433775483.313:5): apparmor="STATUS" operation="p                            rofile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-clien                            t.action" pid=489 comm="apparmor_parser"
[   10.567645] type=1400 audit(1433775483.313:6): apparmor="STATUS" operation="p                            rofile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-scr                            ipt" pid=489 comm="apparmor_parser"
[   10.567795] type=1400 audit(1433775483.313:7): apparmor="STATUS" operation="p                            rofile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-scr                            ipt" pid=489 comm="apparmor_parser"
[   10.570235] type=1400 audit(1433775483.313:8): apparmor="STATUS" operation="p                            rofile_replace" profile="unconfined" name="/sbin/dhclient" pid=494 comm="apparmo                            r_parser"
[   10.570239] type=1400 audit(1433775483.313:9): apparmor="STATUS" operation="p                            rofile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-clien                            t.action" pid=494 comm="apparmor_parser"
[   10.570243] type=1400 audit(1433775483.313:10): apparmor="STATUS" operation="                            profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-sc                            ript" pid=494 comm="apparmor_parser"
[   10.570638] type=1400 audit(1433775483.317:11): apparmor="STATUS" operation="                            profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-clie                            nt.action" pid=494 comm="apparmor_parser"
[   10.830263] r8169 0000:03:00.0 eth0: link down
[   10.830276] r8169 0000:03:00.0 eth0: link down
[   10.830326] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   11.490227] EXT4-fs (md3): mounted filesystem with ordered data mode. Opts: g                            rpquota,usrquota
[   11.591216] init: failsafe main process (741) killed by TERM signal
[   13.768544] r8169 0000:03:00.0 eth0: link up
[   13.768555] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.102074] init: plymouth-upstart-bridge main process ended, respawning
[392065.711449] perf samples too long (2505 > 2500), lowering kernel.perf_event_                            max_sample_rate to 50000
[460163.107354] UDP: bad checksum. From 46.183.220.250:3099 to x.x.x.x:1900                             ulen 105

Thanks for help.

Howdy,

Hmm, on one hand, it looks like your server has 16GB of RAM, which is quite a bit.

On the other hand, it’s currently used nearly 14GB of that.

That suggests to me that something on your server is using quite a bit of RAM, and could potentially be the source of the issue you’re seeing (that is, if the Linux kernel runs low on RAM, it will start killing processes).

You could always run the “top” command, and sort the output by memory usage, to get an idea of what the top memory users are.

I personally tend to run “ps auxwf” though, and review all the processes that are output to try and determine what’s using the memory.

Feel free to post the output of “ps auxwf” here, and we can try and help determine what’s going on there.

-Eric

Howdy,

Yeah it does look like you have a good bit of RAM still available.

Do you see anything in the logs when that occurs?

Also, which distro/version is it that you’re using?

-Eric

Here it is:

well, if i put the following Part into code brackets, the complete post will be gone. so i have to put this in plain text ;-(

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S Jun08 0:00 [kthreadd]

root 3 0.0 0.0 0 0 ? S Jun08 0:01 _ [ksoftirqd/ 0]

root 4 0.0 0.0 0 0 ? S Jun08 0:00 _ [kworker/0: 0]

root 5 0.0 0.0 0 0 ? S< Jun08 0:00 _ [kworker/0: 0H]

root 6 0.0 0.0 0 0 ? S Jun08 0:20 _ [kworker/u1 6:0]

root 7 0.0 0.0 0 0 ? S Jun08 6:40 _ [rcu_sched]

root 8 0.0 0.0 0 0 ? S Jun08 3:04 _ [rcuos/0]

root 9 0.0 0.0 0 0 ? S Jun08 2:52 _ [rcuos/1]

root 10 0.0 0.0 0 0 ? S Jun08 2:50 _ [rcuos/2]

root 11 0.0 0.0 0 0 ? S Jun08 3:19 _ [rcuos/3]

root 12 0.0 0.0 0 0 ? S Jun08 0:56 _ [rcuos/4]

root 13 0.0 0.0 0 0 ? S Jun08 1:34 _ [rcuos/5]

root 14 0.0 0.0 0 0 ? S Jun08 1:02 _ [rcuos/6]

root 15 0.0 0.0 0 0 ? S Jun08 1:12 _ [rcuos/7]

root 16 0.0 0.0 0 0 ? S Jun08 0:00 _ [rcu_bh]

root 17 0.0 0.0 0 0 ? S Jun08 0:00 _ [rcuob/0]

root 18 0.0 0.0 0 0 ? S Jun08 0:00 _ [rcuob/1]

root 19 0.0 0.0 0 0 ? S Jun08 0:00 _ [rcuob/2]

root 20 0.0 0.0 0 0 ? S Jun08 0:00 _ [rcuob/3]

root 21 0.0 0.0 0 0 ? S Jun08 0:00 _ [rcuob/4]

root 22 0.0 0.0 0 0 ? S Jun08 0:00 _ [rcuob/5]

root 23 0.0 0.0 0 0 ? S Jun08 0:00 _ [rcuob/6]

root 24 0.0 0.0 0 0 ? S Jun08 0:00 _ [rcuob/7]

root 25 0.0 0.0 0 0 ? S Jun08 0:00 _ [migration/0]

root 26 0.0 0.0 0 0 ? S Jun08 0:03 _
[watchdog/0 ]

root 27 0.0 0.0 0 0 ? S Jun08 0:03 _ [watchdog/1 ]

root 28 0.0 0.0 0 0 ? S Jun08 0:00 _ [migration/ 1]

root 29 0.0 0.0 0 0 ? S Jun08 0:00 _ [ksoftirqd/ 1]

root 30 0.0 0.0 0 0 ? S Jun08 0:00 _ [kworker/1: 0]

root 31 0.0 0.0 0 0 ? S< Jun08 0:00 _ [kworker/1: 0H]

root 32 0.0 0.0 0 0 ? S Jun08 0:03 _ [watchdog/2 ]

root 33 0.0 0.0 0 0 ? S Jun08 0:00 _ [migration/ 2]

root 34 0.0 0.0 0 0 ? S Jun08 0:00 _ [ksoftirqd/ 2]

root 35 0.0 0.0 0 0 ? S Jun08 0:00 _ [kworker/2: 0]

root 36 0.0 0.0 0 0 ? S< Jun08 0:00 _ [kworker/2: 0H]

root 37 0.0 0.0 0 0 ? S Jun08 0:03 _ [watchdog/3 ]

root 38 0.0 0.0 0 0 ? S Jun08 0:00 _ [migration/ 3]

root 39 0.0 0.0 0 0 ? S Jun08 0:00 _ [ksoftirqd/ 3]

root 40 0.0 0.0 0 0 ? S Jun08 0:00 _ [kworker/3: 0]

root 41 0.0 0.0 0 0 ? S< Jun08 0:00 _ [kworker/3: 0H]

root 42 0.0 0.0 0 0 ? S Jun08 0:03 _ [watchdog/4 ]

root 43 0.0 0.0 0 0 ? S Jun08 0:02 _ [migration/ 4]

root 44 0.0 0.0 0 0 ? S Jun08 0:00 _ [ksoftirqd/ 4]

root 45 0.0 0.0 0 0 ? S Jun08 0:00 _ [kworker/4: 0]

root 46 0.0 0.0 0 0 ? S< Jun08 0:00 _ [kworker/4: 0H]

root 47 0.0 0.0 0 0 ? S Jun08 0:02 _ [watchdog/5 ]

root 48 0.0 0.0 0 0 ? S Jun08 0:02 _ [migration/ 5]

root 49 0.0 0.0 0 0 ? S Jun08 0:00 _ [ksoftirqd/ 5]

root 50 0.0 0.0 0 0 ? S Jun08 0:00 _ [kworker/5: 0]

root 51 0.0 0.0 0 0 ? S< Jun08 0:00 _ [kworker/5: 0H]

root 52 0.0 0.0 0 0 ? S Jun08 0:02 _ [watchdog/6 ]

root 53 0.0 0.0 0 0 ? S Jun08 0:01 _ [migration/ 6]

root 54 0.0 0.0 0 0 ? S Jun08 0:00 _ [ksoftirqd/ 6]

root 55 0.0 0.0 0 0 ? S Jun08 0:00 _ [kworker/6: 0]

root 56 0.0 0.0 0 0 ? S< Jun08 0:00 _ [kworker/6: 0H]

root 57 0.0 0.0 0 0 ? S Jun08 0:02 _ [watchdog/7 ]

root 58 0.0 0.0 0 0 ? S Jun08 0:02 _ [migration/ 7]

root 59 0.0 0.0 0 0 ? S Jun08 0:00 _ [ksoftirqd/ 7]

root 60 0.0 0.0 0 0 ? S Jun08 0:00 _ [kworker/7: 0]

root 61 0.0 0.0 0 0 ? S< Jun08 0:00 _ [kworker/7: 0H]

root 62 0.0 0.0 0 0 ? S< Jun08 0:00 _ [khelper]

root 63 0.0 0.0 0 0 ? S Jun08 0:00 _ [kdevtmpfs]

root 64 0.0 0.0 0 0 ? S< Jun08 0:00 _ [netns]

root 65 0.0 0.0 0 0 ? S< Jun08 0:00 _ [writeback]

root 66 0.0 0.0 0 0 ? S< Jun08 0:00 _
[kintegrity d]

root 67 0.0 0.0 0 0 ? S< Jun08 0:00 _ [bioset]

root 69 0.0 0.0 0 0 ? S< Jun08 0:00 _ [kblockd]

root 70 0.0 0.0 0 0 ? S< Jun08 0:00 _ [ata_sff]

root 71 0.0 0.0 0 0 ? S Jun08 0:00 _ [khubd]

root 72 0.0 0.0 0 0 ? S< Jun08 0:00 _ [md]

root 73 0.0 0.0 0 0 ? S< Jun08 0:00 _ [devfreq_wq ]

root 74 0.0 0.0 0 0 ? S Jun08 0:07 _ [kworker/0: 1]

root 76 0.0 0.0 0 0 ? S Jun08 0:00 _ [khungtaskd ]

root 77 0.0 0.0 0 0 ? S Jun08 0:00 _ [kswapd0]

root 78 0.0 0.0 0 0 ? SN Jun08 0:00 _ [ksmd]

root 79 0.0 0.0 0 0 ? SN Jun08 0:09 _ [khugepaged ]

root 80 0.0 0.0 0 0 ? S Jun08 0:00 _ [fsnotify_m ark]

root 81 0.0 0.0 0 0 ? S Jun08 0:00 _ [ecryptfs-k threa]

root 82 0.0 0.0 0 0 ? S< Jun08 0:00 _ [crypto]

root 94 0.0 0.0 0 0 ? S< Jun08 0:00 _ [kthrotld]

root 96 0.0 0.0 0 0 ? S Jun08 0:04 _ [kworker/7: 1]

root 97 0.0 0.0 0 0 ? S Jun08 0:06 _ [kworker/1: 1]

root 98 0.0 0.0 0 0 ? S Jun08 0:07 _ [kworker/2: 1]

root 99 0.0 0.0 0 0 ? S Jun08 0:09 _ [kworker/3: 1]

root 118 0.0 0.0 0 0 ? S< Jun08 0:00 _ [deferwq]

root 119 0.0 0.0 0 0 ? S< Jun08 0:00 _ [charger_ma nager]

root 125 0.0 0.0 0 0 ? S Jun08 0:13 _ [kworker/4: 1]

root 184 0.0 0.0 0 0 ? S Jun08 0:00 _ [scsi_eh_0]

root 185 0.0 0.0 0 0 ? S Jun08 0:00 _ [scsi_eh_1]

root 186 0.0 0.0 0 0 ? S Jun08 0:00 _ [scsi_eh_2]

root 187 0.0 0.0 0 0 ? S Jun08 0:00 _ [scsi_eh_3]

root 188 0.0 0.0 0 0 ? S Jun08 0:00 _ [scsi_eh_4]

root 189 0.0 0.0 0 0 ? S Jun08 0:00 _ [scsi_eh_5]

root 195 0.0 0.0 0 0 ? S Jun08 0:00 _ [kworker/u1 6:7]

root 196 0.0 0.0 0 0 ? S< Jun08 0:00 _ [raid5wq]

root 227 0.0 0.0 0 0 ? S< Jun08 0:00 _ [bioset]

root 228 0.0 0.0 0 0 ? S Jun08 0:00 _ [md0_raid1]

root 235 0.0 0.0 0 0 ? S< Jun08 0:00 _ [bioset]

root 236 0.0 0.0 0 0 ? S Jun08 1:04 _ [md2_raid1]

root 240 0.0 0.0 0 0 ? S< Jun08 0:00 _ [bioset]

root 241 0.0 0.0 0 0 ? S Jun08 0:00 _ [md1_raid1]

root 247 0.0 0.0 0 0 ? S< Jun08 0:00 _ [bioset]

root 248 0.0 0.0 0 0 ? S Jun08 0:00 _ [md3_raid1]

root 253 0.0 0.0 0 0 ? S Jun08 0:06 _ [kworker/5: 1]

root 254 0.0 0.0 0 0 ? S< Jun08 0:00 _ [bioset]

root 261 0.0 0.0 0 0 ? S Jun08 0:05 _ [kworker/6: 1]

root 264 0.0 0.0 0 0 ? S Jun08 0:37 _ [jbd2/md2-8 ]

root 265 0.0 0.0 0 0 ? S< Jun08 0:00 _ [ext4-rsv-c onver]

root 426 0.0 0.0 0 0 ? S Jun08 0:00 _ [jbd2/md1-8 ]

root 427 0.0 0.0 0 0 ? S< Jun08 0:00 _ [ext4-rsv-c onver]

root 487 0.0 0.0 0 0 ? S< Jun08 0:00 _ [kvm-irqfd- clean]

root 488 0.0 0.0 0 0 ? S< Jun08 0:00 _ [led_workqu eue]

root 591 0.0 0.0 0 0 ? S Jun08 0:00 _ [jbd2/md3-8 ]

root 596 0.0 0.0 0 0 ? S< Jun08 0:00 _ [ext4-rsv-c onver]

root 2387 0.0 0.0 0 0 ? S Jun08 0:00 _ [kauditd]

root 31374 0.0 0.0 0 0 ? S< 11:05 0:00 _ [kworker/u1 7:2]

root 2147 0.0 0.0 0 0 ? S< 11:52 0:00 _ [kworker/u1 7:1]

root 1 0.0 0.0 33740 3112 ? Ss Jun08 0:08 /sbin/init

root 398 0.0 0.0 19604 912 ? S Jun08 0:00 upstart-udev-br idge --daemon

root 408 0.0 0.0 51456 1788 ? Ss Jun08 0:00 /lib/systemd/sy stemd-udevd --daemon

root 558 0.0 0.0 15256 680 ? S Jun08 0:00 upstart-socket- bridge --daemonsyslog 780 0.0 0.1 256228 29224 ? Ssl Jun08 1:17 rsyslogd

root 786 0.0 0.0 15272 644 ? S Jun08 0:00 upstart-file-br idge --daemon
message+ 841 0.0 0.0 39216 1320 ? Ss Jun08 0:39 dbus-daemon --s ystem --fork

root 930 0.0 0.0 44052 2484 ? Ss Jun08 0:39 /lib/systemd/sy stemd-logind

root 1015 0.0 0.0 15816 964 tty4 Ss+ Jun08 0:00 /sbin/getty -8 38400 tty4

root 1018 0.0 0.0 15816 964 tty5 Ss+ Jun08 0:00 /sbin/getty -8 38400 tty5

root 1022 0.0 0.0 15816 952 tty2 Ss+ Jun08 0:00 /sbin/getty -8 38400 tty2

root 1023 0.0 0.0 15816 960 tty3 Ss+ Jun08 0:00 /sbin/getty -8 38400 tty3

root 1027 0.0 0.0 15816 952 tty6 Ss+ Jun08 0:00 /sbin/getty -8 38400 tty6

root 1043 0.0 0.0 17772 1520 ? Ss Jun08 0:20 /usr/sbin/dovec ot -F -c /etc/dovecot/dovecot.conf
dovecot 1335 0.0 0.0 9280 960 ? S Jun08 0:11 _ dovecot/anv il

root 1336 0.0 0.0 9408 1156 ? S Jun08 0:08 _ dovecot/log

root 4338 0.0 0.0 18600 2104 ? S 04:28 0:00 _ dovecot/con fig
dovecot 4339 0.0 0.0 16124 1392 ? S 04:28 0:00 _ dovecot/aut h

root 4340 0.0 0.0 13228 1280 ? S 04:28 0:00 _ dovecot/ssl -params

root 1054 0.0 0.0 4364 664 ? Ss Jun08 0:00 acpid -c /etc/a cpi/events -s /var/run/acpid.socket

root 1131 0.0 0.0 23652 1044 ? Ss Jun08 0:01 cron

mysql 1156 0.0 1.1 1140820 188964 ? Ssl Jun08 8:33 /usr/sbin/mysql d

bind 1173 0.0 0.2 690692 44800 ? Ssl Jun08 1:19 /usr/sbin/named -u bind

root 1188 0.0 0.0 19184 756 ? Ss Jun08 0:53 /usr/sbin/irqba lance

postgres 1354 0.0 0.0 247732 16180 ? S Jun08 0:48 /usr/lib/postgr esql/9.3/bin/postgres -D /var/lib/postgresql/9.3/mai

postgres 1369 0.0 0.0 247732 1888 ? Ss Jun08 0:00 _ postgres: c heckpointer process

postgres 1370 0.0 0.0 247732 2684 ? Ss Jun08 0:04 _ postgres: w riter process

postgres 1371 0.0 0.0 247732 1672 ? Ss Jun08 0:04 _ postgres: w al writer process

postgres 1372 0.0 0.0 248592 3096 ? Ss Jun08 0:41 _ postgres: a utovacuum launcher process

postgres 1373 0.0 0.0 103688 1968 ? Ss Jun08 1:26 _ postgres: s tats collector process

clamav 1644 0.0 0.0 54652 2880 ? Ss Jun08 11:18 /usr/bin/freshc lam -d --quiet

root 1726 0.0 0.0 61364 3076 ? Ss Jun08 0:22 /usr/sbin/sshd -D

root 5644 0.1 0.0 105632 4312 ? Ss 12:55 0:00 _ sshd: root@ pts/0

root 5663 0.5 0.0 23060 4232 pts/0 Ss 12:55 0:00 _ -bash

root 5686 0.0 0.0 18604 1468 pts/0 R+ 12:55 0:00 _ ps -auxwf

root 1727 0.0 0.0 9472 3508 ? Ss Jun08 6:09 /usr/sbin/haveg ed -w 1024

root 1847 0.0 0.0 25340 1696 ? Ss Jun08 0:05 /usr/lib/postfi x/master

postfix 1860 0.0 0.0 27572 1568 ? S Jun08 0:00 _ qmgr -l -t unix -u

postfix 8398 0.0 0.0 40308 3136 ? S Jun08 0:00 _ tlsmgr -l - t unix -u -c

postfix 4780 0.0 0.0 27404 1536 ? S 12:39 0:00 _ pickup -l - t unix -u -c

root 1885 0.0 0.0 93152 2032 ? Ss Jun08 0:00 /usr/sbin/sasla uthd -a pam -m /var/spool/postfix/var/run/saslauthd

root 1886 0.0 0.0 93152 2032 ? S Jun08 0:00 _ /usr/sbin/s aslauthd -a pam -m /var/spool/postfix/var/run/saslau

root 1887 0.0 0.0 93152 2028 ? S Jun08 0:00 _ /usr/sbin/s aslauthd -a pam -m /var/spool/postfix/var/run/saslau

root 1889 0.0 0.0 93152 2024 ? S Jun08 0:00 _ /usr/sbin/s aslauthd -a pam -m /var/spool/postfix/var/run/saslau

root 1890 0.0 0.0 93152 2032 ? S Jun08 0:00 _ /usr/sbin/s aslauthd -a pam -m /var/spool/postfix/var/run/saslau

root 2388 0.0 0.1 76792 19216 ? Ss Jun08 0:09 /usr/bin/perl / usr/share/usermin/miniserv.pl /etc/usermin/miniserv.

root 2431 0.0 0.0 13408 708 ? Ss Jun08 0:00 /sbin/mdadm --m onitor --pid-file /run/mdadm/monitor.pid --daemonise

root 2495 0.0 0.1 460664 26224 ? Ss Jun08 0:22 /usr/sbin/apach e2 -k start

www-data 23321 0.0 0.0 238728 8440 ? S Jun21 0:00 _ /usr/sbin/a pache2 -k start

www-data 23326 0.0 0.2 477672 38456 ? S Jun21 0:02 _ /usr/sbin/a pache2 -k start

www-data 23867 0.0 0.1 468104 31892 ? S Jun21 0:08 _ /usr/sbin/a pache2 -k start

www-data 6247 0.0 0.2 488224 39648 ? S Jun21 0:07 _ /usr/sbin/a pache2 -k start

www-data 6249 0.0 0.2 485768 37592 ? S Jun21 0:02 _ /usr/sbin/a pache2 -k start

www-data 6294 0.0 0.2 486024 37852 ? S Jun21 0:05 _ /usr/sbin/a pache2 -k start

www-data 6315 0.0 0.1 479724 30676 ? S Jun21 0:04 _ /usr/sbin/a pache2 -k start

www-data 21625 0.0 0.1 477480 28468 ? S 08:44 0:00 _ /usr/sbin/a pache2 -k start

www-data 21626 0.0 0.2 488908 40832 ? S 08:44 0:04 _ /usr/sbin/a pache2 -k start

www-data 21675 0.0 0.1 477120 28292 ? S 08:45 0:01 _ /usr/sbin/a pache2 -k start

www-data 21874 0.0 0.1 472444 23620 ? S 08:47 0:02 _ /usr/sbin/a pache2 -k start

clamav 2916 0.0 1.9 449420 323820 ? Ssl Jun08 4:42 /usr/sbin/clamd

root 2940 0.0 0.3 92100 63456 ? Ss Jun08 0:00 /usr/share/webm in/virtual-server/lookup-domain-daemon.pl

list 2954 0.0 0.0 60560 9260 ? Ss Jun08 0:00 /usr/bin/python /usr/lib/mailman/bin/mailmanctl -s -q start

list 2981 0.0 0.0 60488 11448 ? S Jun08 1:26 _ /usr/bin/py thon /var/lib/mailman/bin/qrunner --runner=ArchRunne

list 2982 0.0 0.0 60496 11484 ? S Jun08 1:29 _ /usr/bin/py thon /var/lib/mailman/bin/qrunner --runner=BounceRun

list 2983 0.0 0.0 60528 11456 ? S Jun08 1:26 _ /usr/bin/py thon /var/lib/mailman/bin/qrunner --runner=CommandRu

list 2984 0.0 0.0 60432 11452 ? S Jun08 1:25 _ /usr/bin/py thon /var/lib/mailman/bin/qrunner --runner=IncomingR

list 2985 0.0 0.0 60452 11512 ? S Jun08 1:26 _ /usr/bin/py thon /var/lib/mailman/bin/qrunner --runner=NewsRunne

list 2986 0.0 0.0 60472 11580 ? S Jun08 1:29 _ /usr/bin/py thon /var/lib/mailman/bin/qrunner --runner=OutgoingR

list 2987 0.0 0.0 60488 11452 ? S Jun08 1:26 _ /usr/bin/py thon /var/lib/mailman/bin/qrunner --runner=VirginRun

list 2988 0.0 0.0 60488 11440 ? S Jun08 0:00 _ /usr/bin/py thon /var/lib/mailman/bin/qrunner --runner=RetryRunn

root 2990 0.0 0.3 137508 64420 ? Ss Jun08 1:47 /usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -

root 2991 0.0 0.3 137508 62584 ? S Jun08 0:01 _ spamd child

root 2992 0.0 0.3 137508 62596 ? S Jun08 0:01 _ spamd child

root 2995 0.0 0.4 137676 74036 ? Ss Jun08 0:34 /usr/bin/perl / usr/share/webmin/miniserv.pl /etc/webmin/miniserv.co

root 2999 0.0 0.0 15816 952 tty1 Ss+ Jun08 0:00 /sbin/getty -8 38400 tty1

ntp 3102 0.0 0.0 31444 2088 ? Ss Jun08 0:33 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:112
root@server04 ~ #

[/code]
top says this:

[code]
top - 13:00:19 up 13 days, 20:02, 1 user, load average: 0.08, 0.07, 0.05
Tasks: 194 total, 1 running, 192 sleeping, 0 stopped, 1 zombie
%Cpu(s): 0.0 us, 0.0 sy, 0.0 ni, 99.8 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 16343944 total, 2552232 used, 13791712 free, 243032 buffers
KiB Swap: 8384444 total, 0 used, 8384444 free. 948156 cached Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7 root 20 0 0 0 0 S 0.3 0.0 6:40.87 rcu_sched
1156 mysql 20 0 1140820 188964 7832 S 0.3 1.2 8:33.80 mysqld
2983 list 20 0 60528 11456 3600 S 0.3 0.1 1:26.04 python
1 root 20 0 33740 3112 1472 S 0.0 0.0 0:08.77 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.02 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:01.25 ksoftirqd/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
6 root 20 0 0 0 0 S 0.0 0.0 0:20.90 kworker/u16:0
8 root 20 0 0 0 0 S 0.0 0.0 3:04.68 rcuos/0
9 root 20 0 0 0 0 S 0.0 0.0 2:52.42 rcuos/1
10 root 20 0 0 0 0 S 0.0 0.0 2:50.89 rcuos/2
11 root 20 0 0 0 0 S 0.0 0.0 3:19.97 rcuos/3
12 root 20 0 0 0 0 S 0.0 0.0 0:56.75 rcuos/4
13 root 20 0 0 0 0 S 0.0 0.0 1:34.31 rcuos/5
14 root 20 0 0 0 0 S 0.0 0.0 1:02.40 rcuos/6
15 root 20 0 0 0 0 S 0.0 0.0 1:12.45 rcuos/7
16 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
17 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/0
18 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/1
19 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/2
20 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/3
21 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/4
22 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/5
23 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/6
24 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/7
25 root rt 0 0 0 0 S 0.0 0.0 0:00.21 migration/0
26 root rt 0 0 0 0 S 0.0 0.0 0:03.34 watchdog/0
27 root rt 0 0 0 0 S 0.0 0.0 0:03.34 watchdog/1
28 root rt 0 0 0 0 S 0.0 0.0 0:00.19 migration/1
29 root 20 0 0 0 0 S 0.0 0.0 0:00.17 ksoftirqd/1
30 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0
31 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0H
32 root rt 0 0 0 0 S 0.0 0.0 0:03.00 watchdog/2
33 root rt 0 0 0 0 S 0.0 0.0 0:00.27 migration/2
34 root 20 0 0 0 0 S 0.0 0.0 0:00.10 ksoftirqd/2
35 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/2:0
36 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/2:0H
37 root rt 0 0 0 0 S 0.0 0.0 0:03.05 watchdog/3
38 root rt 0 0 0 0 S 0.0 0.0 0:00.17 migration/3
39 root 20 0 0 0 0 S 0.0 0.0 0:00.22 ksoftirqd/3
40 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/3:0
41 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/3:0H
42 root rt 0 0 0 0 S 0.0 0.0 0:03.10 watchdog/4
43 root rt 0 0 0 0 S 0.0 0.0 0:02.61 migration/4
44 root 20 0 0 0 0 S 0.0 0.0 0:00.02 ksoftirqd/4
45 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/4:0
46 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/4:0H
47 root rt 0 0 0 0 S 0.0 0.0 0:02.93 watchdog/5

{/code]
Hmmm, here it claims, it has 13.7 GB free.

Looks like, it died again (that’s the reason why i waited for a reply.

Thank you very much.

seen this:
Fatal: unable to open incoming connection: Transport endpoint is not connected

and the ftp process has been killed last monday:

2015-06-15 06:25:12,941 proftpd[2457] server04.serververwaltung.biz: ProFTPD killed (signal 15)
2015-06-15 06:25:12,942 proftpd[2457] server04.serververwaltung.biz: ProFTPD 1.3.5rc3 standalone mode SHUTDOWN

i didn’t reboot, so i am wondering… No ftp daemon in process list, when i check it. So it will kill itself, i think. If i restart it would be back up again. But why would it die after a couple of days?

Howdy,

I’m unfortunately not sure what’s causing the issue you’re seeing. The only time I’ve seen FTP dying like that is when a server is low on resources.

It doesn’t look like you’re low on RAM though.

Are you by chance using an OpenVZ VPS? Or another type of VPS? Or is this a dedicated server?

-Eric

I noticed this on all servers I have installed virtualmin too. After few days, ftp will shut down. I don’t have to reboot, just start again, but I don’t know why (and it’s not a memory problem, on my test server I have a lot of free memory ^^)

specific one did it again. I loggged in to upgrade bind, just to see, that the ftp service is down again …

So what? I have enough ressources

Howdy,

Do you see anything in the logs that would indicate why it’s not running?

-Eric

Hi, we’ve been seeing the same behaviour with 3 different Virtualmin instances on Ubuntu 14.04. ProFTPD just up and dies after a few days, nothing of any use in the logs. No issue on Centos.

Howdy,

Do you by chance see anything after running “dmesg | tail -30”?

If it’s related to RAM, that will usually show up there.

Also, how much RAM is in your system? You can determine that with “free -m”.

-Eric