View previous topic :: View next topic |
Author |
Message |
10B2 n00b
Joined: 28 May 2013 Posts: 65
|
Posted: Tue Apr 14, 2020 3:07 pm Post subject: Xorg-server using too much ram |
|
|
Am concerned by a possible memory leakage and would like to better diagnose the problem and possibly sort out the problem with increasing memory usage.
Along with xorg-server-1.20.6 and fluxbox-1.3.7-r4, am only running thunderbird and a couple of xterm's. The bulk (54%) of my 16 Gb RAM is deployed by xorg and its usage slightly but steadily increases with time
Code: | ps -aux:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 396 2.2 54.1 9462144 8814064 tty7 Ssl+ Mar27 580:26 /usr/libexec/Xorg -nolisten tcp -br -deferglyphs 16 vt07 -auth /var/run/slim.auth
|
As for xrestop, would believe this is an issue with fluxbox:
Code: | xrestop - Display: localhost:0
Monitoring 12 clients. XErrors: 0
Pixmaps: 16918K total, Other: 31K total, All: 16950K total |
Code: | res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier
0400000 197 21 1 347 379 8627K 14K 8641K ? Fluxbox |
Does this make sense to you?
What's now the issue with fluxbox? Isn't this intended to be lightweight?
Is there any hidden process that affects the memory, which I can eventually kill/restart?
Please mind am currently VNC connected to my Gentoo machine in my office and have to be careful with the xserver. The issue was already ongoing before while still in my office, but am now worried about desktop freezing in the mid term.
Cheers
Code tags added by NeddySeagoon |
|
Back to top |
|
|
10B2 n00b
Joined: 28 May 2013 Posts: 65
|
Posted: Thu Apr 16, 2020 1:43 pm Post subject: |
|
|
Also, with command 'pmap -XX 396' got all info from kernel and can find an [heap], which seems responsible for memory use...if anyone can explain:
396: /usr/libexec/Xorg -nolisten tcp -br -deferglyphs 16 vt07 -auth /var/run/slim.auth
Address Perm Offset Device Inode Size KernelPageSize MMUPageSize Rss Pss Shared_Clean Shared_Dirty Private_Clean Private_Dirty Referenced Anonymous LazyFree AnonHugePages ShmemPmdMapped Shared_Hugetlb Private_Hugetlb Swap SwapPss Locked THPeligible VmFlags Mapping
55c3990d6000 r-xp 00000000 08:14 39258508 2240 4 4 2012 2012 0 0 2012 0 2012 0 0 0 0 0 0 0 0 0 0 rd ex mr mw me dw Xorg
55c399506000 r--p 00230000 08:14 39258508 12 4 4 12 12 0 0 0 12 12 12 0 0 0 0 0 0 0 0 0 rd mr mw me dw ac Xorg
55c399509000 rw-p 00233000 08:14 39258508 40 4 4 40 40 0 0 0 40 40 40 0 0 0 0 0 0 0 0 0 rd wr mr mw me dw ac Xorg
55c399513000 rw-p 00000000 00:00 0 132 4 4 60 60 0 0 0 60 60 60 0 0 0 0 0 0 0 0 0 rd wr mr mw me ac
55c3997ad000 rw-p 00000000 00:00 0 9498712 4 4 9494256 9494256 0 0 0 9494256 9484976 9494256 0 0 0 0 0 0 0 0 0 rd wr mr mw me ac [heap]
7ff4cf02e000 rw-s 00000000 00:10 19662964 8100 4 4 7656 7656 0 0 0 7656 7656 0 0 0 0 0 0 0 0 0 0 rd wr sh mr mw me ms i915 (deleted)
7ff4cf817000 rw-s 00000000 00:10 19641117 8100 4 4 7848 7848 0 0 0 7848 7848 0 0 0 0 0 0 0 0 0 0 rd wr sh mr mw me ms i915 (deleted) |
|
Back to top |
|
|
Vulgar n00b
Joined: 15 Sep 2004 Posts: 63
|
Posted: Thu Apr 23, 2020 10:59 pm Post subject: |
|
|
When I want something light I run dwm, it is about as small as you can get. Have ran fluxbox, blackbox, etc., I prefer dwm. dwm is only a single binary, and its source code is intended to never exceed 2000 SLOC.
https://wiki.gentoo.org/wiki/Dwm
It is primarily keyboard controlled. When combined with xbindkeys and dmenu. You can start stop everything via keyboard, switch windows, etc. You can also custom configure it. I bind "xkill" with xbindkeys in case something happens with some application running and cannot close it normally.
There are a number of other stuff on the dwm website. I also like "surf" the browser.
https://suckless.org/ |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|