Messages in this thread | | | Date | Sat, 11 Nov 2000 14:09:37 +1100 | From | Andrew Morton <> | Subject | Re: Wild thangs, was: sendmail fails to deliver mail with attachments in /var/spool/mqueue |
| |
Andrew Morton wrote: > > "Jeff V. Merkey" wrote: > > > > They're not modprobes, they're misnamed processes sleeping from NWFS. > > I got the fix from someone so now they display their proper names. > > top displays the names correctly, ps does not. Several people have > > verified this problem, and all you are saying is that your servers > > are never heavily loaded for long periods of time, say 200 hours > > at a stretch of consatnt ftp traffic? > > Kernel threads? Do this: > > strcpy(current->comm, "threadname"); /* 16 char array!! */ > current->mm->arg_start = current->mm->arg_end = 0; /* black magic */ > > and `ps' should be happy.
Even better, use sched.c:daemonize(). - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |