Memory Usage Can't cooling down



  • I've strange experience with my psense box,
    I'm using P4 2.0, 512 MB of RAM (2x256), 20GB o storage on IDE interface.
    Using Squid, and squidguard, 1GB allocated as swap, and 12GB allocated as cache…

    the problem is the memory usage, it's not too high, but it can't cooling down even there no activity.
    or example it reach 75% when at the last traffic. when the traffic is low even no activity, it kep 75%.

    Is it normal? or there is a miss configuration of mine?



  • @yellowhat89:

    I've strange experience with my psense box,
    I'm using P4 2.0, 512 MB of RAM (2x256), 20GB o storage on IDE interface.
    Using Squid, and squidguard, 1GB allocated as swap, and 12GB allocated as cache…

    the problem is the memory usage, it's not too high, but it can't cooling down even there no activity.
    or example it reach 75% when at the last traffic. when the traffic is low even no activity, it kep 75%.

    Is it normal? or there is a miss configuration of mine?

    Run top to see what's using all that ram, doesn't sound right to me unless you have massive amounts of connections.



  • So, you're saying that 25% of your RAM is wasted, idle, and you want to reduce that ;)

    Any modern OS normally makes heavy use of RAM, even if it's only for file/disk cache.  You should only worry if the host is making heavy use of swap regularly.



  • @Cry:

    So, you're saying that 25% of your RAM is wasted, idle, and you want to reduce that ;)

    Any modern OS normally makes heavy use of RAM, even if it's only for file/disk cache.  You should only worry if the host is making heavy use of swap regularly.

    I wasn't saying the ram usage was bad, that's why I was directing more toward an apps memory leak. Still seems high unless a long uptime has cached away all that memory.



  • I've seen boxes with 2 GB of RAM being 75% used after a few days.  As he hasn't said what the time frame is, and we're only talking about 512 MB RAM after all.



  • @Cry:

    I've seen boxes with 2 GB of RAM being 75% used after a few days.  As he hasn't said what the time frame is, and we're only talking about 512 MB RAM after all.

    I missed squid and squidguard were running.



  • Thanks for all your reply. Actually there is no problem even the memory load that much. But i just worried if it is not normal. So if u think it's just fine, It's OK.

    The time frame is for 2 days, and everything run normal…


Log in to reply