You are not logged in.
% ps -A --sort -rss -o comm,pmem,rss | head -n 20
COMMAND %MEM RSS
systemd-journal 2.8 109284
Xorg.bin 1.2 46268
For me, systemd-journal is taking up 2x the memory as Xorg is... I did not modify anything but that just seems wrong. Any advice?
Last edited by maggie (2014-11-23 17:30:15)
Offline
Not even in my top 20 list. Something is wrong with your setup I suspect.
% memrss :(
COMMAND %MEM RSS
Xorg.bin 0.1 47.75
Thunar 0.0 27.95
xfdesktop 0.0 27.69
xfwm4 0.0 26.01
xfce4-terminal 0.0 24.66
xfce4-panel 0.0 24.44
panel-7-mixer 0.0 23.00
xfce4-session 0.0 18.26
panel-4-datetim 0.0 17.24
panel-18-netloa 0.0 17.20
panel-8-actions 0.0 17.01
xfce4-sensors-p 0.0 16.62
polkitd 0.0 16.42
panel-2-cpugrap 0.0 15.00
xfsettingsd 0.0 14.90
ntpd 0.0 14.88
panel-6-systray 0.0 14.25
xfce4-power-man 0.0 13.90
pulseaudio 0.0 10.69
FYI -
% which memrss
memrss: aliased to while read command percent rss; do if [[ "${command}" != "COMMAND" ]]; \\nthen rss="$(bc <<< "scale=2;${rss}/1024")"; fi; printf "%-26s%-8s%s\n" "${command}" "${percent}" "${rss}"; \\ndone < <(ps -A --sort -rss -o comm,pmem,rss | head -n 20)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
$ ps -C systemd-journal -o comm,pmem,rss
COMMAND %MEM RSS
systemd-journal 0.0 3372
I limited the size of the journal:
$ grep -v "#" /etc/systemd/journald.conf
[Journal]
SystemMaxUse=50M
SystemMaxFileSize=10M
I'm using ext4.
Check the logs, systemd's journal.
Last edited by karol (2014-11-22 20:15:00)
Offline
There's also
$ journalctl --disk-usage
For me It took more than 1 GB once.
Coredumps can also grow very fast, but they can also be limited in
/etc/systemd/coredump.conf
Offline
There's also
$ journalctl --disk-usage
For me It took more than 1 GB once.
Coredumps can also grow very fast, but they can also be limited in
/etc/systemd/coredump.conf
OP isn't asking about disk usage, but memory usage. They may be linked, but that's just a guess on my part.
Offline
Looks like limiting the maxsize also limits it in memory. Thank you for that suggestion.
Offline