OPNsense Forum

English Forums => General Discussion => Topic started by: chuliu on January 29, 2023, 05:30:16 pm

Title: Is it a good idea to schedule the opnsense firewall to shutdown for x hours
Post by: chuliu on January 29, 2023, 05:30:16 pm
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.
Title: Re: Is it a good idea to schedule the opnsense firewall to shutdown for x hours
Post by: Patrick M. Hausen on January 29, 2023, 05:33:31 pm
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.
Title: Re: Is it a good idea to schedule the opnsense firewall to shutdown for x hours
Post by: Demusman on January 29, 2023, 05:36:53 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.