Pfsense hangs every two weeks!
-
Squid doesn't seem ok to me. To me it seems there is far to much HD cache given his ram.
-
How much Ram does this box have?
-
I'll put it this way. I have several times your RAM with basically the same size cache stipulated and I'll hit 35% in a couple days of running. 40% sometimes. Mine used to crash daily til I reduced my disk cache and mem cache. Indexing 40GB of drive can take upwards of 2GB ram or more if the cache is full of lots little things.
-
This server has 4Gb of RAM, but I have another server with similar hardware (Processor speed, disk size and ram sise) in another installation with the same squid settings and it is working without a reboot for almost an year. We have rebooted it only to upgrade PfSense!
So I really don't believe that squid is the cause of the problem!
-
Then it must not be. Its a mystery. Hope you get it worked out.
-
Tomorrow we schedule the updating to PfSense 2.0.3. After the update we Will start again the monitoring and verify it the problem get solved or not ok!
Soon I have some news I post here!
Thanks!
-
Getting back to something someone else mentioned, pfsense works best when it is managing the IRQs. So, if you haven't gone into your system bios and turned off any references to "Plug and play", that could easily be the problem also.
-
I'd also toss in (since no-one else has) that from sad experience I consider RealTek LAN interfaces as next to useless. Spending $60 or so on some basic (or more on fancier) intel LAN interfaces might be a good idea. I've been getting good behavior from $30 Gigabit intel cards.
With quite a bit more system (16GB RAM) I run 6144 M RAM Cache and 250 GB disk cache. When I popped the RAM cache to 8GB I started hitting swap usage, so I backed off. Currently at 84%, will probably try 7168 and see how that fares next.
I'm also not overly sure that having the maximum object size so small for disk is a great thing, but then, I've alsways been more interested in saving bandwidth than "sheer speed" - in my application, saving bandwidth gets me sheer speed, so I don't kow where "a small value" there really helps.
and as an aside, do you really want 207.67.222.222? I use OpenDNS serves myself, so that one stuck out like a sore thumb at me. Should be 208.67… just like the fourth one (...220.220) - unless there's actually some other DNS server out there at that address...
-
You know whats really sad? I'v never paid more than $20 for a Intel NIC. Except the dual port PCIe x4 NICs that cost me $30ish.
But thats not whats killing his memory. He is doing it with his settings. -
I see you have Squid3 beta. My recommendation is to uninstall Squid3, remove all related files do a clean reboot with no traces of Squid3 and then do clean install of stable Squid 2.7.9 pkg v.4.3.3
For hard disk cache system use aufs and for memory replacement use LFUDA