SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-11-20 00:17:21

demarsjcd
#! Member
Registered: 2011-09-28
Posts: 94

multiple instances of same program running at once

When I go on htop I can see that there is the same conky running about 4 times sometimes more.  Right now there is rhythm box running about 6 times on htop.  I just installed e4rat, bleachbit, wine, and some others. 
I'm using xfce and have the conky's on autostart but programs like rhthym box is not on there so that's why I'm thinking its something else.  Also I noticed that the cpu usage is up constantly with nothing running.  Also the battery life has gotten worse. 

This website describes the same problem.
http://crunchbanglinux.org/forums/topic … s/?login=1

heres a pic of rhythm box running on htop...
screenshot-11192011-071918pm.php

Last edited by demarsjcd (2011-11-20 00:21:36)

Offline

Be excellent to each other!

#2 2011-11-20 00:20:57

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: multiple instances of same program running at once

It's just user threads. Hit H (as in capital h) and you'll see just one instance. Then hit K for kernel threads and you'll see a lor more stuff.

Offline

#3 2011-11-20 00:26:19

demarsjcd
#! Member
Registered: 2011-09-28
Posts: 94

Re: multiple instances of same program running at once

this is whats brought up when I hit Capital "H" ...
screenshot-11192011-072330pm.php

The same conky's running more than once.  It's like that with other programs too.  My battery life has cut almost cut in half since I've noticed this.

edit:  I also have three battery monitors in my tint2 on the right side that each show a different percentage.  Its just that its a blank space until you hover the mouse over it then it brings up the percentage.

Last edited by demarsjcd (2011-11-20 00:32:38)

Offline

#4 2011-11-20 01:18:40

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: multiple instances of same program running at once

Did you perchance upgrade the kernel recently?

Offline

#5 2011-11-20 02:00:30

demarsjcd
#! Member
Registered: 2011-09-28
Posts: 94

Re: multiple instances of same program running at once

el_koraco wrote:

Did you perchance upgrade the kernel recently?

Not sure.  But its a big possibility.  Infact I think I might have downloaded linux mint.  I was going to start another topic to see how to check what versions I have in my grub because I have 3 different versions of linux.  I put mint sources in my sources list

Offline

#6 2011-11-20 11:11:26

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: multiple instances of same program running at once

Let's see

uname -a
cat /etc/apt/sources.list
apt-cache policy conky-all

Offline

#7 2011-11-20 13:48:31

demarsjcd
#! Member
Registered: 2011-09-28
Posts: 94

Re: multiple instances of same program running at once

here ya go

jason@crunchbang:~$ uname -a
Linux crunchbang 3.1.0-1.dmz.2-liquorix-amd64 #1 ZEN SMP PREEMPT Sat Nov 12 17:55:12 CST 2011 x86_64 GNU/Linux
jason@crunchbang:~$ cat /etc/apt/sources.list
## CRUNCHBANG
## Compatible with Debian Squeeze, but use at your own risk.
deb http://packages.crunchbanglinux.org/statler statler main

## DEBIAN
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ squeeze/updates main
deb-src http://ftp.us.debian.org/debian/ squeeze/updates main

## DEBIAN BACKPORTS
deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates contrib non-free main
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
# deb http://packages.linuxmint.com/ debian main import upstream
deb http://liquorix.net/debian/ sid main
jason@crunchbang:~$ apt-cache policy conky-all
conky-all:
  Installed: 1.8.1-5~bpo60+1
  Candidate: 1.8.1-5~bpo60+1
  Version table:
 *** 1.8.1-5~bpo60+1 0
       1001 http://backports.debian.org/debian-backports/ squeeze-backports/contrib amd64 Packages
        100 /var/lib/dpkg/status
     1.8.0-1+squeeze1 0
        100 http://ftp.us.debian.org/debian/ squeeze/contrib amd64 Packages

and for some reason tint2 has an icon for the conky's in the taskbar.
screenshot-11202011-084612am.php

edit:  this is the version of linux that I saw in GRUB when I noticed some things going wrong:

jason@crunchbang:~$ sudo su
[sudo] password for jason: 
root@crunchbang:/home/jason# uname -a
Linux crunchbang 2.6.39-bpo.2-amd64 #1 SMP Tue Jul 26 10:35:23 UTC 2011 x86_64 GNU/Linux
root@crunchbang:/home/jason# cat /etc/apt/sources.list
## CRUNCHBANG
## Compatible with Debian Squeeze, but use at your own risk.
deb http://packages.crunchbanglinux.org/statler statler main

## DEBIAN
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ squeeze/updates main
deb-src http://ftp.us.debian.org/debian/ squeeze/updates main

## DEBIAN BACKPORTS
deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates contrib non-free main
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
# deb http://packages.linuxmint.com/ debian main import upstream
deb http://liquorix.net/debian/ sid main
root@crunchbang:/home/jason# apt-cache policy conky-all
conky-all:
  Installed: 1.8.1-5~bpo60+1
  Candidate: 1.8.1-5~bpo60+1
  Version table:
 *** 1.8.1-5~bpo60+1 0
       1001 http://backports.debian.org/debian-backports/ squeeze-backports/contrib amd64 Packages
        100 /var/lib/dpkg/status
     1.8.0-1+squeeze1 0
        100 http://ftp.us.debian.org/debian/ squeeze/contrib amd64 Packages
root@crunchbang:/home/jason# 

Last edited by demarsjcd (2011-11-20 13:57:18)

Offline

#8 2011-11-20 15:29:32

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: multiple instances of same program running at once

All seems well. So your conky (which you piped to tint2?) is somehow respawning constantly. Does that happen after suspending the computer? I'm not sure I'll be of major help there, conky is not one of my strong sides. Look at /var/log for any relevant errors.

Offline

#9 2011-11-20 16:55:00

demarsjcd
#! Member
Registered: 2011-09-28
Posts: 94

Re: multiple instances of same program running at once

el_koraco wrote:

All seems well. So your conky (which you piped to tint2?) is somehow respawning constantly. Does that happen after suspending the computer? I'm not sure I'll be of major help there, conky is not one of my strong sides. Look at /var/log for any relevant errors.

no.  I never did that to the tint2.  I looked at /var/log but I dont know what to look for.  It's not only the conky thats respawning though.  Pretty much every program is starting more than once. 

On another note, is there a way to uninstall some of the versions of linux on grub and get rid of them completely?

Offline

#10 2011-11-20 17:34:37

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: multiple instances of same program running at once

demarsjcdg wrote:

no.  I never did that to the tint2.  I looked at /var/log but I dont know what to look for.  It's not only the conky thats respawning though.  Pretty much every program is starting more than once.

I don't see any other program with multiple instances in htop. What exactly does your conky do? And what is the battery icon in tint2? xfce power manager?


On another note, is there a way to uninstall some of the versions of linux on grub and get rid of them completely?

Sure. Show me /boot/grub/grub.cfg.

Offline

#11 2011-11-21 16:37:02

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 3,266
Website

Re: multiple instances of same program running at once

I'm using Openbox these days, precisely because of issues like this with xfce's session management. (Well, OK, there are other reasons too.) If I remember right, it's something like xfce is remembering conky as something that was running in your last session and restarting it, along with a new instance from your autostart file. These conkys can keep building up. The only way out I remember finding is to disable the "remember session" option, and go into a certain folder which I forget (maybe ./local/something...) and delete a certain file which I also forget... roll

Sorry not to be more helpful, but at least you may now have another avenue to explore...

edit: Ah, I did post a bit about this in 2010: http://crunchbanglinux.org/forums/topic … -of-ideas/
If you scroll down to the "multiple conkys" part, the file to delete isn't in ~/.local it's ~/.cache/sessions . If you're only using a single conky instance, then corenomonal posts a solution at the bottom.

Last edited by johnraff (2011-11-21 16:54:49)


John     Please help us keep your forums manageable.
--------------------
( a boring Japan blog , idle twitterings  and GitStuff )
#! forum moderator

Online

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo