I think this problem could be due to a change in the way the ftpserver is registering the information in the logs under /usr/local/apache/domlogs/ftp.XXX-ftp_log; this hint can be observed at /usr/local/cpanel/logs/stats_log
Below I´m pasting a scratch of my stats_log
Code:
warn [Internal Warning while parsing [stdin] 29967]
Argument "r" isn't numeric in subtraction (-) at /usr/local/cpanel/Cpanel/Bandwi
dth/BytesLogs.pm line 152, <GEN3281> line 1.
at /usr/local/cpanel/Cpanel/Bandwidth/BytesLogs.pm line 152
Cpanel::Bandwidth::BytesLogs::parse_ftplog('ftp', '/usr/local/apache/dom
logs/ftp.XXX-ftp_log', 9663676416, 'Cpanel::BandwidthDB=HASH(0x19addfe8)
', 'HASH(0x195f1d58)') called at /usr/local/cpanel/Cpanel/Logd.pm line 1786
Cpanel::Logd::parseftpbyteslog('XXX', '/usr/local/apache/domlogs/ftp
.XXX-ftp_log', 9663676416, 'HASH(0x19fb09b8)', 'Cpanel::BandwidthDB=HASH
(0x19addfe8)', 'HASH(0x19c25e18)') called at /usr/local/cpanel/Cpanel/Logd.pm li
ne 714
I have two possible solutions, 1 clear the log file for ftp logs "echo > ftp.XXX-" in where the error be observed.
2. Disable the bandwidth data collector from 'WHM > Statistics Software Configuration', and run through cron a bash script to run / scripts / runweblog for every user on the system.
The problem here occurs when the bandwith collector process find an error within any ftp log file, when that happens apparently the whole process is terminated.