lkml.org 
[lkml]   [1998]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: A true story of a crash.
Date
From
linker@z.ml.org wrote:
> On Sat, 15 Aug 1998, Joel Jaeggli wrote:
>
> > I agree, On my work machines, if they start running out of swap it's
> > generally a sign that something is seriously wrong with the machine when
> > it's gone through 128 or 256 mb of ram and 256 or 384mb of swap radical
> > action that doesn't involve adding more swap is required to deal with the
> > issue.
> >
> > As you say, When things get really out of hand, the idea should be to make
> > it come back as gracefully as possible not bandaid it until it tips over
> > for good. beyond a certain point adding more swap is just asking for
> > things to get slower and slower. The dynamically growing swapfile is win95
> > is a particularly good example of this. It will keep growing swap until
> > you either run out of disk space, get sick of it grinding and reboot or
> > kill a bunch of apps. Generally if you manage to keep a windows box
> > running for a couple of weeks you end up rebooting it because the swapfile
> > has become so huge.
>
> While creeping swap would be a problem, I think that there should be a
> daemon to add a little emergency swap. Not more then 32megs or so.. and
> ofcourse it should shrink it once it's not in use..

In an attempt to make the people shut up that whine about a deamon
that adds swap when things go out of and, here is a deamon that does
that. Well, to be exact, it can be configured to do that.

It is configurable. For example, you can make it do something if the
number of errors on your ethernet interface goes above a threshold.

Regards,

Roger.


begin 644 swapmon-1.0.tar.gz
M'XL(`&N=UC4"`^U9^U/;2!+F5_17=$PE8.*7,(\[6++G$%Y50"@>RZ6RJ920
M1G@.2>/2C'"\6>YOOZ]'+YO`W6[5;:YNBRD(UDQ/O_OKEJ/'WBA62=OM]+IS
M?]"BU=[&VAK-$;D;:SW^2^[JJOU;K![1^MKZVIK+OSAUU]S5.5J;^PXKT\9+
MB>;&*@K#?TLG4CWWIUMZ*O['WJT(923^VS+<7F\]C_?C\7?=]3+^:_W5#6ST
M5_KN'/6>X_^'+\=Q=G:V;WS?V=D[&NR?;[>OO"BB]OL5G.#3)A49XCA^)+QD
MDYSY-*9V6.[3<D>1KU)!R_]TYI[7_W']:R\>1:+CJR3\GO7OKO=K_.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>@`H
"````
`
end



--
| The secret of success is sincerity. Once you can | wolff@cardit.et.tudelft.nl
| fake that, you've got it made. -- Jean Giraudoux | T: +31-15-2137555
- Custom Linux device drivers for sale! Call for a quote. - F: +31-15-2138217

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.219 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site