out of swap
Last night I was browsing the web and I came across a page with LOTS of images. There were so many that it drove my swap space to ZERO. I still had 3 Meg of memory, but the system became virtually unusable and SLOW. (there were over 150 x 30k+ images on one page).
Is this something that the OOM would fix or is this another issue altogether?
The machine has
64Meg of swap space, 128 Meg of RAM, Dual 233MMX, Itis running 2.2.17 and Rh 6.2.
Any ideas? thanks Joe
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 7 lines
Last night I was browsing the web and I came across a page with LOTS of images. There were so many that it drove my swap space to ZERO. I still had 3 Meg of memory, but the system became virtually unusable and SLOW. (there were over 150 x 30k+ images on one page).
Quoted 8 lines
Is this something that the OOM would fix or is this another issue altogether?
The machine has
64Meg of swap space, 128 Meg of RAM, Dual 233MMX, Itis running 2.2.17 and Rh 6.2.Any ideas? thanks Joe
Add more swap. What would you like the system to do if it's out of both
memory and swap? It can either kill processes or become slow.
DS
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
What would I like it to do? Warn me maybe before my swap goes to zero. Kill the program that is doing this possibly. Allow me to set a per process memory / swap limit so that no one process can suck up my system resources.
I'd rather not increase swap if possible, as it was only this one page that hosed my system, and other than that, my system doesn't swap that much if at all.
Quoted 13 lines
Quoted 13 lines
Last night I was browsing the web and I came across a page with LOTS of images. There were so many that it drove my swap space to ZERO. I still had 3 Meg of memory, but the system became virtually unusable and SLOW. (there were over 150 x 30k+ images on one page).
Is this something that the OOM would fix or is this another issue altogether?
The machine has
64Meg of swap space, 128 Meg of RAM, Dual 233MMX, Itis running 2.2.17 and Rh 6.2.
Quoted 6 lines
Quoted 1 line
Any ideas? thanks Joe
Add more swap. What would you like the system to do if it's out of both
memory and swap? It can either kill processes or become slow.DS
--
Joe Acosta ........
home: [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 7 lines
What would I like it to do? Warn me maybe before my swap goes to zero. Kill the
program that is doing this possibly. Allow me to set a per process memory / swap
limit so that no one process can suck up my system resources.
There are several programs available with the typical Linux installation that allows you to monitor swap space. For example, xosview.
There are also settings you can make in Netscape that supposedly limit disk space usage and memory usage.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 10 lines · Kevin Krieser
Quoted 7 lines
What would I like it to do? Warn me maybe before my swap goes to zero. Kill the
program that is doing this possibly. Allow me to set a per process memory / swap
limit so that no one process can suck up my system resources.There are several programs available with the typical Linux installation that allows you to monitor swap space. For example, xosview.
Yep
Quoted 3 lines
There are also settings you can make in Netscape that supposedly limit disk space usage and memory usage.
But this doesn't help this particular problem, I think. The problem is probably not the in-memory cache, but the resource consumption caused by netscape loading the pictures.
You can use ulimit (or pam) to set memory consumption limits for each process, and that would usually do the trick (see /etc/pam.d/ and /etc/security/limits.conf at least on RedHat).
Unfortunately, Netscape sends the images to the X server, so usually you will see that Netscape's memory consumption stays fairly constant, while your X
server will start consuming lots of memory. If you set the resource limits,
your X server will be the obvious choice for the OOM killer (I guess - comments, Riel or Andrea ?). I don't know of any good solution to this problem other than just having enough swap space - after all, seriously, with today's disks, who can't spare an extra few hundred megs (which would usually be more than enough).
Signature · 10 lines
................................................................ : [email protected] : And I see the elder races, : :.........................: putrid forms of man : : Jakob Østergaard : See him rise and claim the earth, : : OZ9ABN : his downfall is at hand. : :.........................:............{Konkhra}...............: - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Jakob Østergaard wrote:
<snip>
Quoted 4 lines
comments, Riel or Andrea ?). I don't know of any good solution to this problem other than just having enough swap space - after all, seriously, with today's disks, who can't spare an extra few hundred megs (which would usually be more than enough).
An embedded system for one . . . .
-b
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 10 lines · Ben Ford
Jakob Østergaard wrote:
<snip>
Quoted 4 lines
comments, Riel or Andrea ?). I don't know of any good solution to this problem other than just having enough swap space - after all, seriously, with today's disks, who can't spare an extra few hundred megs (which would usually be more than enough).
An embedded system for one . . . .
If you need to browse heavily illustrated web pages on an embedded system (one small enough to not have a disk), then use a decent browser...
/me runs... ;)
Usually ulimits can help and tons of swap is uncalled for - but this case where Netscape makes X consume memory on Netscape's behalf is so rare (I guess), that I don't think this is a problem worthy of the embedded-systems-VM-discussion.
Signature · 10 lines
................................................................ : [email protected] : And I see the elder races, : :.........................: putrid forms of man : : Jakob Østergaard : See him rise and claim the earth, : : OZ9ABN : his downfall is at hand. : :.........................:............{Konkhra}...............: - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/