Tuning the SQUID cache

Problem: internet access on the network is getting slow.

Possible causes: a filled-up proxy cache; lots of users accessing at the same time; a poorly tuned cache.

Solution: tune the proxy.

Requested for a user account to the proxy server. Her name's Maui -- the proxy, that is. Turns out the current admins access Maui as root. Bad, bad. So I made off with the user account, asked for the root account and promptly disabled SSH login through it, create a sudoers file, added my user account to the wheel group, and enabled that group to sudo.

Back at my workstation, I fired up puTTY SSH (nice tool, puTTY -- will try to do a review on it later on) and got into Maui. (Er, for the feminists out there, I'd like to remind you that the naming conventions of the servers are not mine. I would have preferred "Liv" or "Natalie" or even "Paris". *shrugs*)

The squid.conf looks pretty lean, but the cache_mem directive is a bit too large, so I set it down. The ACL is a bit rudimentary. Will have to check the access log to see what sites the users are visiting. No, this isn't to snoop on users, but to determine a metrics so frequently visited sites can be cached more efficiently.

Took me the rest of the day groping Maui. She's not a complex system, just boilerplate RH9 Linux 2.4.20-8. Memo to self: upgrade Maui and her components.

Comments

Popular posts from this blog

Pull files off Android phone