[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Duplicate processes



"sinapsi" <info@zam.it> writes:

> I cannot uderstand why all the processes are forked.
> Any process I launch is duplicated.
>
> dopamina@guanina:~/eggdrop14$ ps aux
> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> dopamina   344  0.0  0.7  7120 3844 ?        S    18:18   0:00 sshd:
> dopamina@pts/0
> dopamina   345  0.0  0.5  2688 2684 pts/0    S    18:18   0:00 -bash
> dopamina   349  0.1  0.8  6600 4072 pts/0    S    18:18   0:00 ./eggdrop -m
> my.conf
> dopamina   350  0.0  0.8  6600 4072 pts/0    S    18:18   0:00 ./eggdrop -m
> my.conf
> dopamina   351  0.0  0.8  6600 4072 pts/0    S    18:18   0:00 ./eggdrop -m
> my.conf
> dopamina   353  0.0  0.3  2524 1536 pts/0    R    18:19   0:00 ps aux

That's consistent with the behavior of a threaded program.  I notice
you only seem to have one sshd, bash, and ps process, which makes
sense.  Here I regularly have a half-dozen almost-identical 'java'
processes, for example, when I'm running Java programs, since the Sun
JVM uses threads fairly freely.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: