On 04:24 13 Feb 2002, cameron <[EMAIL PROTECTED]> wrote: | Is there anyway of purging my ram and/or the swap? My system becomes very | slow after awhile and a reboot is the only way I can remedy this.
Sounds like bloat, and thus thrashing (excessive paging) - is there steady disc activity when it gets sluggish? Several programs grow indefinitely (eg Mozilla or Netscape). Run top and sort the columns on memory size. Or run "ps axl" and sort on the RSS or SIZE fields - compare them: SIZE is the total process size and RSS is the resident set - those pages actually in memory. | Also, is there a way of changing the memory allocation of various processes? | It appears (in top) that X has close to 60Mb of memory allocated to it | (running Gnome) and I'd like to know if it really needs that much and still | remain stable. Well, they need what they need. If you put a memory limit on a program and it hits it it generally just aborts. (You want the "ulimit" bash builtin - see "man bash" and go to the bottom and search backwards for it.) But some things use more than others. If you're short of real memory, choose more frugal programs: run icewm instead of the Gnome window manager, use rxvt instead of xterm or the Gnome terminal, use few browser windows. Use no background images and wallpaper. Quit netscape (or whatever) when it gets too big. Turn off image animations and JavaScript. Also, rebooting is probably excessive. A logout and login will reset many things, as it quits all your programs and the X server itself (a fresh one it started). -- Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/ "I'm a lawyer." "Honest?" "No, the usual kind." _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list