Re: A New FreeBSD Server



In <20060626111208.P77513@xxxxxxxxxxxxxxx>, Dmitry Morozovsky <marck@xxxxxxxx> typed:
On Sat, 24 Jun 2006, Mike Meyer wrote:
MM> The other constraint on swap is that if you want the system to save a
MM> core dump if it panics, you need a device to dump on that's 64Kb
MM> bigger than ram. That's one device, not all of swap.
This is not quite true, as there always are some unused memory regions, hence
you need not add 64k to RAM size. At least, I had no trouble using swap == RAM
for last 5 years or so...

Or memory areas that aren't needed when doing the post mortem. The
question is, how do you guarantee that those are what's not going to
make it out to the dump device?

<mike

--
Mike Meyer <mwm@xxxxxxxxx> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Swap space
    ... > twice the amount of RAM if you need to capture a dump for debugging. ... > If you won't ever be doing that, you may not need so much swap. ... least the size of physical memory. ...
    (freebsd-questions)
  • Re: Help with savecore (HPUX 10.20)
    ... Physical Volumes belonging in Root Volume Group: ... Swap: lvol2 on: /dev/dsk/c0t0d0 ... partition where the swap is located. ... on which a dump will be written in the case of a crash. ...
    (comp.sys.hp.hpux)
  • Re: box boots only without swap partition
    ... Swap assignment is a little bit delicate. ... its major/minor device number to the kernel. ... also thought about the dump device. ... The reason panics are written to a block device is ...
    (comp.unix.sco.misc)
  • Re: reboot on logout
    ... ram but the swap hasn't been adjusted since we ran less than 500mb. ... >> because the last 5% is reserved for use only by root. ... > dump should be. ... > Yes, for Solaris, /tmp should be mounted on swap, not a real filesystem. ...
    (comp.unix.solaris)
  • Re: panic in propagate_priority w/ postgresql under heavy load
    ... > It could be because of a 9000 firmware bug that you are not being able ... The firmware wrongly interprets physical address 0x0 as ... Indeed am I booting of twa, swap is also on there. ... With the -f option it also says: 'unable to force dump - bad magic' ...
    (freebsd-hackers)