Sys V handling of insufficient swap space.
lou at hoxna.UUCP
lou at hoxna.UUCP
Wed Mar 4 05:12:42 AEST 1987
I've removed .wizards from the subject line, because I sure ain't no
wizard !
> < Sys5 doesn't handle running out of swap space well. A program
> that supposedly demonstrates this is provided >
First of all, your program won't run on many systems,
hoxna included, because that huge auto array you allocate won't fit
on the stack. (We're not *all* running Amdahls, y'know).
Second of all, well, you're right, "out of swap space", CRASH ! ,
isn't the most elegant way to handle it, but it seems to me if it happens
more than more than say twice, you've got malicious users or need to re-tune
your system. But the only way I can see to do things differently would be
to kill the proccess asking for the fatal pages, and that could conceivably
cause just as many problems.
lou @ hoxna
More information about the Comp.bugs.sys5
mailing list