Skip to contentSkip to conversation

linux-2.4.13 high SWAP

DISCUSSION Robert Scussel 5 participants 6 messages Oct 30, 2001

lore
Share & tools
lore
#0 lore raw

Just thought that I would add our experience.

We have experienced the same kind of swap symptoms described, however we have no mounted tmpfs, or ramfs partitions. We have, in fact, experienced the same symptoms on the 2.4.2,2.4.5,2.4.7 and 2.4.12 kernel, haven't yet tried the 2.4.13 kernel. The symptoms include hung processes which can not be killed, system cannot right to disk, and files accessed during this time are filled with binary zeros. As sync does not work as well, the only resolution is to do a reboot -f -n.

All systems are comprised of exclusively SGI XFS partitions, with dual pentium II/III processors.

Any insight would be helpful,

Robert Scussel
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912 5FCC 92D8 1EA1 BAF7 0959

#1 lore raw

Hi Robert,

I'm just a regular user of sgi xfs on my desktop and I noted It eats up all memory (maybe cos it caches too much). Don't know if it matters but have you ever tried to umount/mount these partitions ?

[]'s
Pablo

Quoted 15 lines · On Mon, 29 Oct 2001 23:49:56 -0500 Robert Scussel <[email protected]> wrote:

Just thought that I would add our experience.

We have experienced the same kind of swap symptoms described, however we have no mounted tmpfs, or ramfs partitions. We have, in fact, experienced the same symptoms on the 2.4.2,2.4.5,2.4.7 and 2.4.12 kernel, haven't yet tried the 2.4.13 kernel. The symptoms include hung processes which can not be killed, system cannot right to disk, and files accessed during this time are filled with binary zeros. As sync does not work as well, the only resolution is to do a reboot -f -n.

All systems are comprised of exclusively SGI XFS partitions, with dual pentium II/III processors.

Any insight would be helpful,

Quoted 10 lines

Robert Scussel
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912 5FCC 92D8 1EA1 BAF7 0959 -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Pablo Borges [email protected]
-------------------------------------------------------------------
____ Tecnologia UOL
/ \ Debian:
| =_/ The 100% suck free linux distro.
\
\ SETI is lame. http://www.distributed.net
Dnetc is XNUG!

#2 lore raw
In reply to Robert Scussel

Hi,

Quoted 2 lines · Pablo Ninja

I'm just a regular user of sgi xfs on my desktop and I noted It eats up all memory (maybe cos it caches too much). Don't know if it matters but have you ever tried to umount/mount these partitions ?

No problems here with sgi xfs on a lvm-volume and 2.4.13, 192MB RAM, K6-2/400.

Uli

Quoted 47 lines
Quoted 15 lines · On Mon, 29 Oct 2001 23:49:56 -0500 Robert Scussel <[email protected]> wrote:

Just thought that I would add our experience.

We have experienced the same kind of swap symptoms described, however we have no mounted tmpfs, or ramfs partitions. We have, in fact, experienced the same symptoms on the 2.4.2,2.4.5,2.4.7 and 2.4.12 kernel, haven't yet tried the 2.4.13 kernel. The symptoms include hung processes which can not be killed, system cannot right to disk, and files accessed during this time are filled with binary zeros. As sync does not work as well, the only resolution is to do a reboot -f -n.

All systems are comprised of exclusively SGI XFS partitions, with dual pentium II/III processors.

Any insight would be helpful,

Quoted 10 lines

Robert Scussel
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912 5FCC 92D8 1EA1 BAF7 0959 -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Pablo Borges [email protected]
-------------------------------------------------------------------
____ Tecnologia UOL
/ \ Debian:
| =_/ The 100% suck free linux distro.
\
\ SETI is lame. http://www.distributed.net
Dnetc is XNUG!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 1 line
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5
#3 lore raw
In reply to Robert Scussel

I test 2.4.9 , 2.4.10-ac7, 2.4.13 and all have this problem, I'm not using XFS, but reiserfs with LVM and 4 GB RAM. I detected if use tmpfs the kswapd eat my all CPU's, in 2.4.13 the system hang after a time. Now I'm testing 2.4.13-ac3 without tmpfs and he is very better than the others versions. But a nice test is disable the HIGHMEM support. I have a machine with 1GB RAM and the system is very fine and stable, running 2.4.10-ac7.

Em Ter 30 Out 2001 02:49, Robert Scussel escreveu:

Quoted 16 lines

Just thought that I would add our experience.

We have experienced the same kind of swap symptoms described, however we have no mounted tmpfs, or ramfs partitions. We have, in fact, experienced the same symptoms on the 2.4.2,2.4.5,2.4.7 and 2.4.12 kernel, haven't yet tried the 2.4.13 kernel. The symptoms include hung processes which can not be killed, system cannot right to disk, and files accessed during this time are filled with binary zeros. As sync does not work as well, the only resolution is to do a reboot -f -n.

All systems are comprised of exclusively SGI XFS partitions, with dual pentium II/III processors.

Any insight would be helpful,

Robert Scussel

#4 lore raw
Quoted 6 lines · Andre Margis

I test 2.4.9 , 2.4.10-ac7, 2.4.13 and all have this problem, I'm not using XFS, but reiserfs with LVM and 4 GB RAM. I detected if use tmpfs the kswapd eat my all CPU's, in 2.4.13 the system hang after a time. Now I'm testing 2.4.13-ac3 without tmpfs and he is very better than the others versions. But a nice test is disable the HIGHMEM support. I have a machine with 1GB RAM and the system is very fine and stable, running 2.4.10-ac7.

To contrast. We have had the best success with Linux 2.4.7 with HIGHMEM support enabled.

I see several people having similar symptoms and everyone is point fingers at tmpfs or ramfs or xfs (I pointed my finger there originally). It seems to me that it is something more fundamental and that particular usage patterns are triggering this. I have around 20 different dual processor machines that run 2.4.7-xfs, 2.4.2-xfs, or 2.4.12-xfs and I can only replicate it when I put heavy filesystem activity on the machine.

Every time I replicate the problem, I become less certain of the actual cause! I have kdb and SysReq enabled on all these boxes and it doesn't cause a console freeze, so if some extra info would be helpful, let me know and I will gather it during the next "glitch."

I am confident that the problem, on triggered, directly effects all filesystem code. Once I have an "unkillable" process scheduled, it is CPU bound and all filesystem sync operations fail. The sync command never returns, reboot won't work without (-n) and all my mailers (exim in this case) freeze on their fsync calls.

The _REALLY_ bad thing here (other than suspended disk I/O and the cruel reboot) is that all file blocks that are modified after this "glitch" are full of \000's upon reboot. A good portion of my mail spool is corrupted as well as other files. I don't know if this is specific to only journalled file systems as I cannot afford the downtime of replicating this problem on a non-journalled fs.

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984 2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7

#5 lore raw
In reply to Robert Scussel
Quoted 5 lines · Pablo Ninja

Hi Robert,

I'm just a regular user of sgi xfs on my desktop and I noted It eats up all memory (maybe cos it caches too much). Don't know if it matters but have you ever tried to umount/mount these partitions ?

Yes, I have tried to unmount the partition, however, it is impossible once the machine gets into this state.

One thing that I have noticed is that when the load starts to increase, a manual sync, although it takes a long time, appears to keep off an immediate hang of the system. Once the load gets above 25 however, the machines spiral out of control.

Robert

Quoted 42 lines

[]'s
Pablo

Quoted 15 lines · On Mon, 29 Oct 2001 23:49:56 -0500 Robert Scussel <[email protected]> wrote:

Just thought that I would add our experience.

We have experienced the same kind of swap symptoms described, however we have no mounted tmpfs, or ramfs partitions. We have, in fact, experienced the same symptoms on the 2.4.2,2.4.5,2.4.7 and 2.4.12 kernel, haven't yet tried the 2.4.13 kernel. The symptoms include hung processes which can not be killed, system cannot right to disk, and files accessed during this time are filled with binary zeros. As sync does not work as well, the only resolution is to do a reboot -f -n.

All systems are comprised of exclusively SGI XFS partitions, with dual pentium II/III processors.

Any insight would be helpful,

Quoted 10 lines

Robert Scussel
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912 5FCC 92D8 1EA1 BAF7 0959 -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Pablo Borges [email protected]
-------------------------------------------------------------------
____ Tecnologia UOL
/ \ Debian:
| =_/ The 100% suck free linux distro.
\
\ SETI is lame. http://www.distributed.net
Dnetc is XNUG!

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912 5FCC 92D8 1EA1 BAF7 0959