Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I noticed that serveral daemon invoked python seperately.
For example, I have both wicd and ibus daemon running on my machine. Instead of launching a single instance of python, the daemons run with two python instance at the same time in htop:

/usr/bin/python2 -O /usr/share/wicd/daemon/
python2 /usr/share/ibus/ui/gtk/

Is it a waste of doing that?
If yes, how can I improve this?
If no, why avoid putting all daemons run on a single python instance?

share|improve this question
up vote 1 down vote accepted

No, it's not a waste. It is normal for separate programs to be running in separate processes, so that they couldn't (accidentally or intentionally) modify each other's state. Separate processes also mean that if one program crashes, all others are left unaffected.

share|improve this answer
Got it. Thanks! – ylc Sep 8 '12 at 16:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .