• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Memory almost 100% even after image complete

Scheduled Pinned Locked Moved
FOG Problems
2
2
1.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Ryan Miller
    last edited by Apr 18, 2013, 3:59 PM

    Any one else having this issue?
    When my server boots up the memory usage is next to nothing. After the first image starts, memory shoots up to about 99% and stays that high even after the imaging has completed.
    System:
    Ubuntu 10.04
    2 cores
    4gb of RAM
    Note: I assigned 8gb of RAM to it before and got the same results.
    Disk, network and cpu performance all look normal.
    Any ideas?

    1 Reply Last reply Reply Quote 0
    • M
      Matt Harding
      last edited by Apr 19, 2013, 9:42 AM

      I think you’ll probably find that most of that is cached. Linux has a habit of using loads of ram for caching and then giving it back in chunks as needed. Perhaps someone with more of a grasp could explain it to you a little better… but I’m guessing that your RAM is probably not going to cause you and issues.

      If you want to test that out though do some benchmarking with your images etc before and after dumping the cached memory… Try this simple little script I use on some of my servers for ejecting it…

      #! /bin/bash
      clear
      echo MEM before cache clear up:
      echo
      free && sync && echo 3 > /proc/sys/vm/drop_caches
      echo
      echo MEM after cache clear up:
      echo
      free

      Write the above into a text file with vi/nano/whatever and chmod +x the file then run. Sorry if that’s patronising in any way, I just dont know what level of experience you have.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        Last post

      174

      Online

      12.2k

      Users

      17.3k

      Topics

      155.5k

      Posts
      Copyright © 2012-2024 FOG Project