Announcement

Collapse
No announcement yet.

what services can safely be shut down

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    what services can safely be shut down

    Hi Everyone
    I have 2 GB's of memory and frequently I'm using 90% of it. Are there any services that i can kill that I probably don't need? I'm using Kubuntu 8.04

    Thanks

    #2
    Re: what services can safely be shut down

    Probably. But don't be confused by how Linux reports/uses memory versus how Windoze does. In Linux, unused memory is wasted memory.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: what services can safely be shut down

      read the tooltip in system - kinfocenter - memory - hover over the middle graph.
      Wanna know more about Me and My computer then click here

      Comment


        #4
        Re: what services can safely be shut down

        Snowhog is correct -- the Windows model of memory utilization is NOT applicable to Linux. Basically, Linux attempts to use all available memory (a good thing) and will not croak if it happens to run out, like Widows does. It will merely make use of your swap partition.

        Be very cautious in killing off "unnecessary" services in Linux. It's better to do some research before you decide what you don't need. If you'll never use NFS, then kill that -- if you're on a desktop, maybe some of the powersaving services are not needed. But you can screw things up real bad if you kill one that is actually needed, even if only occasionally.

        Comment


          #5
          Re: what services can safely be shut down

          Overview of Memory Usage

          Traditional Unix tools like 'top' often report a surprisingly small amount of free memory after a system has been running for a while. For instance, after about 3 hours of uptime, the machine I'm writing this on reports under 60 MB of free memory, even though I have 512 MB of RAM on the system. Where does it all go?

          The biggest place it's being used is in the disk cache, which is currently over 290 MB. This is reported by top as "cached". Cached memory is essentially free, in that it can be replaced quickly if a running (or newly starting) program needs the memory.

          The reason Linux uses so much memory for disk cache is because the RAM is wasted if it isn't used. Keeping the cache means that if something needs the same data again, there's a good chance it will still be in the cache in memory. Fetching the information from there is around 1,000 times quicker than getting it from the hard disk. If it's not found in the cache, the hard disk needs to be read anyway, but in that case nothing has been lost in time.

          To see a better estimation of how much memory is really free for applications to use, run the command free -m:
          Code: free -m

          total used free shared buffers cached
          Mem: 503 451 52 0 14 293
          -/+ buffers/cache: 143 360
          Swap: 1027 0 1027

          The -/+ buffers/cache line shows how much memory is used and free from the perspective of the applications. Generally speaking, if little swap is being used, memory usage isn't impacting performance at all.

          Notice that I have 512 MB of memory in my machine, but only 52 is listed as available by free. This is mainly because the kernel can't be swapped out, so the memory it occupies could never be freed. There may also be regions of memory reserved for/by the hardware for other purposes as well, depending on the system architecture. However, 360M are free for application consumption.
          (from Gentoo wiki)

          Gives you a pretty good explanation of whats going on.

          Comment

          Working...
          X