[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Suspending users & sites



"shimi" <shimi@xxxxxxxxxxxxxxxx> wrote:
> On Tue, 8 May 2001, Steve Werby wrote:
<snip>
> > to is the process that started running Sendmail when it was loaded (the
one
> > with the earliest start time, usually also the smallest PID).
</snip>

> You're not necessarily correct about that... once the PID table gets full
> you return to the begining, and then what? :)

That's why I said *usually* also the smallest PID.  I knew PIDs are recycled
and that's why I said it's the PID with the earliest start time.  Whenever I
write a script that needs sendmail's PID I actually pull it from the first
line in /var/run/sendmail.pid.  :-)

> besides, we're talking on well programmed software and even the init
> scripts does something similar with the daemon start I think... not
> sure...
>
> again, I've tried this on every service possible under linux in the past 3
> years... it had yet to fail me, and that's why I suggested it :-)

And I believe you.  Though I use kill frequently I wasn't as familiar with
killall so I thought I'd run my question by you to be sure doing something
like 'killall sendmail' didn't have any unintended undesirable effects.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/