Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Memory leak , some process eating my all memory.

  1. #1
    Join Date
    Jan 2010
    Location
    London
    Beans
    15
    Distro
    Ubuntu 9.10 Karmic Koala

    Smile Memory leak , some process eating my all memory.

    Hola,

    I have had a fresh install of Ubuntu 9.10 and installed some software after that.
    Since third some, some process is eating half of my memory.
    I have checked processes running in system manager but everything is normal.
    Maximum is consumed by compiz which is about 26 mb, seems very normal.

    I did restarted my computer several times, and in the start for 5 mins, its fine after that again my cpu fans runs at very fast speed and my one cpu is used up 95 % (I have dual core).
    Please help me out, this invisible thing is driving me crazy.

    I am attaching my htop screen shot (sorted by cpu %), now the cpu is not used by completely but fan is still struggling hard and fast.

    http://uploadpic.org/storage/origina...nsesdn2ff3.png

    Thanks a lot,

    Sukhdeep Singh
    Last edited by sukhdeepsingh; January 30th, 2011 at 03:46 PM.

  2. #2
    Join Date
    Jan 2010
    Location
    Canada, Quebec
    Beans
    218
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Memory leak , some process eating my all memory.

    sorry, I don't see memory leaks here
    bool doYouWantToFixMyComputer(Computer &my_computer)
    {
    return false;
    }

  3. #3
    Join Date
    Jan 2010
    Location
    London
    Beans
    15
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Memory leak , some process eating my all memory.

    Quote Originally Posted by gufide View Post
    sorry, I don't see memory leaks here
    Hi gufide,
    Thats what i am saying. but fan is running harder than normal work.

    I will post another htop, when the system is occupied again with that invisible process.

    Thanks
    SS

  4. #4
    Join Date
    Sep 2009
    Beans
    2,330

    Re: Memory leak , some process eating my all memory.

    try in a terminal free-m
    may need to leave the - out free m

  5. #5
    Join Date
    Jan 2010
    Location
    London
    Beans
    15
    Distro
    Ubuntu 9.10 Karmic Koala

    Smile Re: Memory leak , some process eating my all memory.

    Hi no2498 and gufide,
    I am attaching new htop and free -m results.
    I have figured it out, there's a process called snort, but i dont know why its running and using 100% of my 1 cpu.

    Code:
                 total       used       free     shared    buffers     cached
    Mem:          2003       1419        584          0        113        868
    -/+ buffers/cache:        437       1566
    Swap:         3153          0       3153
    htop file
    http://uploadpic.org/storage/origina...2sfe2kjfud.png

    if its snort, then what is it associated with and how to kill it without further harm.
    Cheers

  6. #6
    Join Date
    Oct 2007
    Beans
    Hidden!

    Re: Memory leak , some process eating my all memory.

    This is snort:
    http://www.snort.org/

    It should not be installed by default, its a network sniffer.
    To get rid of it, kill it first

    Code:
    sudo killall snort
    then uninstall it

    Code:
    sudo apt-get remove snort

  7. #7
    Join Date
    Jan 2010
    Location
    London
    Beans
    15
    Distro
    Ubuntu 9.10 Karmic Koala

    Smile Re: Memory leak , some process eating my all memory.

    Quote Originally Posted by P4man View Post
    This is snort:
    http://www.snort.org/

    It should not be installed by default, its a network sniffer.
    To get rid of it, kill it first

    Code:
    sudo killall snort
    then uninstall it

    Code:
    sudo apt-get remove snort
    Thanks mate,
    I think it was there, because I was using vpn,
    so does it mean , after un installing it, I wll not be able to use my vpn.

    Thanks
    SS

  8. #8
    Join Date
    Jan 2008
    Beans
    4,324

    Re: Memory leak , some process eating my all memory.

    Your mem seemed fine. This output says that you were only using 437mb.
    Code:
    -/+ buffers/cache:        437       1566

  9. #9
    Join Date
    Oct 2007
    Beans
    Hidden!

    Re: Memory leak , some process eating my all memory.

    Quote Originally Posted by sukhdeepsingh View Post
    Thanks mate,
    I think it was there, because I was using vpn,
    so does it mean , after un installing it, I wll not be able to use my vpn.

    Thanks
    SS
    SHouldnt interfere with the VPN. But if you run the uninstall command, you will get a rather verbose output of snort's dependencies, that is the other packages that will be removed (because they depend on snort). I highly doubt that will include any VPN stuff, but see for yourself. You can always abort the uninstall if for some reason apt-get does want to remove your VPN stuff (in which case, please copy paste the output here).

  10. #10

    Re: Memory leak , some process eating my all memory.

    A leak would show increasing memory use, you should just keep on eye on for awhile.
    In the sysstat package is pidstat, you could use that.
    Ex.
    Code:
    pidstat -r -p XXXX 60 100 >> mem.log
    Replace red with the process id, blue with time between reports in sec's, # of reports respectively. just minimize the terminal, report in home folder
    This may show id if you don't happen to see in htop
    ps -A |grep snort

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •