How do I delete the information on the hard disk ?
-
Probably - If you are sending most of your traffic through squid, it will fill a 10GB cache pretty quick.
I would imagine that you only just started using that cache recently.
-
What about your SquidGuard logs?
Steve
-
What about your SquidGuard logs?
Here
is it ok ?
![home.plex - Proxy filter SquidGuard Log page - 2015-03-15_21.15.38.png](/public/imported_attachments/1/home.plex - Proxy filter SquidGuard Log page - 2015-03-15_21.15.38.png)
![home.plex - Proxy filter SquidGuard Log page - 2015-03-15_21.15.38.png_thumb](/public/imported_attachments/1/home.plex - Proxy filter SquidGuard Log page - 2015-03-15_21.15.38.png_thumb)
![home.plex - Proxy filter SquidGuard Log page - 2015-03-15_21.14.53.png](/public/imported_attachments/1/home.plex - Proxy filter SquidGuard Log page - 2015-03-15_21.14.53.png)
![home.plex - Proxy filter SquidGuard Log page - 2015-03-15_21.14.53.png_thumb](/public/imported_attachments/1/home.plex - Proxy filter SquidGuard Log page - 2015-03-15_21.14.53.png_thumb)
![home.plex - Proxy filter SquidGuard General settings - 2015-03-15_21.14.29.png](/public/imported_attachments/1/home.plex - Proxy filter SquidGuard General settings - 2015-03-15_21.14.29.png)
![home.plex - Proxy filter SquidGuard General settings - 2015-03-15_21.14.29.png_thumb](/public/imported_attachments/1/home.plex - Proxy filter SquidGuard General settings - 2015-03-15_21.14.29.png_thumb) -
You have log rotation selected but is it working as expected? Check the log file size in /var/squidguard.
Steve
-
how do i do that ?
i know how to sshbut how do i know the size of the file or is name ?
-
Connect to the console with SSH, go to the /var/squidguard directory and list the files with their size using, for example, 'ls -lhS'.
Steve
-
I really am not seeing the issue here. If you don't like seeing a high percentage of disk usage on a 20GB pfsense install, don't allocate 10GB to squid.
Not that your current setting are bad. They are fine. But if it makes you happy to not utilize 50% of your disk space, just set the squid for 50000 instead of 10000.
My squid installs ALWAYS filled the entire cache, and as far as I know, thats what it should be doing. I think you are worried over nothing.
-
I really am not seeing the issue here. If you don't like seeing a high percentage of disk usage on a 20GB pfsense install, don't allocate 10GB to squid.
Not that your current setting are bad. They are fine
It may be works correctly
It just seems odd to me
It was a long time about 16 to 20 percent
And within two weeks jumped to 60 percent
I'm not going to change it
I wanted to know why Out of curiosityIf it works correctly now
It means that it did not work correctly beforego to the /var/squidguard
/var/squidguard: Command not found.
-
I think I managed
This command i did in the library /var/[2.1.5-RELEASE][admin@home.plex]/var(6): ls -lhS total 50 drwxr-xr-x 18 root wheel 1.0k Mar 9 14:55 db drwxr-xr-x 6 root wheel 1.0k Mar 16 20:06 log drwxr-xr-x 6 root wheel 1.0k Mar 5 18:42 run drwxr-xr-x 2 root wheel 512B Aug 25 2014 account drwxr-xr-x 4 root wheel 512B Aug 25 2014 at drwxr-x--- 2 root audit 512B Aug 25 2014 audit drwxr-x--- 2 root wheel 512B Aug 25 2014 backups drwxr-x--- 2 root wheel 512B Aug 25 2014 crash drwxr-x--- 3 root wheel 512B Aug 25 2014 cron drwxr-xr-x 8 root wheel 512B Feb 3 15:44 dhcpd dr-xr-xr-x 2 root wheel 512B Feb 3 15:39 empty drwxr-xr-x 5 root wheel 512B Mar 15 22:47 etc drwxrwxr-x 2 root games 512B Aug 25 2014 games drwx------ 2 root wheel 512B Aug 25 2014 heimdal drwxr-xr-x 2 root wheel 512B Feb 3 15:40 installer_logs drwxrwxr-x 2 root mail 512B Feb 20 10:54 mail drwxr-xr-x 2 daemon wheel 512B Aug 25 2014 msgs drwxr-xr-x 2 root wheel 512B Aug 25 2014 named drwxr-xr-x 2 root wheel 512B Aug 25 2014 preserve drwxrwxr-x 2 root daemon 512B Aug 25 2014 rwho drwxr-xr-x 7 root wheel 512B Aug 25 2014 spool drwxr-xr-x 5 proxy proxy 512B Feb 3 16:00 squid drwxr-xr-x 3 root wheel 512B Feb 27 19:08 squidGuard drwxrwxrwt 5 root wheel 512B Mar 16 20:11 tmp drwxr-xr-x 2 root wheel 512B Aug 25 2014 yp
cant go to squidGuard
[2.1.5-RELEASE][admin@home.plex]/var(7): cd /squidGuard/ /squidGuard/: No such file or directory.
-
cant go to squidGuard
[2.1.5-RELEASE][admin@home.plex]/var(7): cd /squidGuard/ /squidGuard/: No such file or directory.
Yeah, layer 8 error…
cd /var/squidGuard/
-
Where did the "var" go?
-
At first I did
cd /var/squidGuard/
it give me this
/var/squidguard: Command not found.
so i try this
cd /var/
and then i try```
cd /squidGuard/it didnt work So I wrote down the command in the folder /var/
ls -lhS
Very strange I tried this order exactly it did not work before Here is outcome for ls -lhS in /var/squidGuard/
total 2
drwxr-xr-x 2 proxy proxy 512B Mar 16 00:00 log -
At first I did
cd /var/squidGuard/
it give me this
/var/squidguard: Command not found.
Impossible. And kindly note that the filesystem is case sensitive. /var/squidGuard is NOT the same thing like /var/squidguard
-
Probably that's why it did not work
In your latest post
I just copied the command I pasted into the terminal
Not like before -
I wonder what would happen if you went to diagnostics > command prompt
and entered:
ls - l /var/squidguard
???
-
$ ls - l /var/squidguard ls: -: No such file or directory ls: /var/squidguard: No such file or directory ls: l: No such file or directory
I guess it's like doktornotor
Said/var/squidGuard is NOT the same thing like /var/squidguard
-
OK - got that…
Have you tried using the correct case and spelling?
At this point you should know that right?
I'm not running squidguard or SquIdGuaRD or whatever, but if I were I bet that ls -l /var would show me the correct spelling of that...
-
There's also this wonderful Tab key…
-
Anyway you can see above that the directory is, oddly, called squidGuard and the file in it is <1K so not a problem.
Steve
-
Well - lets see…
10GB squid cache + 6GB (thats my basic install with very few packages and no squid)
So 10 + 6 = 16GB
So what percent of 20 is 16? like 80% ?
And thats what I would expect if I was on your settings with squid and that drive. If you get down to 5% or something then panic.