Name

high_memory_warning

Synopsis

If you provide a nonzero value for this directive, Squid periodically checks process size. A large process size can lead to page faults and a significant performance degradation. Squid uses either mstats(), mallinfo(), or sbrk() to get the process size. If it exceeds the given threshold, Squid prints a warning message in cache.log.

Syntax

high_memory_warning size-specification

Default

high_memory_warning 0

Example

high_memory_warning 400 MB

Related

high_response_time_warning, high_page_fault_warning

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.