Re: Wild thangs, was: sendmail fails to deliver mail with attachments in /var/spool/mqueue

Andrew Morton
2000-11-11T03:09:45Z

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().