reboot without forking

Andrew McNaughton andrew at scoop.co.nz
Sat Aug 21 11:14:03 PDT 2004


I'm currently not sure why I'm running into problems.  I've been playing 
with resource limits, and may have solved the problem already - it only 
turns up every other month or so.  Meanwhile I may be constraining the 
system more than it needs to be constrained.  Being able to recover from a 
mistake seems like an important pre-requisite to loosening up constraints 
a bit.

If there's any good documents out there on strategies for determining good 
resource limits, that would be helpful.

Andrew McNaughton


On Sat, 21 Aug 2004, Simon wrote:

> Why are you running out of resources? have you considered enforcing limits
> so the problem doesn't arise to begin with?
>
> -Simon
>
> On Sun, 22 Aug 2004 01:58:05 +1200 (NZST), Andrew McNaughton wrote:
>
>>
>> Is there some sort of server I can run so that I can reboot a server in a
>> situation where there are not available resources for forking?
>>
>> Best option I've got at present is to leave a ssh session running with a
>> root shell.  Seems I can get a reboot using `exec reboot` even when I
>> can't fork.
>>
>> Andrew

--

No added Sugar.  Not tested on animals.  May contain traces of Nuts.  If
irritation occurs, discontinue use.

-------------------------------------------------------------------
Andrew McNaughton           Living in a shack in Tasmania
andrew at scoop.co.nz          Between the bush and the sea

Mobile: +61 422 753 792     http://staff.scoop.co.nz/andrew/cv.doc
                             http://www.scoop.co.nz/



More information about the freebsd-isp mailing list