Hello,
it looks off-topic, but the foloowing has happened to me (let's say it's
about desaster prevention ;-):
some process (probably netscape 4.76, in conjunction with a buggy
mod_perl script of mine) consumed all virtual memory during the night,
while AMANDA was running. The result was nothing more than a rattling
disk and a server which responded to ping, but not to the keyboard. I
had to press the off key :-(((
When I rebooted, I saw that nothing serious had happened, just:
Dec 9 08:38:46 bacchus kernel: VM: killing process netscape
Dec 9 08:41:26 bacchus sendbackup[11389]: index tee cannot write
[Broken pipe]
Dec 9 08:41:27 bacchus sendbackup[11386]: error [/bin/tar got signal
13, index returned 1, compress got signal 13]
I rebooted on 15 o'clock, so by then AMANDA was already dead. The
problem is that, since I could not send a "mt /dev/... rewind", the
ftape driver could not write the header segments and the tape contents
are thus not readable.
I know, it's not AMANDA's fault :-). But if a had a method to reserve
some of the virtual memory (~200MB including swap), say 20 Megs, only
for root, I think I might be able to switch from X to a console (even
this was not possible) and do at least the "mt" by hand. So the question
is: How do I reserve some virtual memory only for root?
--
Regards
Chris Karakas
Don´t waste your cpu time - crack rc5: http://www.distributed.net