Hi,

FiNaLBeTa [2007-03-30  9:44 -0000]:
>   * bin/apport: Limit core dump size to 75% of usable RAM
>     (MemFree+Cached-Writeback). This should avoid trashing people's boxes hard
>     on huge core dumps. Bump dependencies on python-problem-report. Create an
>     expensive, but realistic check for this in test-apport.
>     (LP: #71560)
> ----
> 
> 75%, what is this number based on? 

As the changelog says, it looks in /proc/meminfo and considers
MemFree+Cached-Writeback as 'usable memory'. MemFree itself is ideally
0 (if it isn't, you have too much RAM), most of it is usually taken by
cache. The write cache would cause trashing, but using the read cache
is still ok IMHO.

-- 
Crash information collection depletes resources, clogs up and crashes system
https://launchpad.net/bugs/71560

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to