Squid Cache management on Embedded?
-
I am using a Alix board with a CF card. The "Hard disk cache system" has been set to "null" to not use storage.
I am at 83% ram usage with 256mb total.What values should be set for
Hard disk location? (Can I even write to the CF card or does it stay in memory since I set it to "null"?)
Memory cache size?
Minimum object size?
Maximum object size?
Maximum object size in RAM?This is a bit confusing to me.
-
If it's set to null, then it does not setup a cache on the CF. You probably want to set the other cache sizes small also, if not 0. You can't effectively use squid to cache on NanoBSD, it's only real use there is for access control with things like squidGuard. So setting those value very low is recommended.
-
Thanks for the info. That was very useful.
How about using Squid and Squidguard to log the URLs websites being accessed? Will this work? Do the logs get written to the CF card?
-
The logs get written to /var which is a RAM disk, so there is not much space. So setting the rotate option fairly frequently is your best bet there. Even then it may not keep a lot of data, it depends on how busy your network is.
-
(…)
How about using Squid and Squidguard to log the URLs websites being accessed? Will this work? Do the logs get written to the CF card?For logging websites you should try sarg or lightsquid package.