[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Kernel threads.
- To: Linux-Il <linux-il(at-nospam)linux.org.il>
- Subject: Kernel threads.
- From: Alexander Sandler <ASandler(at-nospam)store-age.com>
- Date: Mon, 9 Apr 2001 19:08:56 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Hi list.
I have this little problem in Linux kernel.
I am working on a driver for some storage appliance.
The problem is the following. I am starting a kernel thread in
init_module(). Let's call this thread M. thread. This M. thread is triggered
once needed (usualy from I/O) and starting another eight threads. Each one
of the threads used to perform some I/O. M. thread is waiting until his
child threads are done. Once done, he is waiting for another I/O to come.
The problem is that when I have many of those I/O's, those threads created
by M. thread, becoming defunctional - zombie. Once havving few thousands of
defunctional threads, kernel is refusing to create more, causing by this to
whole system to be stacked.
This is it. Any help will be highly apreciated.
Thanks ahead.
Best regards.
Alexandr Sandler.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il