Can from ecap pause the host application vb content to control memory

Asked by Jatin

Hi Alex,

I am using async mode of ecap with squid. This works great in terms of processing several requests simultaneously but if the ecap processing on the requests takes longer time then under high load it causes squid's worker memory to grow as now we are holding large amount of data of so many unfinished requests in memory.

I was thinking if there is any way I could tell squid to pause the downloads for a particular request so that memory can be kept in check and not too many downloaded objects/responses in held in memory waiting to be processed by ecap ?

Question information

English Edit question
eCAP Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alex Rousskov (rousskov) said :

This is a Squid-specific question so if any follow up is needed, please follow up on squid-users rather than here. For each transaction, Squid should not buffer more response data than read_ahead_gap plus I/O buffer size used for receiving data from servers.

Can you help with this problem?

Provide an answer of your own, or ask Jatin for more information if necessary.

To post a message you must log in.