strange ps behaviour

Michael Lednev michaek at mail.ru
Tue May 27 10:25:22 UTC 2008


Oliver Fromme пишет:
> Michael Lednev wrote:
>  > Oliver Fromme ?????:
>  > > Michael Lednev wrote:
>  > > > # pgrep radiusd
>  > > > 1105
>  > > > 33738
>  > > > # ps ax | grep radiusd
>  > > >  1105  ??  Ss     2:35,76 /usr/local/sbin/radiusd
>  > > > # ps 33738
>  > > >   PID  TT  STAT      TIME COMMAND
>  > > 
>  > > It seems that the second matching process exited before
>  > > the ps command was executed.
>  > 
>  > It's repeatable.
>
> That means that the radiusd process kept forking short-
> lived child processes, for whatever reason.
>   

keeping constant PID for children?

>  > The problem solved by restarting radiusd but it's a 
>  > little undesirable.
>
> Sounds like a bug in radiusd was triggered somwhow.
> I don't think there's a problem with ps, because ps
> is unable to show processes that don't exist anymore.

I will try to update radiusd and see whether this problem will show up 
again. It arises not very often.


More information about the freebsd-questions mailing list