[Pkg-tigervnc-devel] Bug#989089: Bug#989089: tigervnc-standalone-server: when a vncserver instance is invoked, mate-panel starts grabbing memory
Ola Lundqvist
opal at debian.org
Sat May 29 19:27:22 BST 2021
Hi
Now I understand better. What I do not understand is why you have filed the
bug on vnc when it is the mate-panel that hogs the memory.
For this to be a vnc bug I think we need some proof that this is VNC
specific and this does not happen when starting a normal X session.
Vnc starts a desktop environment and mate-panel is a component of the Mate
desktop environment.
Or am I completely wrong?
// Ola
On Sat, 29 May 2021 at 08:58, deltagamma1 at gmx.net <deltagamma1 at gmx.net>
wrote:
> The relevant machine has 8 GB RAM, 2 GB RAM is fix reserved for oracle DB
> 18c xe.
>
> As you can see here
>
> [user__at__machine:pts/4 ~/.vnc]$ date && free -tm
> Fr 30. Apr 16:09:49 CEST 2021
> total used free shared buff/cache
> available
> Mem: 7978 2761 891 1278 4325
> 3636
>
> 3.6 GB available memory before starting vncserver on 30. April ...
>
> === after some days ======================
> [user__at__machine:pts/4 ~/.vnc]$ date && sudo pmap 8903 | head -10
> Do 6. Mai 13:21:39 CEST 2021
> [sudo] Passwort für user:
> 8903: mate-panel
> 000055ec1bd26000 128K r---- mate-panel
> 000055ec1bd46000 324K r-x-- mate-panel
> 000055ec1bd97000 140K r---- mate-panel
> 000055ec1bdba000 16K r---- mate-panel
> 000055ec1bdbe000 4K rw--- mate-panel
> 000055ec1cb34000 1698228K rw--- [ anon ]
> 00007f9e90000000 1416K rw--- [ anon ]
> 00007f9e90162000 64120K ----- [ anon ]
> 00007f9e94000000 1448K rw--- [ anon ]
> [user__at__machine:pts/4 ~/.vnc]$
> [user__at__machine:pts/4 ~/.vnc]$ date && free -tm
>
> After 6 days, on 6 May mate-panel has grabbed more than 1698228K ==> 1.69
> GB,
> the available memory sunk to 2 GB , the difference is approx. the 1.6 GB
> that mate-panel has grabbed.
>
>
> [user__at__machine:pts/4 ~/.vnc]$ date && free -tm
> Do 6. Mai 13:24:07 CEST 2021
> total used free shared buff/cache
> available
> Mem: 7978 4357 541 1268 3079
> 2049
> Swap: 6649 2554 4095
> Total: 14628 6912 4636
> [user__at__machine:pts/4 ~/.vnc]$
>
> After killing the vncserver now, on 6. May, the mate-panel process
> disappeared also ( it seems there is a strong interaction between
> tigervnc-standalone-server and mate-panel ) , the new available memory is
> also again around 3.6 GB
> which indicates again that mate-panel has grabbed the difference between
> the 2 "avaibale memory" states, namely 3.6GB and 2.0GB
>
>
> On a reference machine, same Debian buster, same 8 GB RAM, but DB not
> installed yet, the mate-panel has stable about 35 MB memory , after a week
> with a running vncserver:
>
> ========= reference machine with running vncserver AND connected client for a week ======
>
> user__at__refmachine:~/.vnc$ sudo pmap 19726 |head -10
> 19726: mate-panel
> 0000558100ac1000 128K r---- mate-panel
> 0000558100ae1000 324K r-x-- mate-panel
> 0000558100b32000 140K r---- mate-panel
> 0000558100b55000 16K r---- mate-panel
> 0000558100b59000 4K rw--- mate-panel
> 000055810215e000 35224K rw--- [ anon ]
> 00007fcc30000000 132K rw--- [ anon ]
> 00007fcc30021000 65404K ----- [ anon ]
> 00007fcc34000000 132K rw--- [ anon ]
> user__at__refmachine:~/.vnc$
>
>
> I think the relevant address, process, is the first [ anon ] entry in the pmap listing of the mate-panel.
>
> It is about 35 MB at ref-machine,
>
> and started with about 13 MB { 00005620203f9000 13064K rw--- [ anon ] } on the production machine
> to 266 MB { 00005620203f9000 266824K rw--- [ anon ] } 1 day later on the production machine
> up to 1.69 GB { 000055ec1cb34000 1698228K rw--- [ anon ] } after 1 week on the production machine, where I killed/stopped the vncserver.
>
> I let the mate-panel reach also between 2.5 GB and 3 GB before I killed the vncserver, the mate-panel process disappeared also,
> and the freed memroy corresponded to the memory mate-panel has grabbed.
>
> The displayed lines are all protocolled in the 2 attached files.
>
> Hope this clarifies the case.
>
> Greets
>
>
>
>
> Am 26.05.2021 um 08:27 schrieb Ola Lundqvist:
>
> Hi
>
> When you are referring to "grabbing memory" how much are you expecting
> mate-panel to use?
> Is it much more than what the mate-panel use to use in other X servers?
> I can see that mate-panel use some 70 to 100 MB memory but since I have no
> knowledge about this software I cannot tell whether that is a lot of not.
>
> Cheers
>
> // Ola
>
> On Tue, 25 May 2021 at 18:19, deltagamma1 at gmx.net <deltagamma1 at gmx.net>
> wrote:
>
>> forgot to attach some files
>>
>>
>>
>> _______________________________________________
>> Pkg-tigervnc-devel mailing list
>> Pkg-tigervnc-devel at alioth-lists.debian.net
>>
>> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-tigervnc-devel
>>
>
>
> --
> --------------------- Ola Lundqvist ---------------------------
> / opal at debian.org ola at inguza.com \
> | http://inguza.com/ +46 (0)70-332 1551 |
> ---------------------------------------------------------------
>
>
--
--------------------- Ola Lundqvist ---------------------------
/ opal at debian.org ola at inguza.com \
| http://inguza.com/ +46 (0)70-332 1551 |
---------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-tigervnc-devel/attachments/20210529/4c628dc6/attachment.htm>
More information about the Pkg-tigervnc-devel
mailing list