On 5/1/07, Daniel Ouellet <[EMAIL PROTECTED]> wrote:
Ted Unangst wrote:
> On 5/1/07, Daniel Ouellet <[EMAIL PROTECTED]> wrote:
>> I was testing the effect of sysctl kern.maxproc=xxx to see if I could
>> figure out the memory usage of httpd until I get my additional memory in
>> the server as it's in order and I don't have it yet.
>>
>> But now, I have more process running then the kern.maxproc value and I
>> can't even to pkill httpd for example as it gets
>>
>> sh: cannot fork - try again.
>
> kill is a shell builtin and doesn't need to fork.

Yes, I can use it, but I can't figure out the process ID. I am trying to
understand the man page on this to kill the group 67, or www.

you only need to kill apache.

read thepid < httpd.pid
kill $thepid

Reply via email to