1

I have a pfsense box running 32GBs of RAM. I enabled /var and other directories to be in RAM due to have so much space and wanted to improve performance.

How do you alter and increase the size of /var in RAM?

I've looked in the settings and I see no options to change the size.

enter image description here

Jason
  • 3,931
  • 19
  • 66
  • 107

1 Answers1

3

enter image description here

It's right there in front of your nose. :)

Generally speaking, though, you should limit the amount of data you're storing on your pfsense instance. For logs, ship them off to another loghost for analysis and long-term storage.

EEAA
  • 109,363
  • 18
  • 175
  • 245
  • Not sure how I missed that! Have the logs going offserver right now. I was pushing all the squid cache to RAM for faster processing and just noticed it was maxing out the /var. Thanks! – Jason Feb 11 '17 at 22:07
  • 1
    You may be overthinking this RAM thing. Frequently-used files will be cached in RAM anyway, even with an on-disk file system. – EEAA Feb 11 '17 at 22:08