Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
[SOLVED] Large amount of VLANs causes GUI hang
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Large amount of VLANs causes GUI hang (Read 8545 times)
ptha
Newbie
Posts: 10
Karma: 0
[SOLVED] Large amount of VLANs causes GUI hang
«
on:
May 25, 2017, 09:56:31 pm »
I setup'ed 150 vlans total of 152 interfaces. This causes the GUI interface to stop responding.
When I put off the interface listing on the dashboard I can at least login, but still everything is super slowly responding...
I know it is a bit rough to say, but PFsense had the same thing going until they fixed it somewhat half a year ago. I would massively prefer Opnsense over PFsense so would it be possible to fix this matter?
I would supply gladly more details and such.
Cheers,
Peter
«
Last Edit: May 31, 2017, 12:24:49 pm by franco
»
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: Large amount of VLANs causes GUI hang
«
Reply #1 on:
May 26, 2017, 08:23:57 am »
It's a known thing, and there is another topic here about that.
Also, it's been discussed in the IRC channel.
Don't know the details anymore, since I don't use it.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
ptha
Newbie
Posts: 10
Karma: 0
Re: Large amount of VLANs causes GUI hang
«
Reply #2 on:
May 26, 2017, 09:15:15 am »
I'm searching a bit but didn't found it yet...
Logged
AdSchellevis
Administrator
Hero Member
Posts: 904
Karma: 183
Re: Large amount of VLANs causes GUI hang
«
Reply #3 on:
May 26, 2017, 07:33:35 pm »
Hi Peter,
Can you create an issue on GitHub (
https://github.com/opnsense/core
) for traceability?
I just tried to add 150 vlan's on my virtual machine and experience similar issues, which seem to point to some old logic for searching local addresses.
I'm preparing a fix, as soon as I have one I will let you know.
**EDIT**
can you try
https://github.com/opnsense/core/commit/9bba2092eea0d7ffee7919a39e36133c979beb64
?
using
Code:
[Select]
opnsense-patch 9bba2092
Looking at it further, we probably should get rid of get_possible_listen_ips() too, it's doing way too much calls too.
Best regards,
Ad
«
Last Edit: May 26, 2017, 08:04:13 pm by AdSchellevis
»
Logged
ptha
Newbie
Posts: 10
Karma: 0
Re: Large amount of VLANs causes GUI hang
«
Reply #4 on:
May 27, 2017, 01:35:18 am »
More than thanks for the great and quick response!
I'll try it tomorrow morning. Also should I still make issue of it at GitHub?
Logged
ptha
Newbie
Posts: 10
Karma: 0
Re: Large amount of VLANs causes GUI hang
«
Reply #5 on:
May 27, 2017, 02:10:15 am »
Tried the patch, seems to work better. But the interfaces > overview is still hanging here.
«
Last Edit: May 27, 2017, 02:18:08 am by ptha
»
Logged
AdSchellevis
Administrator
Hero Member
Posts: 904
Karma: 183
Re: Large amount of VLANs causes GUI hang
«
Reply #6 on:
May 27, 2017, 09:32:27 am »
Hi Peter,
Thanks for reporting back.
If you can still make an issue on GitHub that would be nice, I do expect there are some other glitches as well (like pages using get_possible_listen_ips() ), so maybe we can smoothen them out a bit too.
Best regards,
Ad
Logged
ptha
Newbie
Posts: 10
Karma: 0
Re: Large amount of VLANs causes GUI hang
«
Reply #7 on:
May 27, 2017, 12:15:17 pm »
Added the issue on Github.
Looks like now the slow response is only present in:
- dashboard > interfaces widget
- interfaces > overview
- interfaces > wireless > status (I don't have any wifi hardware or setup)
«
Last Edit: May 27, 2017, 01:12:05 pm by ptha
»
Logged
franco
Administrator
Hero Member
Posts: 17473
Karma: 1587
Re: Large amount of VLANs causes GUI hang
«
Reply #8 on:
May 31, 2017, 12:24:40 pm »
All better now, marking this solved.
Logged
ptha
Newbie
Posts: 10
Karma: 0
Re: [SOLVED] Large amount of VLANs causes GUI hang
«
Reply #9 on:
August 06, 2017, 02:22:20 pm »
This issue was resolved and added as a 17.7 milestone. Does this mean it already implemented in the latest update?
Logged
franco
Administrator
Hero Member
Posts: 17473
Karma: 1587
Re: [SOLVED] Large amount of VLANs causes GUI hang
«
Reply #10 on:
August 06, 2017, 03:17:14 pm »
Yes, 17.1.11 and 17.7.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
[SOLVED] Large amount of VLANs causes GUI hang