Maximum file size?

Hello, My application keeps several files (txt and CSV) and those files are expected to grow, after several months (hopefully years) of data collecting. Similar to the PLC’s Output.log, which keeps growing. Is there a known maximum file size? Is it dictated by Linux (and storage of course)? What do you do with Output.log? Does it get rid of the oldest entries? Thanks, Alex

Hello Allex, the output log will have a maximum of 2x 16 MB it is automatically rolling over. I recommend you to do something simmilar. We are using log4cplus and implemented a rollover mechanism that wil delete the first X percent of a file so it can continue to append new entries. The max Filesize is limited by the filesystem we are using: ext4 - Wikipedia → The max filesize basically is the amount of storage space you have.

Thanks Oliver. We will do something like that. Alex