Dhcpd4-Daemon uses extremly much ram

Hey there,
I'm using a dhcpd4-daemon on a server which also do radvd, named and run routing. The dhcpd4-daemon uses 60-80% of memory (the system has 512 MB), even right after the start with an empty lease file.
The daemon is configured for 26 subnets with /16 of size each, but there are only about 300-600 clients  (within the lease time of 600 seconds), but the environment is very dynamic.
Is there a reason for this exorbitant memory hungry? Are there comparable alternatives?
ddns-update-style none;
ignore client-updates;
deny declines;
one-lease-per-client true;
ignore bootp;
default-lease-time 600;
max-lease-time 800;
min-lease-time 60;
ignore-client-uids true;
authoritative;
log-facility local7;
subnet 10.66.0.0 netmask 255.255.0.0 {
range 10.66.11.1 10.66.20.255; #main
pool {
range 10.66.1.1 10.66.10.255;
deny all clients;
pool {
range 10.66.30.1 10.66.254.255;
deny all clients;
option broadcast-address 10.66.255.255;
option routers 10.66.11.0;
option domain-name-servers 10.66.11.0;
option ntp-servers 10.66.11.0;
interface subnet-x;
There are 26 identically nets, on other interfaces with other ip-ranges.
Best regards,
Ruben

Well, if I start the daemon with an empty-leasefile it uses the same amount of storage, here for example with a small leasefile:
[root@bragi ~]# pmap -x 3174
3174: /usr/bin/dhcpd -4 -q -pf /run/dhcpd4.pid
Adresse kByte RSS Dirty Modus Zuordnung
0000000000400000 2000 624 0 r-x-- dhcpd
00000000007f3000 4 4 0 r---- dhcpd
00000000007f4000 32 20 16 rw--- dhcpd
00000000007fc000 240 24 20 rw--- [ anon ]
0000000001709000 50980 2100 392 rw--- [ anon ]
00007f758d881000 472112 259264 15928 rw--- [ anon ]
00007f75aa58d000 44 0 0 r-x-- libnss_files-2.21.so
00007f75aa598000 2048 0 0 ----- libnss_files-2.21.so
00007f75aa798000 4 0 0 r---- libnss_files-2.21.so
00007f75aa799000 4 0 0 rw--- libnss_files-2.21.so
00007f75aa79a000 1636 1240 0 r-x-- libc-2.21.so
00007f75aa933000 2048 0 0 ----- libc-2.21.so
00007f75aab33000 16 12 0 r---- libc-2.21.so
00007f75aab37000 8 8 8 rw--- libc-2.21.so
00007f75aab39000 16 12 12 rw--- [ anon ]
00007f75aab3d000 136 124 0 r-x-- ld-2.21.so
00007f75aab67000 1964 252 64 rw--- [ anon ]
00007f75aad5d000 4 4 4 rw--- [ anon ]
00007f75aad5e000 4 4 0 r---- ld-2.21.so
00007f75aad5f000 4 4 4 rw--- ld-2.21.so
00007f75aad60000 4 4 0 rw--- [ anon ]
00007ffee1b13000 132 24 20 rw--- [ stack ]
00007ffee1bd4000 8 0 0 r---- [ anon ]
00007ffee1bd6000 8 4 0 r-x-- [ anon ]
ffffffffff600000 4 0 0 r-x-- [ anon ]
kB gesamt 533460 263728 16468
[root@bragi ~]# du -h /var/lib/dhcp/dhcpd.leases
776K /var/lib/dhcp/dhcpd.leases
But to respond to your thought, if we think of one client is using 5 KByte of data, instead of 400 Bytes, the Server would need to save infos about 600 Clients around 3 MByte, so the question is, why do it need 470 MByte?
Last edited by RubenKelevra (2015-04-06 15:58:01)

Similar Messages

  • Firefox uses too much ram

    My FIrefox has been using too much RAM as of late. I have followed all the steps in the firefox support page about checking for possible plugins that may or may not be using too much RAM, but after starting firefox in safe mode, there really wasn't much of a difference. Maybe like 5k kb less, but it's still not enough to account for the 1.7million kb that firefox ends up using with one tab open.
    I like to leave my pc on for a bit, and sometimes I'll leave firefox running with a tab open while I'm using other applications, but even if i restart my firefox, the RAM usage does not decrease. After closing all applications and leaving only firefox running, it appears to be around 1.5million kb. Only if i restart my whole pc does the RAM usage drop back to normal levels, and then it ramps back up after a period of time.
    I would like to get this resolved soon, or at least figure out the cause of this.
    http://puu.sh/9ihMr/585bac7192.png
    http://puu.sh/9ihPx/4a9da78104.png
    My system has:
    2x2GB DDR3 Kingston memory modules
    Radeon HD5850 with 1 GB of RAM
    AMD Phenom II X4 955 processor 3.20GHz
    Windows 7 Professional, SP 1 64-bit OS

    Start your Computer in safe mode with networking. See if there
    is still a problem.
    It could be the work of one of your add-ons, or even add / mal-ware.
    Look thru your add-ons list and make sure you know what each one is
    there for. Also, check the programs that are on your computer
    '''Windows > Start > Control Panel > Uninstall Programs.'''
    '''Mac: Open the "Applications" folder'''
    Go thru the list and use a web search to check any that you don't
    know what they are.
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware Troubleshoot Firefox Issues Caused By Malware]''''' {web link}

  • My MBP mid 2014 is using too much RAM

    My MBP mid 2014 is using too much ram on kernel task, and some others what can I do to fix this?

    To add to Tim's excellent advice, look at my numbers for my  quad-core i7 iMac with 12GB RAM installed:
    As you can see, the system has reserved almost all the available RAM but the swaps are zero and the memory pressure is on the bottom of the scale. My computer runs very fast.
    RAM handling in OSX changed with OS10.9 and continues in 10.10. The measures you were using only apply to Mac OSX 10.8 and older.
    If your swaps move up into the Gig range, you are probably using a bunch of RAM. You cannot upgrade RAM in a 2014 Retina model so it behooves you to avoid third-party utilities like "FreeMemory,"  keep an eye on Safari extensions, and be frugal with your user login items (System Preferences > Users and Groups > {your account} > Login Items tab).

  • My MacBook Pro is using too much RAM.

    Hello,
    I have got Apple MacBook Pro 13.3” (ME865LL/A) with OS X Mavericks 10.9.3 and I’ve noticed that my MacBook is using too much RAM. I'm doing nothing, I've got opened only my Google Chrome web browser and my notebook is using about 6,6 GB RAM of 8,0 GB... Have you ever had problem like my? I was reading about Memory Booster - RAM Optimizer. What do you think about that?
    Thanks in advance for your help!

    I don't use any AV software - if you just keep a watch on what you download and where it's from, you've no need for it, either.
    See The Safe Mac -> Mac Malware Guide. There is some malware and adware for Macs, but no viruses (although you can pass them along to your Windows friends!).
    Clinton

  • MacBook Pro using too much RAM

    I have  15" MacBook Pro, purchased in February, 2013.  It has 2.6 Ghz Intel i7 processor, 8 GB RAM and a 750 GB hard drive.  The HD is about 25% filled, mostly with photos.  It came with Mountain Lion, I upgraded to Mavericks, then to Yosemite.  I go back and forth between Safari and Chrome for my browser.  (I've heard Chrome uses too much memory, but I've found the opposite to be the case for my computer.)  All upgrades went smoothly, no problems.   I love using it, EXCEPT...
    Over the past year, I've thought it was using too much RAM for very simple activities and it slows to a crawl using Aperture or MS Word.  Even when just web browsing, and nothing else open or running, the computer will use 6 to 7 gigs of available RAM.  Using Aperture is so slow it's no longer fun... I wait and wait for the beach ball to go away and it does, eventually (Won't need to worry about Aperture for too much longer, I guess).  I've been thinking about Lightroom to replace Aperture, but I'm worried that I will have similar problems with a new program.  Any suggested solutions?  Thanks!

    Hey danfrompeoria,
    Thanks for the question. If I understand correctly, you are using a lot of memory. I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
    OS X Yosemite: If your Mac runs slowly
    Thanks for using Apple Support Communities.
    Have a great day,
    Mario

  • FF using too much RAM and getting slow

    FF is using too much RAM
    After I start FF, like 5 minutes later, it's using like 1gb of ram, and if i dont restart it, i grows to 3gb~4gb of RAM used

    the article above didn't help
    updated to the beta version and solved it

  • Why is my iMac (2.8.GHz Intel Core i7 w/ 4GBs RAM) using so much RAM?

    Right now I have only Firefox open with 4 tabs. Firefox only has 1 extension (1Password). No other application open or running (that I know of). My dock has 17 icons (including basics like trash, finder, launch, etc). As mentioned I have a:
    2.8 GHz
    Intel Core i7
    4 GBs RAM
    21.5 Inch
    Running on 10.7.3 (Lion)
    My RAM situation is this:
    1.83 GB Free
    78 MB Inactive
    1.40 GB Active
    697 MB Wired
    2.17 GB Used
    4.0 GB Total
    Image of my Activity Monitor (with user removed) here:
    columns as follows: PID, Process Name, % CPU, Threads, Real Mem, Kind
    I'm trying to figure out why my iMac is using so much RAM when I only have Firefox open? are any of these activities unnecessary and if so how might I turn them off and so they don't start automatically when I initially turn on the computer? This imac is two weeks old and so I haven't done a whole lot of customization yet. Please help if you can. Really appreciate it. Trying to optimize this baby. Thank you!!

    Here's mine: I have 16 Safari tabs open, some with Flash junk, and 13 apps "open" according to the Dock indicator:
    By the way the number of icons in your Dock has essentially no effect on memory. Only running apps - the ones with the little dot indicator - might be occupying memory. Even that is somewhat of an oversimplification, since "active" apps may or may not have any active processes associated with them. It's all a function of how Lion manages its memory resources, and that is a whole new world to most of us.
    With Lion, Apple is seeking to eliminate the system effects of whether an app is even open or not. Just another trivial detail the average user ought not to be concerned with, in their opinion.
    If you want a cursory introduction to that fascinating subject, Google the Ars Technica Lion review that was written a few months ago. It may ease your concerns about memory management. If you are an experienced computer user, it will rock your world.

  • My Macbook pro Mid 2012 Model Seems to be using too much RAM

         Hello everybody, I recenlty bought a Macbook pro Mid 2012 Model and I absolutely fell in love with it! I use it everyday for school, work, and for my musical hobby.
         I haven't had a single problem with it until recently, and it seems like the RAM memory is being all used up without me even running programs. This problem barely started rougly 2-3 weeks ago and it's becoming annoying. I do plan to upgrade the ram soon seeing as the extra RAM will help run my engineering software I'm going to be using.
    Anywho I'm just looking for tips, suggestions or answers as to why this problem is occuring. Also heard from a fellow employee that Google Chrome can cause this problem with RAM and battery life as well.

    Stop using Chrome for any number of reasons and stick to Safari. An aspect of OS X memory management is to take over as much memory as possible in order to better manage the memory, however, this does not mean you are running out of memory. You only run out of memory when you try to run too many applications concurrently given the amount of RAM you have. You will know when that happens because the computer will slow down, you will see the beachball a lot, everything you do takes forever, and the hard drive will be grinding away.
    About OS X Memory Management and Usage
    Using Activity Monitor to read System Memory & determine how much RAM is used
    OS X Mavericks- About Activity Monitor
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.
    Adding RAM only makes it possible to run more programs concurrently.  It doesn't speed up the computer nor make games run faster.  What it can do is prevent the system from having to use disk-based VM when it runs out of RAM because you are trying to run too many applications concurrently or using applications that are extremely RAM dependent.  It will improve the performance of applications that run mostly in RAM or when loading programs.

  • Bridge memory leak/using too much ram

    I just built a new PC tower for business use and installed PS, ID, LR, and BR CC trials.  I already have all of these (CS5) on my personal laptop, all work fine.  Bridge on the new tower has been using WAY too much ram/caching too much and crashing everything.  I'd changed cache preferences, purged the cache several times, and within days it is back at it again.  PC specs: 8 core AMD processor, 16GB ram, 2x 3TB HDD 
    This is being used to show photos, edit, burn and print at events.  I cannot keep closing bridge every half hour to keep my computer running.  Right now bridge is NOT keeping 100% previews in cache, exporting cache to folders, cache size is about 25,000.  If bridge is going to crash every half hour on a machine with 16GB of ram, while CS5 ran fine on my laptop with only 4GB something is seriously wrong.  At this point I don't know if I should actually subscribe to CC or just move my CS5 to this new computer.

    I have tried to analize better what happens. In the dashboard I only have a calendar, a calculator, a clock and one postit (but there is nothing writen on it). If I use something in the dashboard, for example, the calculator, and I do some multiplications, after a couple of minutes the use of memory of the dashboard starts to increase. I closed any other program and in some minutes I have sen how it increased until I stopped the process when it was using more than 2GB! (you can see it in the picture). It's very strange! (Thank you very much for your help!)

  • NI Kontakt 3.5 Update: Use as much RAM as you have installed

    Just got this e-mail and I know many people use samples. It's not about Logic, but you can use it with Logic.
    KONTAKT has now reached version 3.5, adding several new
    features and many optimizations. The new version delivers
    64-bit capability for PC, while the newly-created Memory
    Server for MAC bypasses the OS X's 4 GB limit and can
    address as much RAM as you have installed - even in 32-bit
    hosts such as Logic or Pro Tools.
    KONTAKT 3.5 also offers improved performance thanks to a
    revised sampling and DFD engine plus full compatibility
    with the latest version of Pro Tools. KONTAKT 3.5 is now
    truly the most advanced software sampler on the market.
    Feature details:
    http://www.native-instruments.com/kontakt35.info
    Enjoy
    ~trevor

    Good to see this update although I'd still like Logic to support the extended ram with ALL plugins instead of having to wait for each individual developer to do this hack.

  • Labview 2010 vi using too much RAM and causing Crashes

    hello everyone,
    I was given a LV 2010 vi to integrate with another functionality.This Vi is used for a long time on XP and Windows 7 platform having various RAM size.it still runs fine on those PCs. This Vi has functionality that it waits for user to press start button that it reads data and plots.however i am not giving start command and it starts consuming too much RAM and resulting system Crash. 
    System Config: I have Core i5 CPU 650 @ 3.20GHz with 2 GB RAM and windows 7 .
    Plz show some methods to prevent them and why it is happening.?
    Note:1) i also checked my ram through windows test and it has no error.
              2) windows shows me some low disk error sometimes.
    plz help me out here i am stuck here for week.
    thanks & regards

    Post your VI if you are allowed, we cannot help you without that info...
    If you are a beginner in LabVIEW, it will not take 1 day to gain some level. LabVIEW is a full featured programming language, it is very easy to program it wrong. I suggest you to start learn it using the online resources. You have an active LabVIEW licence? If so, you can access the "self-paced online training" via menu point "MyNI", see top of this website just next to your name (you need to connect your account to your licence in order to use the online training). Another option could be to pay for a virtual classroom course, get more info here: http://sine.ni.com/tacs/app/overview/p/ap/of/lang/en/pg/1/sn/n5nline,n24:12725/id/1582/   I did this a few years ago (Core 1 and 2.) and the tutor from NI was very professional, and it was also comfortable since you attend the class via internet from yoour home or workplace.

  • The system using too much ram than before

    After I updated my laptop to Yosemite 10.10 . The system using almost all of the ram even though I only opened safari and iTunes. Any tips or ways to fix this? Thanks

    soontobemacguy,
    Don't worry about how much RAM you have "free" vs. how much you have installed. Instead, look at the amount of "inactive" RAM you have. When you quit any running application, the physical memory addresses it was using are transitioned to "inactive" status, not "free." If and when you launch the application again, the same adresses are re-allocated to it, making it available to you much quicker.
    As you use up your "free" memory, and more is needed for a new application, it is taken from old "inactive" memory as needed. In other words, a better indication of what is currently available to you (and your applications) would be the combination of "free" and "inactive." Also, you should keep in mind that virtual memory will be created and used as necessary to meet your needs, regardless of how much physical RAM you have. Relying on virtual memory is not ideal, but it works.
    Scott

  • Wmii using too much ram/cpu

    wmii seems to be using more resources than openbox, which has me at a lost, 'cause I thought it was supposed to be lighter.  with nothing running but firefox, wmii itself only uses 0.2% MEM, but /bin/sh -f /home/danny/.wmii-3.5/wmiirc goes between 10-15% cpu and 10-20% mem.  I have a 1ghz proc and 1gb ram, is this normal usage?

    ataraxia wrote:So what does your wmiirc do?
    It's the default with only the colors and modkey changed (super instead of alt).  Here's the whole thing.  I just started using wmii, so I have no clue what a lot of it is doin', but I don't see how it could use so much cpu/mem.
    #!/bin/sh -f
    # Configure wmii
    # Configuration Variables
    MODKEY=Mod4
    UP=k
    DOWN=j
    LEFT=h
    RIGHT=l
    # Colors tuples: "<text> <background> <border>"
    WMII_NORMCOLORS='#888888 #222222 #191919'
    WMII_FOCUSCOLORS='#FFFFFF #191919 #3DBEDE'
    WMII_BACKGROUND='#333333'
    WMII_FONT='-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'
    set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS)
    WMII_MENU="dmenu -b -fn '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5'"
    WMII_9MENU="wmii9menu -font '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5' -br '$6'"
    WMII_TERM="urxvt"
    # Column Rules
    wmiir write /colrules <<!
    /.*/ -> 58+42
    # Tagging Rules
    wmiir write /tagrules <<!
    /XMMS.*/ -> ~
    /MPlayer.*/ -> ~
    /.*/ -> sel
    /.*/ -> 1
    # Status Bar Info
    status() {
    echo -n $(uptime | sed 's/.*://; s/,//g') '|' $(date)
    # Event processing
    # Processed later by `wmiiloop' and evaled.
    # Duplicate the eval line and replace 'eval' with 'echo' for details.
    eventstuff() {
    cat <<'!'
    # Events
    Event Start
    case "$1" in
    wmiirc)
    exit;
    esac
    Event Key
    fn=$(echo "$@" | sed 's/[^a-zA-Z_0-9]/_/g')
    Key_$fn "$@"
    Event CreateTag
    echo "$WMII_NORMCOLORS" "$@" | wmiir create "/lbar/$@"
    Event DestroyTag
    wmiir remove "/lbar/$@"
    Event FocusTag
    wmiir xwrite "/lbar/$@" "$WMII_FOCUSCOLORS" "$@"
    Event UnfocusTag
    wmiir xwrite "/lbar/$@" "$WMII_NORMCOLORS" "$@"
    Event UrgentTag
    shift
    wmiir xwrite "/lbar/$@" "*$@"
    Event NotUrgentTag
    shift
    wmiir xwrite "/lbar/$@" "$@"
    Event LeftBarClick
    shift
    wmiir xwrite /ctl view "$@"
    # Actions
    Action quit
    wmiir xwrite /ctl quit
    Action exec
    wmiir xwrite /ctl exec "$@"
    Action rehash
    proglist $PATH >$progsfile
    Action status
    set +xv
    if wmiir remove /rbar/status 2>/dev/null; then
    sleep 2
    fi
    echo "$WMII_NORMCOLORS" | wmiir create /rbar/status
    while status | wmiir write /rbar/status; do
    sleep 1
    done
    Event ClientMouseDown
    client=$1; button=$2
    case "$button" in
    3)
    do=$(eval $WMII_9MENU -initial "${menulast:-SomeRandomName}" Nop Delete Fullscreen)
    case "$do" in
    Delete)
    wmiir xwrite /client/$client/ctl kill;;
    Fullscreen)
    wmiir xwrite /client/$client/ctl Fullscreen on;;
    esac
    menulast=${do:-"$menulast"}
    esac
    # Key Bindings
    Key $MODKEY-Control-t
    case $(wmiir read /keys | wc -l | tr -d ' \t\n') in
    0|1)
    echo -n $Keys | tr ' ' '\012' | wmiir write /keys
    wmiir xwrite /ctl grabmod $MODKEY;;
    wmiir xwrite /keys $MODKEY-Control-t
    wmiir xwrite /ctl grabmod Mod3;;
    esac
    Key $MODKEY-space
    wmiir xwrite /tag/sel/ctl select toggle
    Key $MODKEY-d
    wmiir xwrite /tag/sel/ctl colmode sel default
    Key $MODKEY-s
    wmiir xwrite /tag/sel/ctl colmode sel stack
    Key $MODKEY-m
    wmiir xwrite /tag/sel/ctl colmode sel max
    Key $MODKEY-a
    Action $(actionlist | eval $WMII_MENU) &
    Key $MODKEY-p
    sh -c "$(eval $WMII_MENU <$progsfile)" &
    Key $MODKEY-t
    wmiir xwrite /ctl "view $(tagsmenu)" &
    Key $MODKEY-Return
    eval $WMII_TERM &
    Key $MODKEY-Shift-space
    wmiir xwrite /tag/sel/ctl send sel toggle
    Key $MODKEY-f
    wmiir xwrite /client/sel/ctl Fullscreen toggle
    Key $MODKEY-Shift-c
    wmiir xwrite /client/sel/ctl kill
    Key $MODKEY-Shift-t
    wmiir xwrite "/client/$(wmiir read /client/sel/ctl)/tags" "$(tagsmenu)" &
    Key $MODKEY-$LEFT
    wmiir xwrite /tag/sel/ctl select left
    Key $MODKEY-$RIGHT
    wmiir xwrite /tag/sel/ctl select right
    Key $MODKEY-$DOWN
    wmiir xwrite /tag/sel/ctl select down
    Key $MODKEY-$UP
    wmiir xwrite /tag/sel/ctl select up
    Key $MODKEY-Shift-$LEFT
    wmiir xwrite /tag/sel/ctl send sel left
    Key $MODKEY-Shift-$RIGHT
    wmiir xwrite /tag/sel/ctl send sel right
    Key $MODKEY-Shift-$DOWN
    wmiir xwrite /tag/sel/ctl send sel down
    Key $MODKEY-Shift-$UP
    wmiir xwrite /tag/sel/ctl send sel up
    for i in 0 1 2 3 4 5 6 7 8 9; do
    cat <<!
    Key $MODKEY-$i
    wmiir xwrite /ctl view "$i"
    Key $MODKEY-Shift-$i
    wmiir xwrite /client/sel/tags "$i"
    done
    # WM Configuration
    wmiir write /ctl << EOF
    font $WMII_FONT
    focuscolors $WMII_FOCUSCOLORS
    normcolors $WMII_NORMCOLORS
    grabmod $MODKEY
    border 1
    EOF
    export WMII_MENU WMII_9MENU WMII_FONT WMII_TERM
    export WMII_FOCUSCOLORS WMII_SELCOLORS WMII_NORMCOLORS
    # Feed events to `wmiiloop' for processing
    eval "$(eventstuff | sed 's/^[ ]//' | { . wmiiloop; })"
    echo "$Keys" | tr ' ' '\n' | wmiir write /keys
    # Functions
    Action() {
    action=$1; shift
    if [ -n "$action" ]; then
    Action_$action "$@" \
    || conf_which $action "$@"
    fi
    proglist() {
    paths=$(echo "$@" | sed 'y/:/ /')
    ls -lL $paths 2>/dev/null \
    | awk '$1 ~ /^[^d].*x/ && NF > 2 { print $NF }' \
    | sort | uniq
    # Misc
    progsfile="$WMII_NS_DIR/.proglist"
    Action status &
    proglist $PATH >$progsfile &
    xsetroot -solid "$WMII_BACKGROUND" &
    # Setup Tag Bar
    seltag="$(wmiir read /tag/sel/ctl 2>/dev/null)"
    wmiir ls /lbar |
    while read bar; do
    wmiir remove "/lbar/$bar"
    done
    wmiir ls /tag | sed -e 's|/||; /^sel$/d' |
    while read tag; do
    if [ "X$tag" = "X$seltag" ]; then
    echo "$WMII_FOCUSCOLORS" "$tag" | wmiir create "/lbar/$tag"
    else
    echo "$WMII_NORMCOLORS" "$tag" | wmiir create "/lbar/$tag"
    fi
    done
    # More functions
    tagsmenu() {
    wmiir ls /tag | sed 's|/||; /^sel$/d' | eval $WMII_MENU
    actionlist() {
    { proglist $WMII_CONFPATH
    echo -n $Actions | tr ' ' '\012'
    } | sort | uniq
    conf_which() {
    which=$(which which)
    prog=$(PATH="$WMII_CONFPATH" $which $1); shift
    [ -n "$prog" ] && $prog "$@"
    # Stop any running instances of wmiirc
    echo Start wmiirc | wmiir write /event || exit 1
    wmiir read /event |
    while read event; do
    set -- $event
    event=$1; shift
    Event_$event $@
    done 2>/dev/null
    Ranguvar wrote:Memory as in real memory, or with buffers/cache? If it's the former, that's definitely high (I think, LOL).
    I'm using htop to see it, and I'm pretty sure htop shows real usage by default.

  • System using too much RAM?

    I just launched the Activity Monitor. With basically nothing open except for a few widgets and the activity monitor, it says my system is using 600 MB of RAM... that can't be right can it? It says it has 402 MB free. could there be something wrong?
    I have a 2.16 C2D 15" with stock 1 gig of RAM
    Help!

    soontobemacguy,
    Don't worry about how much RAM you have "free" vs. how much you have installed. Instead, look at the amount of "inactive" RAM you have. When you quit any running application, the physical memory addresses it was using are transitioned to "inactive" status, not "free." If and when you launch the application again, the same adresses are re-allocated to it, making it available to you much quicker.
    As you use up your "free" memory, and more is needed for a new application, it is taken from old "inactive" memory as needed. In other words, a better indication of what is currently available to you (and your applications) would be the combination of "free" and "inactive." Also, you should keep in mind that virtual memory will be created and used as necessary to meet your needs, regardless of how much physical RAM you have. Relying on virtual memory is not ideal, but it works.
    Scott

  • ITunes using too much RAM.

    I noticed that when I have about 5 apps open—not including iTunes—my total free (including inactive) memory is 2.0GB. When I open iTunes, it instantly uses about 100 MB but when you leave it open I notice that my RAM is at 1.2GB, even though I have nothing else opened than previously. When I quit it, I get all the RAM back. A huge memory leak, perhaps? Having 800MB of RAM taken away by a single app is completely unacceptable. Is anyone else having this problem?

    Well recalling an old post, is just stating the fact that the program is still doing the same thing. And i do concurr that itunes is one of my bigger ram hogs but i have no problem with 16gigs of ram installed. As coder myself, i know it is possible for them to rework itunes to dump cache periodically so that it doesnt hog as much ram as it does.
    Itunes is falling behind times as Solid State Drives are becoming more prevelant in computers, they shouldn't need to cache as much as it does currently and hogging system resources. But then again on the other hand, they are  probably thinking that it is not a problem anymore since the standard for most computers/laptop is upwards of 4gigs+. Still is poor coding on apple's behalf that wont be recognized this late in the game.
    In reply to Zak,
    As of right now apple is on downward slope according to stock market quotes. But they have a few products that are coming out here soon that will bounce them back easily. After that, I am not sure.
    In reply to Richb1910,
    Comparing Apple to Mircosoft now a days is like comparing apple to oranges. Their companies have taken different paths, yes one may be better then the other in their choice of paths. But as it stands microsoft is still the leading home user operating system and server operating system for many major companies. Apple excels with their product lines which make them a very successful company. To say on or the other is barely staying above water is by far the wildest thing i have ever heard.

Maybe you are looking for