1
vote
1answer
48 views

Understanding the difference between pid_max, ulimit -u and thread_max

I am trying to understand the Linux processes. I have confusion on the terms pid_max, ulimit -u and thread_max. What exactly is the difference between these terms? Can someone clarify me the ...
5
votes
5answers
1k views

Threads vs (Forked) Processes

Linux applications generally fork then exec (with execve() ), but Java applications, and certain Apache MPMs use threading. If forking, uses the fork + exec to spawn a process, what is the high level ...
3
votes
1answer
133 views

What information can I find out about an eventpoll on a running thread?

Following on from a problem described in "How is it that I can attach strace to a process that isn't in the output of ps?" I'm trying to debug a process that hangs part way through. By using ...
0
votes
0answers
36 views

How can I see a process' thread count? [duplicate]

Possible Duplicate: Is there a way to see details of all the threads that a process has in Linux? I want to see the thread count which belongs to a process in linux. What command should I ...
1
vote
1answer
4k views

What is kondemand?

I have searched the web for the answer of this question but couldn't find a clear answer. Best answer I found was as follows: kondemand is a kernel thread that belongs to the ondemand governor of ...
0
votes
1answer
847 views

What is the advantage of using pthreads in Linux?

I read somewhere that Linux threads are really implemented as processes in the kernel since with today's hardware and on the Linux platform, the thread model is inefficient compared to the process ...
2
votes
2answers
735 views

`[java] <defunct>` with defunct children -> Any way to collect them?

Relating to question : What if 'kill -9' doesn't work? I have following situation : zombie process with threads, not collected by init : [root@Arch64]# ps auxH | grep java gwpl 569 ...
5
votes
2answers
685 views

Are kernel threads really kernel processes?

I've read in many places that Linux creates a kernel thread for each user thread in a Java VM. (I see the term "kernel thread" used in two different ways: a thread created to do core OS work and a ...
0
votes
0answers
37 views

Is it possible that a method inside a module (in kernel mode) be preempted?

My basic question is about system stack of a thread, and system stack of a process Two methods in a module? Which of the methods can be preempted via kernel mode preemption, the one in process ...
1
vote
1answer
298 views

Native and non-native support of thread/process programming in Linux?

POSIX thread (pthread) and OpenMP are both libraries for thread programming. But is it right that they are not native to Linux, i.e. they have to be installed by user later? If yes, what are the ...