- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: increases cache_mem but no effect on mem statu...
Operating System - Linux
1752754
Members
5430
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2007 05:23 PM
тАО09-05-2007 05:23 PM
Proxy Server: Squid2.6-STABLE12
Dear Gurus,
when in squid.conf
cache_mem 128
then I check the memory status via command "free -m", and 581 MB was used.
But then/now I increased cache_mem in squid.conf, as
cache_mem 300
then
# squid -k reconfigure
But still memory status/used is almost same as it was before increasing the mem_cache in squid.conf
Again I check the memory status as
# free -m, and now the memory used is 589 only, and I think it should be atleast 581+(300-128)=753.
I wana know why its only 589, instead of 753 ?
Regards
Maaz
Dear Gurus,
when in squid.conf
cache_mem 128
then I check the memory status via command "free -m", and 581 MB was used.
But then/now I increased cache_mem in squid.conf, as
cache_mem 300
then
# squid -k reconfigure
But still memory status/used is almost same as it was before increasing the mem_cache in squid.conf
Again I check the memory status as
# free -m, and now the memory used is 589 only, and I think it should be atleast 581+(300-128)=753.
I wana know why its only 589, instead of 753 ?
Regards
Maaz
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2007 06:00 PM
тАО09-05-2007 06:00 PM
Re: increases cache_mem but no effect on mem status
Shalom Maaz,
You increased cache_mem from 128 to 300, a net increase, if squid actually used it of 172 MB.
You may wish to try a full restart on squid and see if ti changes the figures.
However I believe the cause of this is that when squid requested the additional memory, some of it came from the buffer cache. That figure probably reduced.
To prove a problem you need to know what process was using what before the change.
SEP
You increased cache_mem from 128 to 300, a net increase, if squid actually used it of 172 MB.
You may wish to try a full restart on squid and see if ti changes the figures.
However I believe the cause of this is that when squid requested the additional memory, some of it came from the buffer cache. That figure probably reduced.
To prove a problem you need to know what process was using what before the change.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2007 10:25 PM
тАО09-05-2007 10:25 PM
Solution
It only specifies the upper limit (not starting value) for certain objects.
See:
http://wiki.squid-cache.org/SquidFaq/SquidMemory
See:
http://wiki.squid-cache.org/SquidFaq/SquidMemory
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP