X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=squid.sysconfig;h=265db88abe9b3cb56d5f11eab74db1e7aebcd3c4;hb=d4bb55a;hp=a5bdd786767e80eec6f2971c4464faadd9c2542b;hpb=d860b7b893190251bc2467f27b55c18af5db5eed;p=packages%2Fsquid.git diff --git a/squid.sysconfig b/squid.sysconfig index a5bdd78..265db88 100644 --- a/squid.sysconfig +++ b/squid.sysconfig @@ -3,9 +3,6 @@ # Try to define nice-level for running squid SERVICE_RUN_NICE_LEVEL="+5" -# Set number of open files(descriptors) to something sane -SERVICE_LIMITS="-n 8192" - # default squid options # -D disables initial dns checks. If you most likely will not to have an # internet connection when you start squid, uncomment this @@ -13,3 +10,8 @@ SERVICE_LIMITS="-n 8192" # maximum time (in seconds) to wait for squid to stop SQUID_SHUTDOWN_TIMEOUT="60" + +# file description limit for squid +SQUID_FD_LIMIT="8192" + +SERVICE_LIMITS="$DEFAULT_SERVICE_LIMITS -n $SQUID_FD_LIMIT"