View previous topic :: View next topic |
Author |
Message |
peter4 Guru
Joined: 19 Jul 2005 Posts: 359 Location: Wroclaw, Poland
|
Posted: Wed Feb 29, 2012 10:30 am Post subject: chrome acting strange lately |
|
|
It either hangs up on startup or leaves running processes after quitting (or both). Anyone else noticed that? |
|
Back to top |
|
|
Kaso_da_Zmok Apprentice
Joined: 19 Aug 2004 Posts: 189 Location: Zurich, Switzerland
|
Posted: Wed Feb 29, 2012 8:25 pm Post subject: |
|
|
same here. on multiple machines. always the latest chrome. for few days, leaves running chrome processes, sometimes defunct, sometimes main window disappears while left unattended and working in other window. weird |
|
Back to top |
|
|
Sembiance n00b
Joined: 03 Oct 2003 Posts: 14 Location: Asheville, NC, USA
|
|
Back to top |
|
|
Sembiance n00b
Joined: 03 Oct 2003 Posts: 14 Location: Asheville, NC, USA
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Tue May 08, 2012 4:56 pm Post subject: |
|
|
Yep, it seems to leave a process around sucking up 100% CPU and then complains about being unable to access the profile when I open a new window. Haven't had it happen as often in v19.* though. |
|
Back to top |
|
|
Dorsai! Apprentice
Joined: 27 Jul 2008 Posts: 285 Location: Bavaria
|
Posted: Wed May 09, 2012 2:14 am Post subject: |
|
|
It leaves behind lots of dead threads and once in a while a zombie thread. When this happens chromium blockes completely (unable to access profile) until I SIGKILL them all. This is bugging me for quite some time now (around chromium-15ish)... one would think that google got around to fix this by now. |
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Wed May 09, 2012 4:42 am Post subject: |
|
|
Same + after a few hours of browsing consumes all available RAM (8G)
chromium-20* _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
|
redmaniac n00b
Joined: 21 Sep 2011 Posts: 39
|
Posted: Sun May 13, 2012 7:45 pm Post subject: |
|
|
Same here.
Seems that some folks have subtly different issues (I don't have Kollin's RAM issue for instance; neither do I experience a high CPU load like Ant.P). Maybe we should cross check to make sure we are all facing the same problem.
I experience this:
1. crashes while loading a site (usually after having just started chromium). Then I close chrome (no other way to load that site, it will keep crashing).
2. tells me it can't load my profile
3. "ps ux | grep chrome" tells me chormium didn' quit at all, left at least one zombie and a bunch of other sleeping processes
The I usuallyI SIGKILL all other chromium processes ( kill -9 `ps aux | awk '$11 ~ /.*chrome.*/ {print $2}'`) (somehow killall doesn't cut it here).
Then I have peace for some random time period before it returns. Strangely I only have that problem here on gentoo. At work (Ubuntu 12.04) I don't experience this.
cheers
redamaniac |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sun May 13, 2012 7:53 pm Post subject: |
|
|
Yeah, I had this problem show up the last few days. First thing I discovered is that there is some strange option in Chromium's preferences to 'Continue running background apps when Chromium is closed'. I turned that off, and the orphaned processes disappeared for me. I have no idea what the purpose of that 'feature' is.
Now, I've noticed another weird problem with kernel 3.3.5 and chromium...it stalls loading pages (they always hang and I get the kill or wait dialog). Disappears when I go back to kernel 3.3.4...
Sometimes these multiple breakages really throw you. |
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Sun May 13, 2012 8:40 pm Post subject: |
|
|
platojones wrote: | First thing I discovered is that there is some strange option in Chromium's preferences to 'Continue running background apps when Chromium is closed'. I turned that off, and the orphaned processes disappeared for me. I have no idea what the purpose of that 'feature' is.
|
Did not work for me
redmaniac wrote: | I experience this:
1. crashes while loading a site (usually after having just started chromium). Then I close chrome (no other way to load that site, it will keep crashing).
2. tells me it can't load my profile
3. "ps ux | grep chrome" tells me chormium didn' quit at all, left at least one zombie and a bunch of other sleeping processes
|
I don't experience 1 & 2 instead when chromium consumes all available RAM it starts furious swapping and my system becomes very unresponsive!
3 is the same: A lot of orphaned processes and zombies _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sun May 13, 2012 9:51 pm Post subject: |
|
|
Kollin wrote: | platojones wrote: | First thing I discovered is that there is some strange option in Chromium's preferences to 'Continue running background apps when Chromium is closed'. I turned that off, and the orphaned processes disappeared for me. I have no idea what the purpose of that 'feature' is.
|
Did not work for me
|
Yeah, I take it back...it didn't work for me either. When I first started up and then killed chromium, it did. After letting it run several hours, the orphans are back... |
|
Back to top |
|
|
redmaniac n00b
Joined: 21 Sep 2011 Posts: 39
|
Posted: Mon May 14, 2012 5:33 am Post subject: |
|
|
The Zombie I get looks like this (always as far as I can tell):
Code: |
ps aux | grep chrome:
root 3011 0.0 0.0 0 0 ? Z 07:19 0:00 [chrome_sandbox] <defunct>
|
|
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Mon May 14, 2012 12:47 pm Post subject: |
|
|
redmaniac wrote: | The Zombie I get looks like this (always as far as I can tell):
Code: |
ps aux | grep chrome:
root 3011 0.0 0.0 0 0 ? Z 07:19 0:00 [chrome_sandbox] <defunct>
|
|
My leftovers:
Code: | ps aux | grep chrome
kollin 25452 0.0 0.1 322168 14296 ? S 14:29 0:00 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins
kollin 25453 0.0 0.4 374484 34612 ? S 14:29 0:00 /usr/lib64/chromium-browser/chrome --type=zygote
kollin 25576 0.0 0.4 346756 37764 ? Sl 14:29 0:00 /usr/lib64/chromium-browser/chrome --type=plugin --plugin-path=/home/kollin/.config/chromium/Default/Extensions/apagmdofhjomjncpiebpaaonngppcpcl/0.8_0/npSmoothGesturesPlugin.so --lang=en-US --channel=25449.14.572344576
kollin 25638 0.0 1.0 601168 84268 ? S 14:29 0:00 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins |
or this variant:
Code: | ps aux | grep chrome
kollin 8496 11.7 1.2 624616 99880 ? Sl 17:31 0:24 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins
kollin 8499 0.1 0.0 0 0 ? Z 17:31 0:00 [chrome] <defunct>
kollin 8500 0.0 0.0 0 0 ? Z 17:31 0:00 [chrome] <defunct>
kollin 8571 0.0 0.6 544124 53168 ? S 17:31 0:00 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins
kollin 8591 0.0 0.7 571896 62288 ? S 17:31 0:00 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins
kollin 8653 0.0 0.7 582336 63680 ? S 17:31 0:00 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins
kollin 9447 0.0 0.0 9552 892 pts/0 S+ 17:34 0:00 grep chrome
|
or this beauty :
Code: | ps aux | grep chrome
kollin 1363 1.9 1.3 723156 112172 ? Sl 01:18 0:36 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins
kollin 1366 0.0 0.0 0 0 ? Z 01:18 0:00 [chrome] <defunct>
kollin 1367 0.0 0.0 0 0 ? Z 01:18 0:00 [chrome] <defunct>
kollin 1475 0.0 0.0 0 0 ? Z 01:18 0:00 [chrome] <defunct>
kollin 1511 0.0 0.7 567604 65264 ? S 01:18 0:00 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins
kollin 1692 0.5 0.0 0 0 ? Z 01:18 0:09 [chrome] <defunct>
kollin 2402 0.0 0.0 0 0 ? Z 01:24 0:00 [chrome] <defunct>
|
_________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Last edited by Kollin on Mon May 14, 2012 10:52 pm; edited 1 time in total |
|
Back to top |
|
|
redmaniac n00b
Joined: 21 Sep 2011 Posts: 39
|
Posted: Mon May 14, 2012 3:44 pm Post subject: |
|
|
Looks like what I have (I didn't include the non-zombies), except that your zombies are not owned by root. Wonder why that is... |
|
Back to top |
|
|
kimmie Guru
Joined: 08 Sep 2004 Posts: 531 Location: Australia
|
Posted: Mon May 14, 2012 5:08 pm Post subject: |
|
|
Sniff I wince every time I use it: Code: | alias killchrome='
killall /usr/lib64/chromium-browser/chrome; sleep 1;
killall /usr/lib64/chromium-browser/chrome' |
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Mon May 14, 2012 9:49 pm Post subject: |
|
|
Jaglover wrote: | I'm having this issue, too. I was thinking maybe the adblock is causing this. Has anyone this problem without having adblock installed? |
I don't have adblock installed. _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Mon May 14, 2012 9:55 pm Post subject: |
|
|
Another odd thing...killall kills most of them, but then can't see some of the leftovers. I have to ps -ef | grep them then kill them individually. May be an issue with killall. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Mon May 14, 2012 10:11 pm Post subject: |
|
|
I don't have these in my kernel:
Code: | Checking for suitable kernel configuration options...
* PID_NS is required for sandbox to work
* NET_NS is required for sandbox to work
|
platojones wrote: | Another odd thing...killall kills most of them, but then can't see some of the leftovers. I have to ps -ef | grep them then kill them individually. May be an issue with killall. |
Same with me
Code: | killall chrome
chrome: no process found
kollin@felis ~ % ps aux | grep chrome
kollin 817 0.0 1.5 653048 122808 ? S 01:16 0:00 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins
kollin 8458 0.0 0.3 498240 26484 ? S 00:39 0:00 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins |
_________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
|
kimmie Guru
Joined: 08 Sep 2004 Posts: 531 Location: Australia
|
Posted: Tue May 15, 2012 1:18 pm Post subject: |
|
|
platojones wrote: | Another odd thing...killall kills most of them, but then can't see some of the leftovers. I have to ps -ef | grep them then kill them individually. May be an issue with killall. |
Chrome changes the name of some of it's processes (to Chrome_ProcessL and nacl_helper_bootstrap), so killall doesn't match on the name. If you give the full path of the binary /usr/lib64/chromium-browser/chrome then killall will match. |
|
Back to top |
|
|
phajdan.jr Retired Dev
Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
Posted: Tue May 15, 2012 2:40 pm Post subject: |
|
|
Kollin wrote: | I don't have these in my kernel:
Code: | Checking for suitable kernel configuration options...
* PID_NS is required for sandbox to work
* NET_NS is required for sandbox to work
|
|
Can anyone reproduce with those options enabled in the booted, running kernel?
I think PID_NS should ensure there are no leftovers (maybe except zombies, not sure about that) after quitting the main process (root of the new namespace). _________________ http://phajdan-jr.blogspot.com/ |
|
Back to top |
|
|
kimmie Guru
Joined: 08 Sep 2004 Posts: 531 Location: Australia
|
Posted: Tue May 15, 2012 4:36 pm Post subject: |
|
|
phajdan.jr wrote: | Can anyone reproduce with those options enabled in the booted, running kernel? |
Yes, for all the stable gentoo-sources 3.0 and 3.2 series kernels I've tried. |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Tue May 15, 2012 10:17 pm Post subject: |
|
|
kimmie wrote: | platojones wrote: | Another odd thing...killall kills most of them, but then can't see some of the leftovers. I have to ps -ef | grep them then kill them individually. May be an issue with killall. |
Chrome changes the name of some of it's processes (to Chrome_ProcessL and nacl_helper_bootstrap), so killall doesn't match on the name. If you give the full path of the binary /usr/lib64/chromium-browser/chrome then killall will match. |
Not in this case...that's what is so odd:
Code: |
[vxxxxxx64:~]# ps -ef | grep chrome
rxxx 25648 1 0 17:40 ? 00:00:01 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins --password-store=detect
rxxx 25650 1 0 17:40 ? 00:00:00 /usr/lib64/chromium-browser/chrome_sandbox /usr/lib64/chromium-browser/chrome --type=zygote
rxxx 25651 25650 0 17:40 ? 00:00:00 /usr/lib64/chromium-browser/chrome --type=zygote
root 25652 25650 0 17:40 ? 00:00:00 [chrome_sandbox] <defunct>
rxxx 25785 1 0 17:40 ? 00:00:08 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins --password-store=detect
root 30016 7418 0 18:13 pts/1 00:00:00 grep --colour=auto chrome
[vxxxxxx64:~]# killall chrome
[vxxxxxx64:~]# ps -ef | grep chrome
rxxx 25785 1 0 17:40 ? 00:00:09 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins --password-store=detect
root 30028 7418 0 18:13 pts/1 00:00:00 grep --colour=auto chrome
[vxxxxxx64:~]# killall chrome
chrome: no process found
[vxxxxxx64:~]# ps -ef | grep chrome
rxxx 25785 1 0 17:40 ? 00:00:09 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins --password-store=detect
root 30031 7418 0 18:13 pts/1 00:00:00 grep --colour=auto chrome
[vxxxxxx64:~]# kill 25785
[vxxxxxx64:~]# ps -ef | grep chrome
rxxx 25785 1 0 17:40 ? 00:00:09 /usr/lib64/chromium-browser/chrome --extra-plugin-dir=/usr/lib/nsbrowser/plugins --password-store=detect
root 30033 7418 0 18:14 pts/1 00:00:00 grep --colour=auto chrome
[vxxxxxx64:~]# kill -9 25785
[vxxxxxx64:~]# ps -ef | grep chrome
root 30035 7418 0 18:14 pts/1 00:00:00 grep --colour=auto chrome |
|
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Tue May 15, 2012 10:20 pm Post subject: |
|
|
phajdan.jr wrote: | Kollin wrote: | I don't have these in my kernel:
Code: | Checking for suitable kernel configuration options...
* PID_NS is required for sandbox to work
* NET_NS is required for sandbox to work
|
|
Can anyone reproduce with those options enabled in the booted, running kernel?
I think PID_NS should ensure there are no leftovers (maybe except zombies, not sure about that) after quitting the main process (root of the new namespace). |
Yep, they are both set in my kernel and I have this issue:
Code: |
# CONFIG_USER_NS is not set
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_SCHED_AUTOGROUP=y
|
|
|
Back to top |
|
|
|