Re: [squid-users] running squid on VERY low-end devices

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 23 Sep 2008 11:20:05 +1200 (NZST)

>
> Hello,
>
> I'm successfully running squid on a VERY low end device, a
> routerboard RB450. It's a 64Mb flash disk and 32Mb RAM device. Squid is
> running, no problem on that. I'm using OpenWRT for that.
>
> I really dont want squid to cache anything, in disk and in memory. I
> just want squid for allowing me internet control, through ACLs, and
> logging. I have already done:
>
> cache_dir null /tmp
>
> # TAG: maximum_object_size_in_memory (bytes)
> # Objects greater than this size will not be attempted to kept in
> # the memory cache.
> maximum_object_size_in_memory 0 KB
>
>
> is this enough for COMPLETLY disabling caching in squid, or should i
> configure anything else ?

cache_mem 0KB - to prevent it allocating anything for the memory cache.

Possibly also using syslog or logdaemon (UDP) for logging instead of local
disk space.

And the configure options to disable things of course. ie all
authenticator helpers you don't need. all of the file system components
except null etc.
If you need more compile-time code purging let us know which features.

Amos
Received on Mon Sep 22 2008 - 23:20:14 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 23 2008 - 12:00:02 MDT