Stops growth of massive dentry cache growth
Change-Id: I0cb84edcd9e46ab1e9b311298d6ce9d2a2b21766
Closes-Bug: #1805656
(cherry picked from commit a719804ef2
)
This commit is contained in:
parent
32039516c1
commit
1e63f067d1
|
@ -3,11 +3,12 @@
|
|||
: ${HEALTHCHECK_CURL_WRITE_OUT:='\n%{http_code} %{remote_ip}:%{remote_port} %{time_total} seconds\n'}
|
||||
|
||||
healthcheck_curl () {
|
||||
curl -g -k -q --fail \
|
||||
--max-time "${HEALTHCHECK_CURL_MAX_TIME}" \
|
||||
--user-agent "${HEALTHCHECK_CURL_USER_AGENT}" \
|
||||
--write-out "${HEALTHCHECK_CURL_WRITE_OUT}" \
|
||||
"$@" || return 1
|
||||
export NSS_SDB_USE_CACHE=no
|
||||
curl -g -k -q --fail \
|
||||
--max-time "${HEALTHCHECK_CURL_MAX_TIME}" \
|
||||
--user-agent "${HEALTHCHECK_CURL_USER_AGENT}" \
|
||||
--write-out "${HEALTHCHECK_CURL_WRITE_OUT}" \
|
||||
"$@" || return 1
|
||||
}
|
||||
|
||||
healthcheck_port () {
|
||||
|
|
Loading…
Reference in New Issue