Slow Internet Connection
-
I'm using it on business
What do you mean redo the whole thing? Did you mean that reformat the PC and reinstall the pfsense again?
In our situation, is it normal to have that high used disk space?
-
In a business:
1. 43% of 886Gb - This would be normal if you gave pfsense squid a cache size that big and if lots of people were using it to visit lots of various sites.
2. Should it always be reading from the drive? Ideally yes. If lots of people are using it. It would be nice if you get a high percentage of cache hits. If you want your internet to be fast when reading from cache, make sure you have a damn fast drive, Perhaps a really fast ssd on a very fast interface and a good fast processor.
Basically, squid will seek to fill as much cache as you give it. Not sure if you need 886Gb. Depends on your organization. I never managed to use more than 12% of 50GB myself.
BTW - Do you have over 50GB of ram in that box? I would normally want to size my cache to be not more than 20x my ram available for indexing all that cache.
-
Below are my PC specification
-> Intel i7 3.6Ghz
-> 1Tb HDD
-> 8GB ramHow many people you are pertaining? Right now we have around 60 to 70 persons.
Thank you in advance.
-
What do you mean cache hits?
-
You should probably resize your squid cache to be about 25GB or so. Really don't need more.
I'd pull out the big huge 1TB drive and replace it with a 64GB SSD.
Use the 1TB drive for file storage in some other machine.
-
Cache hit = how often does "internet" get served up from your squid instead of from normal internet bandwidth.
To speed up your internet, give about 4GB of RAM to ram cache.
Make squid cache about 25 GB or so.
You can make it larger, but you won't gain any benifit from it.
I suspect your internet is being slow because 886GB * 43% = 265GB * .06 = 16GBRam needed to index such a large cache.
There is a such thing as too big.
Basically I bet your ram is used more than 100%
-
Right now, 19% of 8GB is used for memory usage. I will try to change the configuration.
-
You don't need much for those few people.
A good reliable fast configuration is what will work best for you.
How fast is your internet connection (upload and download) and do you have monthly download/upload limits?
You could probably install ESXI on that machine, give 2 cores and 2GB to pfsense and run 3 other Virtual servers/machines on the same hardware.
-
I have this feeling that you are abit new to pfsense and perhaps to all of this.
You have quite a bit of machine there that is far more capable that what pfsense will require for the task.
I think you should take that 1 computer and use it for not only for pfsense but for many servers.
I'd hate to see good money go to waste. You can get alot out of it.
-
Honestly. Yes im new to pfsense.
One of my officemate suggesting to use a asus router as a replacement of the ofsense but in my own opinion i'm much more comfortable to the pfsense.
What do you suggest? As of now my option is to reformat the pc and install again the pfsense.
-
Squid is almost useless these days for caching. More often it's used as a base for URL filtering with SquidGuard. Even with dynamic content settings, my cache hit rate never seems to be more than 5-7%. It's hardly worth it.
I think your cache is definitely too big.
-
Do you have a suggestion that can replace squid and squidguard?
-
Not really. I use them for URL filtering. I don't really care about the caching part since we have a fast fibre linkand tons of bandwidth.
-
What KOM is saying is that there is nothing wrong with squid as part of squidguard. Just make your cache smaller. Alot smaller. Not more than about 25GB. Honestly it doesn't even need to be that big.
Pfsense will work very well for you and can do so usually with a relatively small SSD. Disk speed is your friend.
But yeah. You could run pfsense on 2 cores for your needs.
I do suggest pfsense though. Its much nicer and feature rich than pretty much everything else.