Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Memory usage

  1. #21
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,907
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Memory usage

    Quote Originally Posted by kernco View Post
    so now I'm keeping an eye on my memory.
    Try applying the swappiness and "dirty cache" parameters that I mentioned in my previous posting. Maybe this helps ... ?

    Another question --and I am asking this because I ran into this problem recently on one of my servers-- are all your disks and filesystems OK? What filesystem do you use? Ext4? Or something else?

    What happened to me is this: One of my servers where we were using the XFS filesystem (back when that server was installed, XFS was considered being better at handling large files than Ext2 or Ext3; Ext4 didn't exist yet) had a serious problem with one of its disks ... and because some processes were not able to get rid of their data in reasonable time (they couldn't write their stuff back because the disk couldn't keep pace) that data started filling that server's RAM pretty fast, and so the system got slower and slower ... When I checked /var/log/messages there were several warnings regarding I/O errors, filesystem errors, and what not. I had to replace that disk. Taddaaa, problem solved.

    You don't happen to observe anything like that on your system? e.g. any mentioning of I/O errors, disk read or write errors or something like that in your log file, e.g. /var/log/messages? Or in the output of "dmesg"?

  2. #22
    Join Date
    Aug 2006
    Beans
    128
    Distro
    Ubuntu Development Release

    Re: Memory usage

    Quote Originally Posted by scorp123 View Post
    Try applying the swappiness and "dirty cache" parameters that I mentioned in my previous posting. Maybe this helps ... ?
    I'll try these settings, but they're not going to address the root of the problem (memory leaks), just alleviate the symptoms.

    Another question --and I am asking this because I ran into this problem recently on one of my servers-- are all your disks and filesystems OK? What filesystem do you use? Ext4? Or something else?
    I have a single hard drive with three partitions: / using Ext4, /home using Ext4, and swap.

    You don't happen to observe anything like that on your system? e.g. any mentioning of I/O errors, disk read or write errors or something like that in your log file, e.g. /var/log/messages? Or in the output of "dmesg"?
    I don't see any I/O errors in my system log.
    Dell XPS 410, Core 2 Duo 1.86 GHz, 2 Gigs RAM, NVIDIA Geforce 8800 GTS

  3. #23
    Join Date
    Feb 2008
    Beans
    160
    Distro
    Ubuntu Development Release

    Re: Memory usage

    Quote Originally Posted by _khAttAm_ View Post
    I booted into 2.6.35-1generic and the problem seems to have magically disappeared.. Let me see if the memory gradually increases again. With Filezilla, Chrome 6 with 5 tabs, Thunderbird 3, awn, apache/mysql, compiz, deluge, gnote and some more, mem usage is just 875MB (swap=0MB).. which seems fair till now...

    I will post if it gets worse again.
    Apparently, I figured out later that upgrade to this kernel did not solve the issue. When I use for prolonged time, it still continues using up more and more RAM, eventually starts paging and slowing things down..

    To test this issue further, I disabled Desktop effects altogether (I had setup many compiz effects, which I backed up and disabled compiz from Appearance->None). Now, RAM usage at startup has decreased to 450MB from 950 MB, which is certainly better. I will use this for prolonged time and let you know what happens...
    Sharing Views and Experiences
    Ubuntu Debian Testing 32bit as the only OS on Gigabyte GA-G31M-S2L, C2D E6550, On-board Intel GMA 3100 Gfx, 4GB DDR2 800MHz RAM
    Pardon my poor English

  4. #24
    Join Date
    Jun 2006
    Beans
    2,930

    Re: Memory usage

    Quote Originally Posted by _khAttAm_ View Post
    Apparently, I figured out later that upgrade to this kernel did not solve the issue. When I use for prolonged time, it still continues using up more and more RAM, eventually starts paging and slowing things down..

    To test this issue further, I disabled Desktop effects altogether (I had setup many compiz effects, which I backed up and disabled compiz from Appearance->None). Now, RAM usage at startup has decreased to 450MB from 950 MB, which is certainly better. I will use this for prolonged time and let you know what happens...
    I just noticed you mentioned you are using xorg-edgers-ppa
    There is a known issue with a gem leak. I think the issue still exists with xorg-edgers:
    more info here: https://wiki.ubuntu.com/X/Testing/GEMLeak

    what version does this report:
    Code:
    glxinfo | grep "GLX version"
    If it says 1.4, that might be the cause.
    Support 7z in default installs!!!: Click Here

    How to use code blocks to post command output: Click Here
    Official Ubuntu Documentation

  5. #25
    Join Date
    Feb 2008
    Beans
    160
    Distro
    Ubuntu Development Release

    Re: Memory usage

    Quote Originally Posted by lavinog View Post
    I just noticed you mentioned you are using xorg-edgers-ppa
    There is a known issue with a gem leak. I think the issue still exists with xorg-edgers:
    more info here: https://wiki.ubuntu.com/X/Testing/GEMLeak

    what version does this report:
    Code:
    glxinfo | grep "GLX version"
    If it says 1.4, that might be the cause.
    yes that was my version.. but I guess the problem existed with or without xorg-edgers.. I have nevertheless, added other PPA and installed the packages that came as upgrades and dist-upgrades.. Memory usage is low till now (783MB of 2GB and no swap usage at all, its just half an hour after restarting though).. I'll post if this solves the problem..

    Thank you very much for your help.
    Last edited by _khAttAm_; June 13th, 2010 at 01:53 PM.
    Sharing Views and Experiences
    Ubuntu Debian Testing 32bit as the only OS on Gigabyte GA-G31M-S2L, C2D E6550, On-board Intel GMA 3100 Gfx, 4GB DDR2 800MHz RAM
    Pardon my poor English

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •