Re: reboot without forking

From: Andrew McNaughton (andrew_at_scoop.co.nz)
Date: 08/21/04

  • Next message: Carlos Alarcón: "Where i can check a log about the last reboot time of my freebsd box"
    Date: Sun, 22 Aug 2004 06:14:00 +1200 (NZST)
    To: Simon <simon@optinet.com>
    
    

    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@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/
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Carlos Alarcón: "Where i can check a log about the last reboot time of my freebsd box"

    Relevant Pages

    • Re: preventing killer queries
      ... On Sybase I would use server side resource limits (see sp_configure ... >> I have thought about extending my hacky shell kill pipe to also run ...
      (perl.dbi.users)
    • Re: socketpair: No buffer space available
      ... so will save that output before next reboot ... ... resource limits on the number of sockets. ... There are a few paths to ENOBUFS in the socket allocation code--one path is ... if you are over-committed on socket buffer resources with respect to the ...
      (freebsd-stable)