Page 1 of 1
increase ftp log file size ?

Posted:
Fri Apr 19, 2019 10:16 am
by sebnup
Hello,
I am using the FTP server with an additional config file. Everything works OK.
My only problem is that when the log-file reaches 1Mb, users can't connect and/or transfers cannot complete successfully until I login and click on the erase button.
Any chance you could point me to a solution to either increase the max size or automate the process ?
Thanks a lot !
Re: increase ftp log file size ?

Posted:
Fri Apr 19, 2019 11:11 am
by fvdw
Indeed the file is limited to 1 MB, apparently you do a lot of ftp transfer.
This the area of Jocko, he will have a look and see if we can adapt this behavior
Re: increase ftp log file size ?

Posted:
Fri Apr 19, 2019 12:28 pm
by Jocko
Hi
it is not the expected behavior.
Please to note 1MB limit is only a warning limit used by the firmware and it is not related with the ftp daemon (proftpd) which can run with a much bigger log file :scratch
What is your maximum clients limit ?
Re: increase ftp log file size ?

Posted:
Fri Apr 19, 2019 12:53 pm
by sebnup
Hi Jocko,
Thanks for your message.
Max clients :10
Max clients per host: 5
My NAS is the destination for automatic backups of many clients' websites. The sites connect via FTP with a single dedicated user account and I have made sure to schedule the backups appropriately so they do not connect simultaneously. The only other FTP allowed account is my own personal account but I rarely ever use it ...
Apparently whenever the log file is full, the backups fail.
Re: increase ftp log file size ?

Posted:
Fri Apr 19, 2019 1:17 pm
by Jocko
Ok
But I repeat 1MB limit is only a limit used by fvdw-sl web-interface to warn the user about proftpd log size. Proftpd should not have a such limit
for testing you can do a cron job which reset log file. For example,
- Code: Select all
echo >/var/log/proftpd/proftpd.log
and see what happens
Re: increase ftp log file size ?

Posted:
Fri Apr 19, 2019 3:28 pm
by sebnup
ok, will try
thanks a lot !