How to set "KRB5RCACHETYPE=none" environment variable in FreeBSD 10?
Kerberos can keep a replay cache to detect the reuse of Kerberos tickets (usually only possible in a 5 minute window). If squid is under high load with Negotiate(Kerberos) proxy authentication requests the replay cache checks can create high CPU load. If the environment does not require high security the replay cache check can be disabled for MIT based Kerberos implementations by adding the following to the startup script:
KRB5RCACHETYPE=none export KRB5RCACHETYPE
what , where to write ?
Full path /usr/local/etc/rc.d/squid
Add line "KRB5RCACHETYPE=none export KRB5RCACHETYPE" in this section:
#service squid restart
or
#killall -9 squid
#service squid start