hi luis,

thanks a lot for your answer. I'll try to apply this procedure
and will keep you informed.

thanks again,
michal

Hi Michal! Please be patient with my english.

First of all is very important before any change have a backup of files you need edit (/etc/ebox/80squid.conf and /usr/share/ebox/stubs/squid/squid.conf.mas) because any error can do not start ebox squid module correctly and maybe you must read documentation in www.squid-cache.org to evaluate the best configuration for your scenario.

Squid use two systems to manage the cache, one in RAM memory and another in the disk. For change the RAM memory cache, you must edit /etc/ebox/80squid.conf and modify the line "cache_mem = 100" (expressed in MB) to the value you think need then restart ebox squid module (/etc/init.d/ebox squid restart) to apply the new config file.
For change the disk cache, you need follow a few easy steps:
- Edit the file /usr/share/ebox/stubs/squid/squid.conf.mas and add the line for example "cache_dir ufs /var/spools/squid 6144 14 256" this is 6Gb of space, 14 mains directory and 256 subs directory. This structure is allocate in /var/spools/squid.
- Stop the ebox squid module (/etc/init.d/ebox squid stop).
- Regenerate the squid cache structure and file system (/usr/sbin/squid -z)
- Start the ebox squid module (/etc/init.d/ebox squid start)
if everything is allrigth, you must read in console Ebox Squid start: [ OK ], anyway, I recomend check the log files (/var/log/ebox).

This type of changes in squid, maybe can increment the stress of your machine or ebox system and lose the performance of squid, you must be much careful with this. By the way, once this working keep the modified files because when you update ebox software, these files would be replaced by the original ones.

Kind regards!
_______________________________________________

_______________________________________________
Ebox-user mailing list
[email protected]
https://lists.warp.es/mailman/listinfo/ebox-user

Responder a