increase ftp log file size ?

increase ftp log file size ?

Postby sebnup » Fri Apr 19, 2019 10:16 am

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 !
sebnup
 
Posts: 12
Joined: Sat Jun 02, 2012 10:07 am

Re: increase ftp log file size ?

Postby fvdw » Fri Apr 19, 2019 11:11 am

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
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: increase ftp log file size ?

Postby Jocko » Fri Apr 19, 2019 12:28 pm

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 ?
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: increase ftp log file size ?

Postby sebnup » Fri Apr 19, 2019 12:53 pm

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.
sebnup
 
Posts: 12
Joined: Sat Jun 02, 2012 10:07 am

Re: increase ftp log file size ?

Postby Jocko » Fri Apr 19, 2019 1:17 pm

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
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: increase ftp log file size ?

Postby sebnup » Fri Apr 19, 2019 3:28 pm

ok, will try
thanks a lot !
sebnup
 
Posts: 12
Joined: Sat Jun 02, 2012 10:07 am


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 5 guests