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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.