Re: tmpfs

Erich Titl <[email protected]> Fri, 8 Nov 2024 14:43:29 +0100
Newsgroups gmane.linux.leaf.user
Message-ID <[email protected]>
Hi Boris

Am 08.11.2024 um 14:11 schrieb Boris via leaf-user:
...
>>
>> My theory is that the logs occupy a lot of memory before they are 
>> rotated (compressed) and this memory is not released again in the tmpfs.
 >>>> I suspect that I am doing something wrong...?
>>
>> Thanks and regards,,
>>
>>
>> Boris
>>
> 
> I guess tomorrow it will happen again (tmpfs full):
> # df -h
> tmpfs                   500.0M    489.9M     10.1M  98% /var/log

OK almost full

> 
> But why?
> 
> # du -h /var/log
> 136.0K    /var/log/ntpstats
> 16.0K    /var/log/lighttpd
> 14.8M    /var/log

What is the content of leaf.cfg concerning the log size?

You may have defined a big chunk just for logging but how much memory 
does your system actually have? tmpfs can only do so much.

cheers

ET

-- 
„Wer von seinem Tag nicht zwei Drittel für sich hat, ist ein Sklave.“
―Friedrich Nietzsche



------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/