On Sat, Mar 2, 2013 at 7:12 PM, Tilghman Lesher <[email protected]> wrote: > On Sat, Mar 2, 2013 at 2:17 PM, James Sizemore <[email protected]> wrote: >> I'll have to disagree with Tilghman on this one. You should always have at >> least as much swap as ram, however double would be over kill. If for no >> other reason than to guaranty you get a full core dumps on system crashes. >> Trying to trouble shoot or root cause assess system crashes without good >> core dumps is difficult if not imposable. >> >> Disk space is cheap, if you can afford the RAM having the swap equal it >> should be a trivial cost, and gives you more time to find fast memory leaks >> before systems go catatonic. > > Would you care to share your knowledge for why you think this matters > on Linux? Extra swap might help you on Solaris, where the way that > swap meshes with the system is quite different (and possibly on other > Unix platforms), but I don't think it's going to help on Linux. > You're better off having that amount of space free on the root > filesystem (or whatever filesystem to which your core dumps are > directed), when it comes to Linux.
I did a bit of the research, myself, and found that the kernel uses a dump device to unload all of the physical memory into (which could be swap, or it can be configured to be another raw device). However, I still question the usefulness of this. Unless you are a kernel programmer, with an understanding of how to debug the dumps, these dumps are quite literally useless. The vast majority of NLUG users are unlikely to ever have the time or the inclination to debug such dumps, not to mention, kernel dumps are likely not enabled by default. -Tilghman -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
