You are not logged in.

#1 2013-04-12 16:04:43

hamelg
Member
From: France
Registered: 2008-06-19
Posts: 128

systemd-journal : memory hog on core dump

The recent breakage of firefox 20.0.1-1 has revealed another issue :
Core dump causes memory outage on my system.
In the log, during core dump i have these errors :
Killed process 95 (systemd-journal) total-vm:1285236kB, anon-rss:647136kB, file-rss:8kB
Out of memory: Kill process 95 (systemd-journal) score 524 or sacrifice child

To fix it, i have to disable the feature systemd-coredump, like this :

ln -s /etc/sysctl.d/50-coredump.conf /dev/null
reboot

Last edited by hamelg (2013-04-12 16:07:13)

Offline

#2 2013-04-21 16:07:47

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: systemd-journal : memory hog on core dump

What is the size of systemd.journal log file?


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#3 2013-04-21 17:59:00

hamelg
Member
From: France
Registered: 2008-06-19
Posts: 128

Re: systemd-journal : memory hog on core dump

$ journalctl --disk-usage                                     
Journals take up 462.0M on disk. 

$ grep SystemMaxUse /etc/systemd/journald.conf                 
SystemMaxUse=512M

Offline

#4 2013-04-21 18:10:58

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: systemd-journal : memory hog on core dump

cleaning up the file and setting a lowerlevel might help, not sure though!


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#5 2013-04-21 21:21:39

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: systemd-journal : memory hog on core dump

touch /etc/sysctl.d/50-coredump.conf

should suffice to disable the core dump feature. But thanks for the hint.

Last edited by bernarcher (2013-04-21 21:22:15)


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB