CentOS 5 Server :: Check How Much Squid Cache Has Been Full ?
Mar 17, 2011
I am using Cent Os 5. I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.
# cache_dir ufs /var/spool/squid 2000 16 256
I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size.
I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.
Code: # cache_dir ufs /var/spool/squid 2000 16 256 I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size
what i need, I got two servers for about 4000 users and 300 servers and well the guy never setup dns caching right, so im redoing it. Now my goals
1) DNS cache 2) Transparent Squid Cache only 3) Load Balance - at switchlevel
Upgraded Hardrives to SSD 2x32gb each server 4gb of ram 2x Dell poweredge 850's - p4 2.8 (single cores) So any advise , pointers , expeirnces and best ways to do this being both server will do both dns caching and squid! Also is bind9 the best for this?? i seen stuff about DNSmasq what performs better( i dont need DHCP)
I recently finished installing Squid 3.1.9 and I think I've done installing correctly with its feature of minor configuration changes. It accepted requests on port 3128 and created and the created some numerical or binary (I guess) files in /usr/local/squid/var/logs, My problem is how can I fully verify if the cache is really storing Internet Files? I've read some forums in the Internet replied to me to try the command: cat /usr/local/squid/var/logs/cache.logSo I did tried it and it gives me this output:
2010/11/11 18:04:49| store_swap_size = 0 2010/11/11 18:04:50| storeLateRelease: released 0 objects 2010/11/11 18:05:41| Squid is already running! Process ID 5458
I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid
I'm trying to setup a Centos 5.6 Squid Proxy Server with Content Filtering & Antivirus Scanning Incoming HTTP Traffic from the Internet
I then proceeded to setup an configure the Proxy Server, i was able to test and confirm that Squid and Dansguardian Content Filter is working, however i dont know if Clamav is scanning HTTP traffic before it hits the client/server. Is there a way i can check if the Antivirus scanning is working.. is there some log file or real world test i can i can do to confirm that Clamav is scanning incoming traffic or even blocking potential viruses ??
Anyone who has squid proxy server with Clamav configured and its working can share there settings/setup with me and how they tested it ??
I am using squid on my cent os 5. The cache directory is almost full.
Code: # cache_dir ufs /var/spool/squid 1000 16 256 kindly guide me how can i flush or clean the data inside the cache directory of squid using terminal
i Have a Squid Server , i'm Using That for Caching ... i Have 3 Ether on My " Squid Server ". Ether1 : Directly Internet From ISP1 , 2Mbps . Ether2 : Directly Internet From ISP2 , 512 KBps . Ether3 : Connected too LAN . i want All The Files Format with " MP3 , RAR , ZIP , AVI , ... (All Downloads File) " Get From Ether1(ISP1) and WebPages Like " HTML , ASP , CGI , & ... " Get from Ether2(ISP2) i Not Know How to Configure That with My 2 ISP internet.
I would like to ask some help and tutorial for setting up and how to configure squid proxy server in my (Home PC Server). I am a newbie in Linux Centos. I already installed in my system the CentOS 5.5 . Now, I want to configure it as my internet server, all of my 4 system running in Windows including the laptop I want to connect through my CentOS pc with username authentication. I assign all IP address by static. see tthe attachement in my set up. [url] I just want to know what I need to change and add in my squid config file. And how can I configure properly my CentOS with 2 LAN card as internet server.
One of our user inform me about some problems in viewing one site that he does not get fresh objects from site's server while site is updated everyday!! After some investigate and dig on headers I get, I found out in response headers that "date" field is for 2 or 3 last week!! 1- Does Squid cache "response headers" ?If so, when user send "If-none-match" or "if-modified-since" in request header the cached "response header" will be updated?
My past few weeks trying to cache the use frox, but never managed to run frox correctly. I need a guide for installation frox (ftp proxy or otherwise) that I can understand, because I'm still just learning. I use a superbly managed using squid for web proxy using port 3128
I'm using squid as a proxy in our organization. My problem is whenever the squid cache folder size exceeds 3 GB our proxy server starts to hang. Is there a way to write a script that it will automatically delete the squid cash when it exceeds the 3GB limit.
I installed squid 2.6.stable21 on centos 5.3,it starts normally from /usr/local/squid/sbin/squid but when I start form init.d it is running but display message. /etc/init.d/squid start then displays Starting JunkBuster & Squid 2010/08/02 19:05:52| ACL name 'all' not defined! FATAL: Bungled squid.conf line 179: http_reply_access allow all Squid Cache (Version 2.6.STABLE21): Terminated abnormally. [FAILED]
I installed the latest version of Centos 5.4.It came with Xen version 3.0.2 I think.I am running it on a Dell R510. It supports hardware virtualization.I was able to virtualize Windows XP and Windows 2003 server on it by selecting the install from DVD option.I was having problems trying to get a PCI DekTek card seen by the virtualized Windows domains so I tried to upgrade XEN to 3.4.2.I used the repos available from Gitmo and it went easy.
The only problem is now that when I try to create a "New virtual host" it only allows me to use HTTP, FTP option and not the iso or DVD option. They are greyed out. I was wondering if anyone has had this problem and might know a work around for the Xen 3.4.2 problem. Perhaps a better location for the kernel or something.
any one are implementing Transparent Cache in bridge mode. after googling i found article but its not working for me. any one have done this before ? [URL]
im using a lease line on real ip for internet connection in my office.i have shared my internet conetion with a squid 2.6 stable6. i m having almost 200 pc in my office.since last few days my squid is creating a problem.as soon as i restart it ,it work fine but after a few minute it becomes extremely slow ..it almost dies.when i go to its cache log i found the error that your cache is running out of file descriptor...once i increased the no of file descrptor from 1024 to 4028 , the problem temporaily sorted out but after a few days same problem is repetaed ....and still the problem exist
I have installed debian to run Squid cache as a caching proxy. Ive been bashing away now for 2 days and i have managed to install squid (i first tried manually, but that did not work so i used synaptic software packager to install it (from Administration menu) That went well, thereafter i installed webamin to work with squid in a GUI
I have managed to start squid and added my range of IP addresses to the ACL list I have added the proxy restriction too.
Now, i tried to test it. I opened Iceweasel Web browser (on the same machine) and setit to use the Proxy server: localhost and port:3128 That works fine.
But when i try to change the proxy setting to my machines ip (where squid is installed) : Proxy server: 10.0.0.35 and port:3128 That does not work. Am i missing something, please help I then tried to set another windows PC on the network to: Proxy server: 10.0.0.35 and port:3128 That also does not work.
I also edited the conf file to http_access allow all, but i do not know if i have doen it correctly, but maybe there is another problem?
i installed squid 2.6 proxy server on centos 5.4,squid performs services very nice but after reboot the system.it shows a just black screen written with " GRUB_ " and held the boot process,tell me what should i do ?
I am using centos 5 for squid. I have enabled delay pools in it. The scenario is I have two clients machines have IP address 192.168.1.200 (The Manager) and 192.168.1.201 (Manager Assistant). The issue is I assign 512kbps to the Manager IP address and 128 to his assistant. When either of them download it start from 60 KB/Sec they finally get 11 KB/Sec which is wrong. If I disable the assistant delay pools settings then the Manager get 60KB/Sec continuously. By enabling both squid does not show any error.
Following is my line of code taken from squid.conf Code: acl our_512kbps src "/usr/local/squid/etc/our_512kbps" acl our_128kbps src "/usr/local/squid/etc/our_128kbps" http_access allow our_512kbps http_access allow our_128kbps http_access deny all
I installed squid 2.7 and want to use squid_session external acl rule. But there is no squid_session in any dir, looked everywhere. On my Ubuntu box I also have squid 2.7 and there I have squid_session.
I just installed Webmin on this CentOS 5.5 client and would like to know if it's possible to remotely administer the Squid server. The one I'm using for webmin is different from the one where Squid proxy is running.
I have installed squid using CentOS 5. The server is dedicated only for squid proxy server. I want to know how can I disable unwanted services which load at booting time. Like sendmail,samba,etc etc. These services take memory and are not in use. I does not know how can I make my server only for squid proxy service by removing unwanted services?
today i encountered centos 5.5 final server with a squid configured to block facebook from 9am to 4pm. i have tried to follow up the steps but am stack where time restriction is done and there is no proxy configuration done in the browser. the ip address of the server is being used as the default gateway.
I just want to place upload/download limit to each ip address ( say 20MB per day for each ip or specific ip) using squid proxy i tried through delay pool but it control only download/upload speed not place any download/upload quota restriction. following are my codes I have 1Mbps line
delay_pools 2 delay_class 1 2 # here 700kbps(87Kbytes) Net-Total usage limit, with 50Kbytes per user
[code]...
I also used
"reply_body_max_size" parameter to control upload limit.
But
"request_body_max_size" only restrict download based on size.
how to setup quota ( download quota per day per ip)