Re: OT: just falling back to fluxbox after Gnome3 mem-leak experince
On Fri, Feb 08, 2013 at 12:09:16PM -0500, Stefan Monnier wrote: Indeed, but we're talking about 3GB of memory here, which seems hard to justify for such an application. Sure, but my point was it's not a leak. Being memory inefficient is one thing. Leaking memory is where, over time, it takes more and more memory because it is not properly freeing up memory it has finished with. You need to sample the memory usage more than once to establish that some is being lost to leaks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130215115750.GF19236@debian
OT: just falling back to fluxbox after Gnome3 mem-leak experince
Hi all, just want to share my bad experience with Gnome3 in testing. They have/had some mem-leaks in there. viskup@viskup:~$ uptime 11:10:57 up 16 days, 17:01, 10 users, load average: 1.61, 1.34, 1.07 viskup@viskup:~$ awk '/Name|VmSize|VmPeak/' /proc/4186/status Name: gnome-shell VmPeak: 3537456 kB VmSize: 3403068 kB viskup@viskup:~$ dpkg -l gnome-shell Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++--=-=-== ii gnome-shell 3.4.2-6 amd64 graphical shell for the GNOME desktop Hopefully back with Fluxbox. There was just another stability issue of Firefox as it had some strange Gnome Shell Integration plugin enabled which led to frozen Firefox. So I disabled that plugin and now everything works like a charm. Bye-bye Gnome. -- Peter Viskup -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5114d363.9090...@gmail.com
Re: OT: just falling back to fluxbox after Gnome3 mem-leak experince
On Fri, Feb 08, 2013 at 11:28:51AM +0100, Peter Viskup wrote: Hi all, just want to share my bad experience with Gnome3 in testing. They have/had some mem-leaks in there. viskup@viskup:~$ uptime 11:10:57 up 16 days, 17:01, 10 users, load average: 1.61, 1.34, 1.07 I'm not sure what this is supposed to demonstrate. Has gnome-shell been running for 16 days? viskup@viskup:~$ awk '/Name|VmSize|VmPeak/' /proc/4186/status Name: gnome-shell VmPeak: 3537456 kB VmSize: 3403068 kB That doesn't show a memory leak. What was the memory usage at start-up? For ref, my gnome-shell instance appears to have been running 8 days (odd, I don't remember restarting it then) and is using awk '/Name|VmSize|VmPeak/' /proc/$(pidof gnome-shell)/status Name: gnome-shell VmPeak: 1250636 kB VmSize: 1190912 kB ii gnome-shell 3.4.2-6 amd64 graphical shell for I'm one version behind you. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130208141241.GA6533@debian
Re: OT: just falling back to fluxbox after Gnome3 mem-leak experince
viskup@viskup:~$ awk '/Name|VmSize|VmPeak/' /proc/4186/status Name: gnome-shell VmPeak: 3537456 kB VmSize: 3403068 kB That doesn't show a memory leak. Indeed, but we're talking about 3GB of memory here, which seems hard to justify for such an application. awk '/Name|VmSize|VmPeak/' /proc/$(pidof gnome-shell)/status Name: gnome-shell VmPeak:1250636 kB VmSize:1190912 kB More than 1GB also sounds excessive, so you seem to be suffering from the same problem. Of course, maybe this is not a problem, it is just an artifact of gnome-shell sharing a lot of memory with other applications, so it's not actually eating up all your RAM. But this explanation seems unlikely. I think it deserves a bug report. Stefan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jwvpq0a7n6o.fsf-monnier+gmane.linux.debian.u...@gnu.org
Re: OT: just falling back to fluxbox after Gnome3 mem-leak experince
On 02/08/2013 06:09 PM, Stefan Monnier wrote: viskup@viskup:~$ awk '/Name|VmSize|VmPeak/' /proc/4186/status Name: gnome-shell VmPeak: 3537456 kB VmSize: 3403068 kB That doesn't show a memory leak. Indeed, but we're talking about 3GB of memory here, which seems hard to justify for such an application. awk '/Name|VmSize|VmPeak/' /proc/$(pidof gnome-shell)/status Name: gnome-shell VmPeak: 1250636 kB VmSize: 1190912 kB More than 1GB also sounds excessive, so you seem to be suffering from the same problem. Of course, maybe this is not a problem, it is just an artifact of gnome-shell sharing a lot of memory with other applications, so it's not actually eating up all your RAM. But this explanation seems unlikely. I think it deserves a bug report. Stefan I just search for gnome3 and memory leaks and found there were some of them fixed in latest 3.6 too. Didn't have time and energy search for more information. One for all: http://fedoraproject.org/wiki/Common_F15_bugs#System_memory_in_use_rises_constantly_.28memory_leak.29_when_using_GNOME_Shell This probably help somebody of you who do not shutdown desktop/laptop every time. It consumed all my RAM and swap... -- Peter Viskup -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51155cb7.6060...@gmail.com
Re: OT: just falling back to fluxbox after Gnome3 mem-leak experince
On 02/08/2013 03:12 PM, Jon Dowland wrote: On Fri, Feb 08, 2013 at 11:28:51AM +0100, Peter Viskup wrote: viskup@viskup:~$ uptime 11:10:57 up 16 days, 17:01, 10 users, load average: 1.61, 1.34, 1.07 I'm not sure what this is supposed to demonstrate. Has gnome-shell been running for 16 days? It is supposed to show that I do not regularly shutdown the laptop and use the suspend/hibernate function. Not gnome-shell only of course but Linux kernel and some other applications too. ;-) -- Peter -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/511562a4.90...@gmail.com
Re: OT: just falling back to fluxbox after Gnome3 mem-leak experince
Peter Viskup: viskup@viskup:~$ awk '/Name|VmSize|VmPeak/' /proc/4186/status Name: gnome-shell VmPeak: 3537456 kB VmSize: 3403068 kB I am not sure, but I suspect you misinterpret those numbers. This is the amount of memory that the application thinks is available for itself. This does not equal the actual memory requirements of the process. My system currently shows: $ ps aux | awk '{ print $5 }' | tail -n +2 | awk 'BEGIN {s=0} {s+=$1} END {print s}' 8206540 $ free -k total used free sharedbuffers cached Mem: 39552683346440 608828 0 2981282139064 -/+ buffers/cache: 9092483046020 Swap:0 0 0 The sum of all processes' virtual memory sizes is about nine times the size of actual memory in use (887 MiB vs. 7.8 GiB with only 4GB of physical RAM available, no swap). J. -- If I was Mark Chapman I would have shot John Lennon with a water pistol. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: OT: just falling back to fluxbox after Gnome3 mem-leak experince
On 02/08/2013 10:44 PM, Jochen Spieker wrote: Peter Viskup: viskup@viskup:~$ awk '/Name|VmSize|VmPeak/' /proc/4186/status Name: gnome-shell VmPeak: 3537456 kB VmSize: 3403068 kB I am not sure, but I suspect you misinterpret those numbers. This is the amount of memory that the application thinks is available for itself. This does not equal the actual memory requirements of the process. My system currently shows: $ ps aux | awk '{ print $5 }' | tail -n +2 | awk 'BEGIN {s=0} {s+=$1} END {print s}' 8206540 $ free -k total used free sharedbuffers cached Mem: 39552683346440 608828 0 2981282139064 -/+ buffers/cache: 9092483046020 Swap:0 0 0 The sum of all processes' virtual memory sizes is about nine times the size of actual memory in use (887 MiB vs. 7.8 GiB with only 4GB of physical RAM available, no swap). J. You are probably right with not best lines shown from status file. Anyway I saw that gnome-shell consumed more than 1100MB(=approx. 29% of 4GB real mem) for VmRSS. System was swapping and the only application consuming more than 10% of memory was ?guess? ;-) -- Peter -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/511580f7.4010...@gmail.com