Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
Slow shutdown / restart on reboot
« previous
next »
Print
Pages: [
1
]
Author
Topic: Slow shutdown / restart on reboot (Read 5245 times)
thebraz
Newbie
Posts: 26
Karma: 2
Slow shutdown / restart on reboot
«
on:
April 10, 2019, 12:11:02 pm »
Hello,
I have Opnsense (up-to-date version) installed in a Virtualbox VM.
Usually it has to be restarted for :
- Upgrades of Opnsense itself
- Updates of the VM host
The shutdown (and often restart) phase is extremely slow:
the execution of the backup scripts
>>> Invoking early script 'backup'
>>> Invoking backup script 'captiveportal'
>>> Invoking backup script 'dhcpleases'
>>> Invoking backup script 'duid'
>>> Invoking backup script 'netflow'
can take minutes.
Is there something I can do to improve the situation ?
Thanks in advance
Best Regards
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Slow shutdown / restart on reboot
«
Reply #1 on:
April 11, 2019, 06:34:02 pm »
You can disable individual periodic backups under System: Settings: Miscellaneous. Set them to "disable".
I guess it's Netflow / Insight causing the delay.
Cheers,
Franco
Logged
Steven
Newbie
Posts: 46
Karma: 4
Re: Slow shutdown / restart on reboot
«
Reply #2 on:
April 12, 2019, 03:58:59 am »
I have the same issue with slow OPNsense shutdown and restarts, can take minutes. Disabling the "Periodic NetFlow Backup" fixed it for me.
Not sure why NetFlow / Insight takes so long to backup. I have OPNsense running on a dedicated Qotom i7-7500U with 8GB RAM and 128SSD, more than enough CPU and I/O capabilities.
I have seen this behavior on other hardware configurations too.
Logged
thebraz
Newbie
Posts: 26
Karma: 2
Re: Slow shutdown / restart on reboot
«
Reply #3 on:
April 12, 2019, 09:56:15 am »
Hello,
Thanks a lot for your kind answers.
I disabled the backup and I'll let you know the results next time I reboot it.
Best Regards
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
Slow shutdown / restart on reboot