memory_pools

memory_pools

Squid's memory pools are an attempt to optimize the way Squid allocates and frees memory. Certain data structures inside Squid are pooled. This means that rather than freeing unused memory, Squid holds onto it for future use. It also means that a particular chunk of memory is normally used for the same type of data structure. Memory pools may improve Squid's performance by avoiding frequent calls to malloc( ) and free( ). The downside, however, is that the overall memory usage may be higher. If memory is a precious resource on your system, you might want to disable memory pools.

Syntax

memory_pools on|off

Default

memory_pools on

Example

memory_pools off

Related

cache_mem, memory_pools_limit



    Appendix A. Config File Reference