[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] inittab trimming





José Luis Gómez Dans wrote:

> Hi all,
> 	This might sound stupid, but I have a server running on a
> "modest" computer (486/66), and when users access it with both apache
> and proftpd, memory consumption goes up, and at some point, we start
> swapping madly (which doesn't really help). The response of the server
> is very sluggish, so I though I'd check what can be chucked out. 
> 
> 	As a first approach, I though that all those getty lines
> launched by inittab aren't needed: I only need one console, not 6. Each
> of them takes about 500 k (roughly equivalent to a half apache memory
> load), so I thought I'd take them out (I know they're in the swap, but
> if they aren't used, they shouldn't be there after all, should they?). I
> can just do that by going into /etc/inittab and commenting out the lines
> tha spawn them, but I am worried of touching this file in case something
> explodes or burns.
> 
> 	Any cautions I should have? And any memory saving tricks would
> be appreciated...
> 
> 	José
> 


Just a suggestion - N R Bardwell Ltd, 288 Abbeydale Rd sells 60ns EDO 
SIMMS for £20/32Mb - rather expensive when you can easily get 256 meg 
SDRAM for that much but still they're hard to get hold of these days...

If you're using a stock distro then you've probably got a lot of 
processes you don't need and a bloaty kernel. My laptop relatively 
happily runs slackware 7 in 4mb RAM, but it took a lot of trimming back. 
Read the small-memory mini-howto.

A. Basterfield



___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.