[squid-users] Re: File Descriptors

2010-07-06 Thread Superted666
Hey guys, Thanks for the tips, your right a recompile was needed. I find it odd because i was under the impression that squid 3.0 supported max_desc or max_descriptors. Oh well, i compiled with --with-filedescriptors if anyone finds this in the search. I confirmed the syntax with : sh ./configur

[squid-users] File Descriptors

2010-07-05 Thread Superted666
Hello, Got a odd problem with file descriptors im hoping you guys could help me out with? Background I'm running CentOS 5.5 and squid 3.0 Stable 5. The system is configured with 4096 file descriptors with the following : /etc/security/limits.conf *- nofile 4096

[squid-users] Re: Squid Concerns

2010-06-23 Thread Superted666
I found the issue! First problem was indeed the fact i was using squid in transparent mode which was wrong. Second was the missing vhost option. Third was i was specifying my cache_peer on 127.0.0.1 but the virtual host was restricted to the external IP address so didnt pick it up. A huge HUGE t

[squid-users] Re: Squid Concerns

2010-06-23 Thread Superted666
Okay so i have cleared down my config and below is the current setup... Squid.conf : r...@webserver [/usr/local/squid/var]# cat ../etc/squid.conf # SQUID 3.0.STABLE5 Custom mywebsiteConfiguration File # ACL Configuration acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_loca

[squid-users] Re: Squid Concerns

2010-06-23 Thread Superted666
The access log of squid? This is showing : 1277287529.343 0 194.159.145.70 TCP_MISS/404 689 GET http://www.mywebsite.co.uk/ - FIRST_UP_PARENT/127.0.0.1 text/html I think its arriving at apache without the refferer or perhaps at the default site. I think for it to work it's got to arrive

[squid-users] Re: Squid Concerns

2010-06-23 Thread Superted666
Hello, Thanks again for the responses! I have updated my config with the vhost option but no joy, have i written it wrong? http_port myip:80 vhost accel defaultsite=www.mywebsite.com cache_peer 127.0.0.1 parent 80 0 no-query originserver Obv, myip/mywebsite are different in my conf... -- View

[squid-users] Re: Squid Concerns

2010-06-22 Thread Superted666
Hello, Thanks so much again, nearly there now! That gets me through to my webserver BUT squid doesn't appear to be sending me to the correct address. Apache is set to serve as a virtualhost so looks out for the URL, it looks like squid is stripping this URL before its passed onto apache. Then ap

[squid-users] Re: Squid Concerns

2010-06-22 Thread Superted666
Thankyou for the prompt response! Below is the squid config, trimmed most of the guff out. Thanks #Recommended minimum configuration: acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 # # Example rule allowing access from your local networks. # Adap

[squid-users] Squid Concerns

2010-06-22 Thread Superted666
Hello, Im testing out using squid sat in front of a wordpress installation. Wordpress sometimes isn't the fastest so i thought id try squid to serve the sites static content. The site is quite popular so i have set squid to run on a separate IP which i hit through host file entries. Squid the