Is it a good idea to schedule the opnsense firewall to shutdown for x hours

Started by chuliu, January 29, 2023, 05:30:16 PM

Previous topic - Next topic
My hardware is a cheap N5105 celeron, 8gb ram, 128gb ssd, which I bought at aliexpress for usd 158.
I set up opnsense on it and am wondering if it is a good idea to schedule periodic shutdown from 2:00am to 6:00am to let the sdd rest?  I may set up a crom job to shutdown the firewall, and a power socket with timer function to restart it.


The question is is it need the efforts?  Does it benefit the ssd by letting it stay idle for 4 hours?

Thanks.

No. Power cycling is the most stressful thing you can generally do to hardware. It's true that higher operating temperature promotes aging, but it's still better to have a level temperature 24x7 than frequent rapid changes.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: chuliu on January 29, 2023, 05:30:16 PM
The question is is it need the efforts?  Does it benefit the ssd by letting it stay idle for 4 hours?

Thanks.

I had a pfSense box up for 1172 days. Finally got some down time to be able to update it.
It's FreeBSD, it's made to stay up. Of course hardware problems can happen at any time whether it's run 24/7 or not, so just let it run.