Hello!
I have a few servers with FreeBSD 7.2 or 8.1 and MPD 5.5 for a PPPoE connection. After I updated MPD to version 5.6 (I've updated only MPD port and I've used this patch and a patch to support the CoA RAD_CLASS attribute:
1. Update you system to 8-STABLE (this update you em driver to version 7.3.2)
2. Add a missed lines like that:
if (rad_class)
free(rad_class);
in RadsrvEvent()
3. Remove "options FLOWTABLE" from you kernel
4. Try to set net.inet.ip.fastforwarding to 0
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. Update you system to 8-STABLE (this update you em driver to version 7.3.2)
I'm updating freebsd on servers now, but it will take about month, and I want to undestand what is the reason of crashes - new mpd, CoA patch or Delay patch? Because everything was fine before mpd was updated.
2. Add a missed lines like that:
if (rad_class)
free(rad_class);
in RadsrvEvent()
Thanks, I'll fix it. But I've checked MPD memory size on the servers, and it's not increasing! Also there is more then 1,5G free RAM and 2G free swap right before panic. It doesn't looks like this bug is the reason of crashes.
3. Remove "options FLOWTABLE" from you kernel
I have this option deleted.
4. Try to set net.inet.ip.fastforwarding to 0
I'll try it. I knew that there is a problem with net.isr.direct=0 and mpd. Are there any problems with fastforwarding?
See my last commit and try it.
What commit are you talking about? Please, give me a link!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I have a few servers with FreeBSD 7.2 or 8.1 and MPD 5.5 for a PPPoE connection. After I updated MPD to version 5.6 (I've updated only MPD port and I've used this patch and a patch to support the CoA RAD_CLASS attribute:
After this update the servers start to reboot after a panic periodically about once a week. The reasons are different but usually it looks like:
Sometimes there are other errors, but there is always bpf_filter in "where" command output of gdb. All my kernels have additional options:
And I've changed these sysctl variables:
There are about 200 users on every server. And pppoe-delay=3 or 4 (see this patch).
What may be the reason of kernel panic?
1. Update you system to 8-STABLE (this update you em driver to version 7.3.2)
2. Add a missed lines like that:
if (rad_class)
free(rad_class);
in RadsrvEvent()
3. Remove "options FLOWTABLE" from you kernel
4. Try to set net.inet.ip.fastforwarding to 0
See my last commit and try it.
Dmity, thank you for the answer!
fetch last sources from CVS. They always contains last fresh fixes.