Search squid archive

parent cache information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
I have 2 servers A and B both running Squid 2.5.STABLE10. Server A isa parent server which is sitting on the DMZ segment. Server B is achild proxy server which is in LAN (local network). On both serversbelow is the cache_dir configuration.
cache_dir ufs /var/squid/cache 400 16 256
I was not the one who configured these proxy servers. I took oversomone else recently. Is it necessary to configure cache_dir on boththe servers. Can I do all the caching on server B (child server). Arethere any benefits if I configure both the servers to cache. How doesthis caching work if I have cache_dir enabled on both the servers? IfI access lets say google.com, does the server A caches the URL or bothA & B. Below are the access logs on both the servers
Server A (Parent server):
1140056628.082     25 172.16.1.50 TCP_MISS/200 1221 GEThttp://ffxcam.fairfax.com.au/html.ng/site=smh&adspace=100x29 -DIRECT/203.26.51.50 text/html1140056628.099   3747 172.16.1.50 TCP_MISS/200 438 GEThttp://partners.hotbar.com/partners/GetIDs.dll? -DIRECT/165.254.12.102 app/x-hotbar-xip201140056628.121     13 172.16.1.50 TCP_MISS/304 160 GEThttp://fdimages.fairfax.com.au/crtvs/babys-journey-100-29smh.gif -DIRECT/203.26.51.61 -1140056628.131    135 172.16.1.50 TCP_MISS/200 14732 GEThttp://www.inthemix.com.au/include/menu6/mdata_itmmain.php -DIRECT/202.58.54.59 text/html1140056628.159    391 172.16.1.50 TCP_MISS/200 598 GEThttp://thomsoneducationdirect.122.2o7.net/b/ss/tedthomsondirectcomau/1/H.2-pdv-2/s06012626239432?- DIRECT/66.151.244.156 image/gif1140056628.210   3528 172.16.1.50 TCP_MISS/200 27731 GEThttp://www.obrienglass.com.au/resources/bldguarantee.jpg -DIRECT/217.64.229.226 image/jpeg1140056628.211    168 172.16.1.50 TCP_MISS/200 267 GEThttp://www.google-analytics.com/__utm.gif? - DIRECT/216.239.63.104image/gif1140056628.277   1552 172.16.1.50 TCP_MISS/200 468 GEThttp://data2.perf.overture.com/collweb/pm.gif? - DIRECT/216.39.104.91image/gif1140056628.369    259 172.16.1.50 TCP_MISS/200 465 GEThttp://server.iad.liveperson.net/hc/30905001/? - DIRECT/198.65.119.21image/gif1140056628.380  21783 172.16.1.50 TCP_MISS/200 6698 CONNECTsec.yimg.com:443 - DIRECT/66.218.70.70 -
1140056905.360    496 172.26.109.65 TCP_DENIED/403 1438 GEThttp://partners.hotbar.com/partners/GetIDs.dll? aulouiFIRST_UP_PARENT/172.26.1.67 text/html1140056905.434    381 172.26.105.193 TCP_MISS/200 5026 GET

Server B (Child):
http://www.ezibuy.com.au/zoomify/25368/TileGroup0/2-2-0.jpg auhenrFIRST_UP_PARENT/172.26.1.67 image/jpeg1140056905.537   9860 172.26.105.72 TCP_MISS/200 863 GEThttp://www.harveyworld.com.au/citibank/images/gr_enquiries.gif aubrocFIRST_UP_PARENT/172.26.1.67 image/gif1140056905.585    150 172.26.105.193 TCP_MISS/200 7570 GEThttp://www.ezibuy.com.au/zoomify/25368/TileGroup0/2-0-1.jpg auhenrFIRST_UP_PARENT/172.26.1.67 image/jpeg1140056905.596    653 172.26.108.199 TCP_MISS/200 655 GEThttp://zone.msn.com/images/v9/en-us/site/Nielsen.gif? auduidFIRST_UP_PARENT/172.26.1.67 image/gif
If you look at the above logs Server A goes direct all the time. Doesit mean it is not caching anything eventhough cache_dir is enabled?What is the best way to configure in this situation? Activate cache onboth the servers or just on server B?
Any help would be really appreciated.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux