Max file size
When a maximum file size is defined, SynTail will ensure the user session is terminated as soon as the file size goes beyond the specified value.
The value for this field can be defined using following formats:
When is this limit useful?
- 1234567890 An integer representing file size in bytes.
- 1234567 kb An integer followed by the letters "kb" represents a number in kilo-bytes
- 1234 mb An integer followed by the letters "mb" represents a number in mega-bytes
- 1.2 gb An integer followed by the letters "gb" represents a number in giga-bytes
- 1.2 tb An integer followed by the letters "tb" represents a number in tera-bytes
At runtime, SynTail opens the desired file in read-only mode, allowing other processes to write to it. On Microsoft Windows, if a process opens a file even for reading purposes, the operating system will not allow any other process to delete that file (writing is allowed). This creates problems if the application writing to the file wants to delete it for any reason.
By specifying a maximum file size for this value, SynTail closes every file handle that is opened for this file so that it can be deleted by any other process.
This problem does not exist on Linux, UNIX or Mac OS X. Therefore, specify a value for Max file size on these operating systems is not very useful.