-
-
Notifications
You must be signed in to change notification settings - Fork 115
-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mate-panel high memory usage if build with in-process #809
Comments
##Link to downstream report of your Distribution https://bugzilla.redhat.com/show_bug.cgi?id=1576930 P. |
Do you use windows-applets via wine in na-tray? |
On 05/10/2018 03:02 PM, raveit65 wrote:
Do you use windows-applets via wine in na-tray?
See https://bugzilla.redhat.com/show_bug.cgi?id=1575091
Nope, I'm not using wine or any windows apps. I can reproduce the problem
right now. These are the open applications I have: xterm, thunderbird, hexchat,
firefox, mate terminal, and libreoffice. In previous instances where this has
happened I've had everything but libreoffice open.
P.
…
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#809 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALY9W-KUOOT83k3CKmjWbh3RT0xqEAZdks5txI61gaJpZM4T6XQ0>.
|
Current mate-panel memory consumption is over 50%: If I attempt to launch any application through the panel I get a "Failed to fork (cannot allocate memory)" error. |
OOC (I couldn't find an answer searching online) is there a way to restart the mate-panel? I know of "--reset" but that kills all my settings. |
'killall mate-panel', restart happens automatic via session management. |
which is 'kill -9' |
How long does that workstation normally run between reboots? How long on a new boot before you see 9GB of RAM consumed by the panel? Right now, after 6 min run on a new boot(encrypted machine always shut down when not in use), I see 38MB in use. I've seen 60 or so in long, complex sessions but that's about it |
Le 11/05/2018 à 01:12, prarit a écrit :
Nope, I'm not using wine or any windows apps. I can reproduce the problem
right now. These are the open applications I have: xterm, thunderbird,
hexchat,
firefox, mate terminal, and libreoffice. In previous instances where
this has
happened I've had everything but libreoffice open.
Thank you prarit for this bug report.
Could you tell us which version has caused the issue ?
As we're not able to reproduce your issue, we'll need to determine
what's happened.
To do that you could do:
1) Close all your opened applications
2) Restart Mate Panel
3) Check the memory usage
4) Go to take a coffee or something else :)
5) Check after 5-10 minutes the memory usage
If the memory usage stays constant it's an application that causing the
issue.
To determine which software could be the culprit could you open
application one by one and check the memory usage after 5-10 minutes ?
Could you tell us the result of the following command ?
gsettings get org.mate.panel enable-sni-support
I know I'm requesting to you a little bit of investigation but it's
crucial for us to be able to identify what is the issue and how we could
figure it out.
Best regards,
Alex.
|
With a panel launcher, from menu or with |
On 05/10/2018 11:21 PM, lukefromdc wrote:
How long does that workstation normally run between reboots? How long on a new
boot before you see 9GB of RAM consumed by the panel?
Since the last yum update on my system (12 days ago) I have had to restart mate
every 4 days. I just did a restart yesterday.
It was suggested in the Fedora BZ (see link above) that I install a new version
of mate-panel. I have done that in effort to see if the new version resolves
the problem. I will let everyone know, both in this bug report, and in the BZ
if after 4 days my system is stable.
One interesting piece of information in the BZ is that a previous user (who was
using wine) was also running on a VNC session. That might have something to do
with reproducing this problem.
Right now, after 6 min run on a new boot(encrypted machine always shut down when
not in use), I see 38MB in use. I've seen 60 or so in long, complex sessions but
that's about it
After about 7 hours I get ~ the same value that you do.
[prarit@prarit ~]$ uptime
07:37:35 up 12:12, 3 users, load average: 0.34, 0.39, 0.35
[prarit@prarit ~]$ ps -eo rss,pid,euser,args:100 --sort %mem | grep -v grep |
grep -i mate-panel | awk '{printf $1/1024 "MB"; $1=""; print }'
22.8438MB 2598 prarit /usr/libexec/mate-panel/notification-area-applet
29.6758MB 2594 prarit /usr/libexec/mate-panel/wnck-applet
32.5781MB 2596 prarit /usr/libexec/mate-panel/clock-applet
33.418MB 2196 prarit mate-panel
… —
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#809 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALY9W-wKTmROU7JUxBrKB8yTwbdrrGp8ks5txQPWgaJpZM4T6XQ0>.
|
On 05/11/2018 04:22 AM, Alex ARNAUD wrote:
Le 11/05/2018 à 01:12, prarit a écrit :
> Nope, I'm not using wine or any windows apps. I can reproduce the problem
> right now. These are the open applications I have: xterm, thunderbird,
> hexchat,
> firefox, mate terminal, and libreoffice. In previous instances where
> this has
> happened I've had everything but libreoffice open.
Thank you prarit for this bug report.
Could you tell us which version has caused the issue ?
mate-panel-1.20.1-5.fc27.x86_64
As we're not able to reproduce your issue, we'll need to determine
what's happened.
To do that you could do:
1) Close all your opened applications
2) Restart Mate Panel
3) Check the memory usage
4) Go to take a coffee or something else :)
Sudoku? :)
5) Check after 5-10 minutes the memory usage
https://bugzilla.redhat.com/show_bug.cgi?id=1576930#c2
it is suggested I upgrade to a new mate-panel build. I have done so and will
report back in 4 days to see if the problem occurs again.
If the memory usage stays constant it's an application that causing the
issue.
Hmm. OOC, how would you make that determination?
To determine which software could be the culprit could you open
application one by one and check the memory usage after 5-10 minutes ?
Yup, I can definitely do that but I'd like to wait the 4 days to see if the new
build works.
Could you tell us the result of the following command ?
> gsettings get org.mate.panel enable-sni-support
I know I'm requesting to you a little bit of investigation but it's
crucial for us to be able to identify what is the issue and how we could
figure it out.
No, no no ... :) Not a big deal. I *love* the mate desktop and I have no
problem helping out debugging.
Noting that I'm running the suggested new build
[07:42 AM root@prarit ~]# gsettings get org.mate.panel enable-sni-support
false
…
Best regards,
Alex.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#809 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALY9W14E8TuNhtn3ii6596WKpf_Cw1ioks5txUpBgaJpZM4T6XQ0>.
|
Le 11/05/2018 à 13:43, prarit a écrit :
> If the memory usage stays constant it's an application that causing the
> issue.
Hmm. OOC, how would you make that determination?
I assume if that was a general issue, we'll all be impacted by the
problem. As I think nothing is magic in computing something causing the
issue somewhere.
Best regards,
Alex.
|
Since another report indicated the tray built in-process was a cause of this, I ran cppcheck-gui on the notification-area directory with all the messages turned on, and got these results which don't show anything that would be expected to be the cause of this:
|
The build in https://bugzilla.redhat.com/show_bug.cgi?id=1576930#c2 works AFAICT. mate-panel has very low memory usage: 2196 prarit 20 0 749068 73236 22052 S 0.0 0.3 0:14.88 mate-panel |
Ok, sounds like i have to switch mate-panel build back to out-of process in fedora. That means the high load of the panel process is caused by an applet. I know this isn't very comfortable...........thank you. |
Why is this different in Fedora than in Debian is the other question. Rather hard to work on this when I can't get it to happen here. |
I think you don't use his application-tray-applet which trigger the issue, maybe? |
Sure ... If you can give me detailed instructions on what you'd like me to do :) |
I thought that was instruction enough :) First test without using the tray-applet in panel.
Second test with the na-tray-applet. |
I see, you want me to trim down my applets :). I'm going to figure out a way to do this. The problem is that the vnc session I run in is my main desktop :( so I'm adverse to doing any testing there. BUT :) I do have room to create more guests on my host. I'm going to see if I can create a new F27 test environment and see if I can reproduce. Again, keep in mind that the test takes ~4 days before reproducing so this is going to take some time to figure out. |
@raveit65 - is this actually solved by building out of process? Can we change the default to be the clock and window list in process, everything else out of process? I've been working on this issue for quite a while and those are the only two applets that flicker. Also, I have a hack for the window-list one, so really it would be just the clock... |
@lukefromdc - I've seen several reports of this on Ubuntu, so it is an issue there as well. |
@vkareh
Is there one report with very specific tray applet which causes the issue? |
https://ubuntu-mate.community/t/mate-indicator-applet-using-5gb-ram/16844 Huh... That's for the indicator applet... 😕 |
I just switched back fedora builds to out of process. |
Hello. I'm also having this issue on Fedora 27 (mate-panel-1.20.1-5.fc27.x86_64). I tried removing the notification area and then it didn't occur any more. The only applets I've running are the ones for the printer (/usr/share/system-config-printer/applet.py), network (NetworkManager Applet nm-applet) and volume (mate-volume-control-applet). I killed all of them but the memory consumption of mate-panel remains the same. |
@Asta1986 - this is quite useful, actually. So you're saying that even with no icons showing in the notification area you still had high memory consumption? That must mean that the issue is with the applet itself, rather than with a specific icon that shows there... |
Thanks. I'm now trying 200px, which has moved the seconds away from the edge of the screen. |
I too have this issue on 2 recently updated Fedora 28 systems. I have both the clock with seconds AND a Java app which shows the disk space and this updates every 2 seconds. I have turned off the seconds on the clock and it does seem to have helped, at least a little. Also, a big Thanks! for helping to track down this issue. I am seeing numerous problems with both F28 and F29 that previous versions did not have. |
jimlewis294, just create the |
~/.config/gtk-3.0/gtk.css does not exist by default, you can simply create a new file in that directory and name it gtk.css it is used to store user overrides to all GTK themes |
Simply create an empty gtk.css at this place and add the lines to the file.
If you like to apply a system wide change, add the lines at the end of mate-application.css
|
Wow guys thanks for the quick response. I will create a new ~/.config/gtk-3.0/gtk.css file and put the change there. |
1.337GB after 6 days, even with a clock width that creates a blank space to the right of the seconds. Trying now without the seconds. |
Do we really need the seconds in clock-applet? |
I have found if can be handy to use seconds for some jobs, but if this is setting a memory leak trap for users who leave it on and rarely reboot I could see removing it. Remember though that the same problems comes up if the netspeed applet is in the panel. That applet also tends to jump other applets and probably should get a minimum size for that reason. |
BTW, how would you customize the width of the netspeed applet? AFAICT is does not have a widget-name set so that it could be referred to by its name (no |
Not meaning to necro-post, but I think this is very relevant. I am using MATE 1.20.4 on Devuan Beowulf (Debian 10 minus systemd) and I am finding that with the seconds enabled on the panel clock, it is eating about 132 bytes per minute. I have this problem on 2 MATE desktop systems here. I understand the desire to eliminate the feature altogether, but I actually like knowing that sluggishness or apparent freeze-up is due to some program rather than the entire system freezing up. There are other, maybe better ways to determine this, but this is very quick; don't have to wait up to a minute to find out. Just my 2c. I just thought an update was appropriate. This defect continues in MATE 1.20.4. |
Mate-1.20 reached EOL since 2 years. |
I'm running Devuan Beowulf (Debian Buster). I think Debian 10.7 was just released. Is that not modern enough? Which distros/releases would you recommend? |
No idea about MATE versions in debian. |
If mate-panel-1.24.1 isn't build by debian you should file out a report there. |
It does and 20.04 (LTS) comes with 1.24.0 Debian stable is using 1.20.5 but the next release (next summer) will have >=1.24.1. Unfortunately it is not possible to install the testing version on stable (different libc dependencies): https://packages.debian.org/search?keywords=mate-panel&searchon=names&suite=all§ion=all |
FWIW, I haven't experienced this bug in a long time. I'm currently running [prarit@prarit ~]$ rpm -q mate-panel without any problems. @raveit65 do you know if the build was ever "unmodified" to build with in-process? I've long since lost track :( Depending on the answer to that question this issue can be closed IMO. |
@prarit |
Sure, np! [prarit@prarit ~]$ rpm -q mate-panel I'll try to remember to check back in a week to let you know how it goes. |
@prarit |
@prarit |
Sorry, I completely forgot I was running this. Here's the problem: The fedora machine that I'm running this on is in my office and is only getting very occasional use due to COVID-19 restrictions. When I saw this problem I was using the box every day. Can you possibly do a rebuild? I'll grab the RPM and install it on my day-to-day box that I'm currently using which is also F33. |
@prarit |
@raveit65 , I've installed this on my local system. In case I forget (and I'm 100% sure I will unless something goes wrong ;)) ping me in a week and I'll let you know how it is going. |
@prarit |
Haha :) I just read my previous comment. It's working fine as far as I can tell. I have seen no problems with this version. |
:) |
@prarit |
Expected behaviour
mate-panel does not consume 9G of memory
Actual behaviour
mate-panel has consumed 9G of memory. Eventually attempting to start applications from the mate-panel will fail with memory errors. Starting the application from a previously opened terminal does work.
Steps to reproduce the behaviour
Unknown. I am using the mate desktop on my day-to-day workstation. I am not doing anything unusual.
MATE general version
mate-about shows version 1.20.1
mate-desktop-1.20.1-3.fc27.x86_64
Package version
mate-panel-1.20.1-5.fc27.x86_64
Linux Distribution
F27
Link to downstream report of your Distribution
The text was updated successfully, but these errors were encountered: