[RC5] Linux MT client

Charles P. Wright cpw at unix.asb.com
Fri Jan 30 20:57:43 EST 1998


Chris Arguin wrote:
> 
> I've just set up the multi-threaded client for the first time. It worked
> fine, but my process list looks odd to me:
> 
> ...
> nobody    1229  0.0  0.5   896   372   6 S N 23:43   0:00 /home/rc5/rc5des
> nobody    1230  0.0  0.5   896   372   6 S N 23:43   0:00 /home/rc5/rc5des
> nobody    1231 99.2  0.5   896   372   6 R N 23:43 878:51
> /home/rc5/rc5des
> ...
> 
> Why 3 processes? Isn't it supposed to be multi-threaded, not
> multi-process? Did I make some odd mistake in my init script that causes
> this to be run three times? That is a possibility I will allow, since I
> set it up as an /etc/rc.d/init.d/rc5 script. Who knows what mistakes I
> might have made :)
> 
> Anyway, is this expected behavior?
I believe that in unix threads don't really exist, but "lightweight
processes" do, but each one will get a process table entry so it would
show up multiple times on "ps."  I also have 3 rc5des's and ran it from
the console, so I would suspect this is the appropriate behavior.
-- 
Charles P. Wright
cpw at unix.asb.com.

--
To unsubcribe, send 'unsubscribe rc5' to majordomo at lists.distributed.net
rc5-digest subscribers replace rc5 with rc5-digest



More information about the rc5 mailing list