I think that the reason that the threads don't show up in ps on Solaris that 'lightweight' processes are implemented in the library at user level. The kernel does not know about them. This was the case a one time anyway.
This disadvantage of this is that if any thread goes compute bound for a long time no other thread can run. I suspect that this is what causes some of the performance problems I hear about with Apache under Solaris. I have a book called "Inside Linux", or something like that. It has a section on process scheduling. If you want I can give you the ISBN. The book is at home, so I can't see it right now. -----Original Message----- From: Ann Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 1:37 PM To: [EMAIL PROTECTED] Subject: Many many processes with LINUX We recently moved a java app and some MQ clients and servers to linux/390 for testing. Folks here are used to Solaris and are confused by the number of processes that show up when you issue 'ps -ef'. Many more than they are used to. If you ask Jeeves, there is info on the threading model linux uses. Linux apparently doesn't have 'lightweight' processes. Every thread is a process? I looked for an option on 'ps' to try to make the display look more like Solaris but didn't see one. Does anyone know of a good source of documentation on linux threading and processes?
