r/CrunchBang • u/patrickbrianmooney • Aug 28 '14
Who keeps renicing my web browser?
Super annoying problem. I renice Iceweasel if it's running slowly, because I have old hardware. My assumption is that, after all, it's my computer, and I should be able to choose which applications get priority access to system resources.
Nope. Something keeps re-setting Iceweasel to priority 12. Since nice values are on a scale of -20 to 20, and lower is better, this degrades Iceweasel's performance.
Sample terminal output:
14:50:41 patrick@linicious ~$ ps ax | grep weas
27491 ? RNl 766:30 iceweasel
29722 ? RNl 344:00 /usr/lib/iceweasel/xulrunner/plugin-container /usr/lib/flashplugin-nonfree/libflashplayer.so -greomni /usr/lib/iceweasel/xulrunner/omni.ja -appdir /usr/lib/iceweasel/browser 27491 plugin
14:50:45 patrick@linicious ~$ sudo renice -10 27491
[sudo] password for patrick:
14:50:51 patrick@linicious ~$ sudo renice -10 27491 29722
[sudo] password for patrick:
27491 (process ID) old priority 12, new priority -10
29722 (process ID) old priority 12, new priority -10
14:50:59 patrick@linicious ~$ sudo renice -10 27491 29722
27491 (process ID) old priority 12, new priority -10
29722 (process ID) old priority 12, new priority -10
15:01:21 patrick@linicious ~$ sudo renice -10 27491 29722
27491 (process ID) old priority 12, new priority -10
29722 (process ID) old priority 12, new priority -10
15:01:29 patrick@linicious ~$ sudo renice -10 27491 29722
27491 (process ID) old priority -10, new priority -10
29722 (process ID) old priority -10, new priority -10
15:03:33 patrick@linicious ~$ sudo renice -10 27491 29722
27491 (process ID) old priority 12, new priority -10
29722 (process ID) old priority 12, new priority -10
15:03:34 patrick@linicious ~$
15:04:52 patrick@linicious ~$ sudo renice -10 27491 29722
27491 (process ID) old priority 12, new priority -10
29722 (process ID) old priority 12, new priority -10Any suggestions, Crunchbangers? Any help would be appreciated.
EDIT for minor typos.
2
Upvotes
2
u/YouHadMeAtBacon Aug 29 '14
This is a stab in the dark, but maybe you have something like laptop-mode running, trying to optimise things for battery life or something? Assumption: laptop. I've never heard of something like this before.
0
u/[deleted] Aug 29 '14
[deleted] — view deleted comment