PinQ | st. Mudo

Lembar Coretan Memori ku

Entries for the ‘Linux’ Category

Squid – File Descriptor Limits

File descriptor limits are a common problem for new Squid users. This happens because some operating systems have relatively low per-process and system-wide limits. In some cases, you must take steps to tune your system before compiling Squid.A file descriptor is simply a number that represents an open [...]

Squid: WARNING! Your cache is running out of filedescriptors

So you have a LAN with 50+ users and you set up a nice Squid w3cache as a transparent proxy with 100GB of space reserved for the cache (hdds are so cheap nowadays…). Weeks pass and suddenly you notice that something is messing up your
web experience as Firefox suddenly decides to run painfully slow. About [...]

Controlling Squid’s Memory Usage

Squid tends to be a bit of a memory hog. It uses memory for many different things, some of which are easier to control than others. Memory usage is important because if the Squid process size exceeds your system’s RAM capacity, some chunks of the process must be [...]

Block spam relay with squid.conf

Unless you’ve been living under a rock, you’re aware of the spam problem on the Internet. Spam senders used to take advantage of open email relays. These days, a lot of spam comes from open proxies. An open proxy is one that allows outsiders to make [...]

Understanding Squid ACL Regex

Squid has an extensive, but somewhat confusing, set of access controls. The most important thing to understand is the difference between ACL types, elements, and rules, and how they work together to allow or deny access.
Squid has about 20 different ACL types. These refer to certain [...]

Rotating Squid Log Files

Squid writes to various log and journal files as it runs. These files will continually increase in size unless you take steps to “rotate” them. Rotation refers to the process of closing a log file, renaming it, and opening a new log file. [...]