Re: Swap fscked in 2.4.5?
On Thu, 12 Jul 2001 17:39:30 EDT, Mike wrote: The 128 MB limit on swap partitions went away in the 2.2 series. I think it is 2 gig now. I had forgotten that, What about swap on raid? -- Paul T Wright [EMAIL PROTECTED] And, strange to tell, among the Earthen Lot Some could articulate, while others not: And suddenly one more impatient cried -- Who is the Potter, pray, and who the Pot? -- The Rubaiyat of Omar Khayyam --
Re: Swap fscked in 2.4.5?
Sean == Sean Morgan [EMAIL PROTECTED] writes: Sean Upgrading to 2.4.6 seemed to work rather well for me. There is Sean some documentation of vm issues in the kernel changelogs. My Sean machine has been up for 7 days as I write this and is only using Sean 10 out of 200 megs of swap. I agree. Until 2.4.5, I could see my swap usage increase slowly. I still have the feeling 2.4.6 uses more swap than it should, but it definitely is an improvement. -- G. ``Iggy'' Geens - ICQ: #64109250 Home: [EMAIL PROTECTED] - Work: [EMAIL PROTECTED] WWW: http://users.pandora.be/guy.geens/ `I want quality, not quantity. But I want lots of it!'
Re: Swap fscked in 2.4.5?
Hi there Goeffrey, if you have 256MB check http://kt.zork.net/kernel-traffic/kt20010528_120.html#2 if it is your problem Regards, Chris - Original Message - From: Geoffrey Romer [EMAIL PROTECTED] To: [EMAIL PROTECTED]; debian-user@lists.debian.org Sent: Wednesday, July 11, 2001 10:09 PM Subject: Re: Swap fscked in 2.4.5? I'm told that this is a bug in the 2.4 series- does anyone know if upgrading to 2.4.6 will help this problem at all? If not, are there any other workarounds? One work around is to make sure that you have a swap partition at least twice as big as physical memory. This has been just a rule of thumb prior to 2.4, but seems to be pretty important now. No- the other way around, in fact. I have 256 meg RAM and 127 meg swap. Is there still a rule that swap partitions can be no larger than 127 meg? If not, I shall have to look into repartitioning... -- Geoffrey M. Romer [EMAIL PROTECTED] --- Never let your sense of morals prevent you from doing what is right -Salvor Hardin I can't leave you alone with this man! He might be a tenor! -Fred Astaire -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Swap fscked in 2.4.5?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A long time ago, in a galaxy far, far way, someone said... [trouble with the vm in 2.4.5] I'm told that this is a bug in the 2.4 series Correct does anyone know if upgrading to 2.4.6 will help this problem at all? I don't know if 2.4.6 has totally fixed the problem or not but in my experience it's much better in this regard. If not, are there any other workarounds? Add more swap. - -- - -- Phil Brutsche [EMAIL PROTECTED] GPG fingerprint: 9BF9 D84C 37D0 4FA7 1F2D 7E5E FD94 D264 50DE 1CFC GPG key id: 50DE1CFC GPG public key: http://tux.creighton.edu/~pbrutsch/gpg-public-key.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Made with pgp4pine iD8DBQE7ThZb/ZTSZFDeHPwRAscMAKCYlWuLaL40rrABSqZBG5RIoAJfJQCgzzkH +xgSXk84kr1dVSnOIGhA5yc= =4BG0 -END PGP SIGNATURE-
Re: Swap fscked in 2.4.5?
To all experiencing the 2.4.5 swap problems, you guys should follow the kernel lists or read kernel-traffic when running the latest kernels. IIRC, shortly after kernel 2.4.5 was released there was a report of problems involving swap and memory use. The fix was to have twice as much swap as RAM (or more). This may require one to have multiple swap partitions, if you have more than 64M of RAM. If you have more than one HD and your machine is using swap, you can improve your machine's performance by placing each swap partition on a different drive. I tested this on a machine running 2.4.5 and found that it works fine, but I am not currently running that kernel, as I have no specific need for it. --ptw -- Paul T Wright [EMAIL PROTECTED] And, strange to tell, among the Earthen Lot Some could articulate, while others not: And suddenly one more impatient cried -- Who is the Potter, pray, and who the Pot? -- The Rubaiyat of Omar Khayyam --
Re: Swap fscked in 2.4.5?
On Thu, Jul 12, 2001 at 05:48:06PM -0400, Paul Wright wrote: The fix was to have twice as much swap as RAM (or more). This may require one to have multiple swap partitions, if you have more than 64M of RAM. The 128 MB limit on swap partitions went away in the 2.2 series. I think it is 2 gig now. Mike
Swap fscked in 2.4.5?
My swap partition is behaving very rudely. Specifically, swap space never seems to get freed- swap size only increases, never decreases. Once it maxes out, the system becomes sluggish, and there's nothing to do but reboot (the notion of rebooting a system to fix a problem is giving me Windows flashbacks...) I'm told that this is a bug in the 2.4 series- does anyone know if upgrading to 2.4.6 will help this problem at all? If not, are there any other workarounds? -- Geoffrey M. Romer [EMAIL PROTECTED] --- Never let your sense of morals prevent you from doing what is right -Salvor Hardin I can't leave you alone with this man! He might be a tenor! -Fred Astaire
Re: Swap fscked in 2.4.5?
On Wed, Jul 11, 2001 at 11:57:33AM -0700, Geoffrey Romer wrote: My swap partition is behaving very rudely. Specifically, swap space never seems to get freed- swap size only increases, never decreases. Once it maxes out, the system becomes sluggish, and there's nothing to do but reboot (the notion of rebooting a system to fix a problem is giving me Windows flashbacks...) I'm told that this is a bug in the 2.4 series- does anyone know if upgrading to 2.4.6 will help this problem at all? If not, are there any other workarounds? One work around is to make sure that you have a swap partition at least twice as big as physical memory. This has been just a rule of thumb prior to 2.4, but seems to be pretty important now. Mike
Re: Swap fscked in 2.4.5?
* Geoffrey Romer ([EMAIL PROTECTED]) spake thusly: My swap partition is behaving very rudely. Specifically, swap space never seems to get freed- swap size only increases, never decreases. Once it maxes out, the system becomes sluggish, and there's nothing to do but reboot (the notion of rebooting a system to fix a problem is giving me Windows flashbacks...) I'm told that this is a bug in the 2.4 series- does anyone know if upgrading to 2.4.6 will help this problem at all? I've not monitored swap usage since upgrading to 2.4.6 so I cannot answer that. If not, are there any other workarounds? How much swap RAM do you have? I've heard (on kernel mailing list IIRC) that if your swap is 2-3 * RAM size, the bug shouldn't hurt anything. I've less swap then RAM here, and I get out of memory errors after about 2 weeks uptime. AFAIK known workarounds are to have plenty of swap or to reboot the box every once in a while. Dima -- E-mail dmaziuk at bmrb dot wisc dot edu (@work) or at crosswinds dot net (@home) http://www.bmrb.wisc.edu/descript/gpgkey.dmaziuk.ascii -- GnuPG 1.0.4 public key The wombat is a mixture of chalk and clay used for respiration. -- MegaHal
Re: Swap fscked in 2.4.5?
I try to clean up the swap once in a while after running big apps: swapoff -a and then swapon -a. Note that while you swapoff, if you run X, it might freeze up for the duration of the execution (however, it unfreezes once swapping is done). Andrei -- First there was Explorer... Then came Expedition. This summer Coming to a street near you.. Ford Exterminator. -- Andrei Ivanov http://arshes.dyndns.org [EMAIL PROTECTED] 12402354 --
Re: Swap fscked in 2.4.5?
I'm told that this is a bug in the 2.4 series- does anyone know if upgrading to 2.4.6 will help this problem at all? If not, are there any other workarounds? One work around is to make sure that you have a swap partition at least twice as big as physical memory. This has been just a rule of thumb prior to 2.4, but seems to be pretty important now. No- the other way around, in fact. I have 256 meg RAM and 127 meg swap. Is there still a rule that swap partitions can be no larger than 127 meg? If not, I shall have to look into repartitioning... -- Geoffrey M. Romer [EMAIL PROTECTED] --- Never let your sense of morals prevent you from doing what is right -Salvor Hardin I can't leave you alone with this man! He might be a tenor! -Fred Astaire
Re: Swap fscked in 2.4.5?
Geoffrey Romer [EMAIL PROTECTED] writes: I'm told that this is a bug in the 2.4 series- does anyone know if upgrading to 2.4.6 will help this problem at all? If not, are there any other workarounds? One work around is to make sure that you have a swap partition at least twice as big as physical memory. This has been just a rule of thumb prior to 2.4, but seems to be pretty important now. No- the other way around, in fact. I have 256 meg RAM and 127 meg swap. Is there still a rule that swap partitions can be no larger than 127 meg? If not, I shall have to look into repartitioning... Ther's no more 128M size limit on swap partitions with 2.4.x. I'm sure there's a limit on the size of a swap partition but I've got a 2G one and, other than apparently never freeing itself, it's been used right up to the 2G size. Gary
Re: Swap fscked in 2.4.5?
Geoffrey Romer wrote: Is there still a rule that swap partitions can be no larger than 127 meg? If not, I shall have to look into repartitioning... That restriction was eliminated some time between 2.0 and 2.2 kernels. I'm running a 2.2 with 3 * 512M swap partitions. -- | Bryan Andersen | [EMAIL PROTECTED] | http://www.nerdvest.com | | Buzzwords are like annoying little flies that deserve to be swatted. | | -Bryan Andersen|
Re: Swap fscked in 2.4.5?
On Wed, Jul 11, 2001 at 11:57:33AM -0700, Geoffrey Romer wrote: My swap partition is behaving very rudely. Specifically, swap space never seems to get freed- swap size only increases, never decreases. Once it maxes out, the system becomes sluggish, and there's nothing to do but reboot (the notion of rebooting a system to fix a problem is giving me Windows flashbacks...) I'm told that this is a bug in the 2.4 series- does anyone know if upgrading to 2.4.6 will help this problem at all? If not, are there any other workarounds? Have you tried to determine if it's actually a memory leak in the kernel or some program you have running? Check top and see if there are any ridiculously large processes. If not, it must be a kernel memory leak -- very bad. -- Eric G. Miller egm2@jps.net
Re: Swap fscked in 2.4.5?
On Wed, Jul 11, 2001 at 11:57:33AM -0700, Geoffrey Romer wrote: My swap partition is behaving very rudely. Specifically, swap space never seems to get freed- swap size only increases, never decreases. Once it maxes out, the system becomes sluggish, and there's nothing to do but reboot (the notion of rebooting a system to fix a problem is giving me Windows flashbacks...) I'm told that this is a bug in the 2.4 series- does anyone know if upgrading to 2.4.6 will help this problem at all? If not, are there any other workarounds? Upgrading to 2.4.6 seemed to work rather well for me. There is some documentation of vm issues in the kernel changelogs. My machine has been up for 7 days as I write this and is only using 10 out of 200 megs of swap.