[newbie] Memory clog on 9.2?
Yo; I've got a Mandrake 9.2 box that I use as a web server. On my SuSE box at home I leave KDE system guard open 24/7 connected to the server via ssh, all that fun stuff. I've noticed that as the server is on for long periods of time, the ammount of free memory goes down, at roughly 3MB/hour. What would be filling it up? I wouldn't give it much though, 'cept this is a server, and at this rate two days of up time and I'm spilling over into SWAP, which would slow it down too much for my liking. Any help? Thanx, SigmaChi -- Registered Linux user #366862 Not that you care, but this message was sent from a 750MHz Athlon system running SuSE Linux 9.1 (Kernal 2.6.5) and KMail 1.62. I aslo run Red Hat Linux 8.0 (Kernal 2.4.18), Debian GNU/Linux 3.0 (Kernal 2.2.20), Mandrake Linux 9.2 (Kernal 2.4.22), and YellowDog Linux 3.0 (Kernal 2.4.20) on various systems and architectures for various reasons. Yeah, and there's a old Mac OS in there somewhere that I use as a bootloader for Linux, and a Windows XP box used as a router for my Linux-based network, but they don't count, 'cuz they aren't real OS's. Who me? Biased? Nah! Failure is not an option with Microsoft; it's bundled with the software! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Memory clog on 9.2?
Eric Scott wrote: Yo; I've got a Mandrake 9.2 box that I use as a web server. On my SuSE box at home I leave KDE system guard open 24/7 connected to the server via ssh, all that fun stuff. I've noticed that as the server is on for long periods of time, the ammount of free memory goes down, at roughly 3MB/hour. What would be filling it up? I wouldn't give it much though, 'cept this is a server, and at this rate two days of up time and I'm spilling over into SWAP, which would slow it down too much for my liking. Any help? Thanx, SigmaChi Dumb question - how are you determining the amound of free memory? If you are going by the first line of the free command, then you probably do not have anything to worry about. A Linux machine will use up just about all of the free memory for buffers and disk cache. It will release this memory when needed by programs. This is normal. It is also normaly for Linux to swap out waiting programs during high memory demand, and leave them swapped out untill they are needed again. So you can have swap spaced used, even though there is plenty of memory that could be used to run programs. Look at the second line of the free command to determine if you are running out of memory. The number under the free column is how much memory you have free for running programs. Remember, free memory is wasted memory. Linux likes to use all fo the memory in the system to make things run faster... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Memory clog on 9.2?
On Thu, 2004-11-11 at 05:36, Eric Scott wrote: Yo; I've got a Mandrake 9.2 box that I use as a web server. On my SuSE box at home I leave KDE system guard open 24/7 connected to the server via ssh, all that fun stuff. I've noticed that as the server is on for long periods of time, the ammount of free memory goes down, at roughly 3MB/hour. What would be filling it up? I wouldn't give it much though, 'cept this is a server, and at this rate two days of up time and I'm spilling over into SWAP, which would slow it down too much for my liking. Any help? Thanx, SigmaChi How many instances of Apache are running? What version of Apache are you running? Have you updated the kernel and other system software? Have you considered load balancing - putting the SWAP and /tmp and /var on a completely different physical drive? Have you turned off all unnecessary services so that the server is JUST a webserver? -- stephen kuhn mobile: 0410-728-389 illawarra and regional new south wales --- GNU/Linux/OpenSource Solutions and Alternatives 100% Microsoft Free and no viruses Registered Linux User # 267497 Windows: Where do you want to go today? MacOS: Where do you want to be tomorrow? Linux: Are you coming or what? --- It is impossible for an optimist to be pleasantly surprised. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com