Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - netmd1234

#1
Hi,

When the router hangs as I wrote above (Sometimes every few minutes, sometimes
every few hours or days or always when i add or change the rule, change something
in firewall advanced etc)
executing pmcstat -TS inst_retired.any_p -w1 i get this result:

%SAMP     IMAGE      FUNCTION                        CALLERS
35.5          kernel       murmur3_32_hash32        pf_find_state_all
...



What does it mean?
#2
Strange thing, when I change something in the firewall, e.g. in the advanced options "Bypass firewall rules for traffic on the same interface" the system hangs in a few seconds to several minutes (one core 100% interrupt).
When changing other options in the firewall or adding / changing the rule, change logging options the same happens - syste hangs. I will add that the min traffic is about 300 mbit to max 1500 mbit in primetime.
#3
Hi,

At system startup the message "Line 91: Address list too long" appears.
I think this is a message from the shaper ipfw.

I only use ipv4 but ipv6 is enabled in the firewall.
Firewall: Settings: Advanced: IPv6 Options / Allow IPv6

I use in shapper several rules with a lot of addresses.

How to check which line / rule causes this error?

#4
Quote from: banym on October 04, 2019, 09:27:39 PM
I would reset all tweaks to default and test if the system is stable again.
If it is, you know something with the changed option has bad a bad side effect.

Thats how I would try to find the problem.

I checked the original sysctl settings - the router hung up after a few minutes.
#5
Quote from: banym on October 04, 2019, 06:20:07 PM
:-\

That is strainge. Are you on the latest BIOS/UEFI version to be sure it its not a known bug?
Do you have serial console or VGA output that shows a panic or similar messages?

Have you tweaked or modified sysctls?
1. I have lastest 19.7.4 vga or dvd version - i dont remember, bios in mainboard is latest.
2. What do you mean "known bug"?
3. Vga output on ipmi - there is no kernel panic message or similar, the only message that pops up sometimes is: Bump sched buckets to 256 (was 0)
4. I checked on normal settings sysctl and tweak with different settings from the internet (mostly on a large number of packages) and there was no difference. Maybe I set something bad in sysctl that breaks the system but it should be ok in the initial box settings?.

Original settings sysctl:
https://pastebin.com/EBqxg5vN

Tweaked settings sysctl:
https://pastebin.com/CZSK4srj

#6
I am asking for help, because this situation is driving me crazy.
The system is:
OPNsense 19.7.4_1 , Supermicro X9SCI-LN4F, xeon e3-1220v2, 8gb, 256ssd, 1 x intel x520 10gb card. 2x built-in intel 82574L, ix0 - WAN, ix1 - LAN, em0, em1 - other (no or very small traffic)
max system interrupts 60k, max Context Switches 110k, avg interrupt load 17%, max traffic 960M, max packets 90k/60k
The computer performs the task of a router for a large number of people (fq_pie, dns)

At irregular intervals of hours, sometimes after 30 minutes, sometimes 5-6 hours it hangs in this way that:
Interfaces that are set up in Opnsense do not respond (even those with no or small traffic), interfaces that are present
in the system but are not set up in Opnsense work ok. Tunables configuration out of the box or with various changes.
The same occurred on intel 82576 cards.

Last minutes before freeze.
Oct  4 11:34:40 OPNsense kernel: ix0: link state changed to DOWN
Oct  4 11:34:41 OPNsense opnsense: /usr/local/etc/rc.linkup: Hotplug event detected for WAN(wan) but ignoring since interface is configured with static IP (89.186.2.22 ::)
Oct  4 11:34:41 OPNsense kernel: ix1: link state changed to DOWN
Oct  4 11:34:41 OPNsense opnsense: /usr/local/etc/rc.linkup: Hotplug event detected for LAN(lan) but ignoring since interface is configured with static IP (192.168.110.1 ::)
Oct  4 11:34:42 OPNsense kernel: em0: link state changed to DOWN
Oct  4 11:36:21 OPNsense configctl: error in configd communication  Traceback (most recent call last):   File "/usr/local/opnsense/service/configd_ctl.py", line 67, in exec_config_cmd     line = sock.recv(65536).decode() socket.timeout: timed out

All logs done from ipmi after freeze. The sysctl -a command and pfctl -si command - suspended the system completely, only power reset possible.
Enter 11 (Reload all services) in Opnsense menu - stops/hang at Configuring loopback interfaces...
All interfaces not assign in Opnsense work ok after freeze/hang.

https://pastebin.com/u/netmd123

Please help me...