Popular Threads From Freebsd-net:
List Statistics
- Total Threads: 2088
- Total Posts: 3082
Phrases Used to Find This Thread
|
# 1

23-06-2011 01:55 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 2

23-06-2011 02:25 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 3

23-06-2011 04:39 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 4

23-06-2011 04:56 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 5

23-06-2011 05:10 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 6

23-06-2011 06:37 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 7

23-06-2011 07:15 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 8

23-06-2011 07:50 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 9

23-06-2011 08:18 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 10

23-06-2011 08:56 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 3:18 PM, Adrian Minta wrote:
> Oops i spoke too soon ...
> The system is stable without hyperthreading. With hyperthreading activated
> i't freezes again.
>
I also run with
devd_enable="NO"
in /etc/rc.conf
and
in /etc/syctl.conf
kern.random.sys.harvest.ethernet=0
Does it actually freeze or panic and crash ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 11

23-06-2011 09:17 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 3:18 PM, Adrian Minta wrote:
> Oops i spoke too soon ...
> The system is stable without hyperthreading. With hyperthreading activated
> i't freezes again.
>
I also run with
devd_enable="NO"
in /etc/rc.conf
and
in /etc/syctl.conf
kern.random.sys.harvest.ethernet=0
Does it actually freeze or panic and crash ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Try:
net.inet.ip.fastforwarding = 0
net.isr.bindthreads = 1
net.isr.direct = 0
net.isr.direct_force = 0
--
Rozhuk Ivan
> -----Original Message-----
> From: owner-freebsd- [mailto:owner-freebsd-
> ] On Behalf Of Mike Tancsa
> Sent: Friday, June 24, 2011 4:56 AM
> To: Adrian Minta
> Cc: freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 3:18 PM, Adrian Minta wrote:
> > Oops i spoke too soon ...
> > The system is stable without hyperthreading. With hyperthreading
> activated
> > i't freezes again.
> >
>
> I also run with
>
> devd_enable="NO"
>
> in /etc/rc.conf
> and
> in /etc/syctl.conf
> kern.random.sys.harvest.ethernet=0
>
> Does it actually freeze or panic and crash ?
>
>
> ---Mike
>
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 12

23-06-2011 09:40 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 3:18 PM, Adrian Minta wrote:
> Oops i spoke too soon ...
> The system is stable without hyperthreading. With hyperthreading activated
> i't freezes again.
>
I also run with
devd_enable="NO"
in /etc/rc.conf
and
in /etc/syctl.conf
kern.random.sys.harvest.ethernet=0
Does it actually freeze or panic and crash ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Try:
net.inet.ip.fastforwarding = 0
net.isr.bindthreads = 1
net.isr.direct = 0
net.isr.direct_force = 0
--
Rozhuk Ivan
> -----Original Message-----
> From: owner-freebsd- [mailto:owner-freebsd-
> ] On Behalf Of Mike Tancsa
> Sent: Friday, June 24, 2011 4:56 AM
> To: Adrian Minta
> Cc: freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 3:18 PM, Adrian Minta wrote:
> > Oops i spoke too soon ...
> > The system is stable without hyperthreading. With hyperthreading
> activated
> > i't freezes again.
> >
>
> I also run with
>
> devd_enable="NO"
>
> in /etc/rc.conf
> and
> in /etc/syctl.conf
> kern.random.sys.harvest.ethernet=0
>
> Does it actually freeze or panic and crash ?
>
>
> ---Mike
>
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 4:17 PM, wrote:
>
> Try:
> net.inet.ip.fastforwarding = 0
> net.isr.bindthreads = 1
> net.isr.direct = 0
> net.isr.direct_force = 0
If net.isr.direct is disabled, does setting net.isr.bindthreads do
anything ? Also, why disable the fastforwarding ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 13

23-06-2011 10:47 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 3:18 PM, Adrian Minta wrote:
> Oops i spoke too soon ...
> The system is stable without hyperthreading. With hyperthreading activated
> i't freezes again.
>
I also run with
devd_enable="NO"
in /etc/rc.conf
and
in /etc/syctl.conf
kern.random.sys.harvest.ethernet=0
Does it actually freeze or panic and crash ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Try:
net.inet.ip.fastforwarding = 0
net.isr.bindthreads = 1
net.isr.direct = 0
net.isr.direct_force = 0
--
Rozhuk Ivan
> -----Original Message-----
> From: owner-freebsd- [mailto:owner-freebsd-
> ] On Behalf Of Mike Tancsa
> Sent: Friday, June 24, 2011 4:56 AM
> To: Adrian Minta
> Cc: freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 3:18 PM, Adrian Minta wrote:
> > Oops i spoke too soon ...
> > The system is stable without hyperthreading. With hyperthreading
> activated
> > i't freezes again.
> >
>
> I also run with
>
> devd_enable="NO"
>
> in /etc/rc.conf
> and
> in /etc/syctl.conf
> kern.random.sys.harvest.ethernet=0
>
> Does it actually freeze or panic and crash ?
>
>
> ---Mike
>
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 4:17 PM, wrote:
>
> Try:
> net.inet.ip.fastforwarding = 0
> net.isr.bindthreads = 1
> net.isr.direct = 0
> net.isr.direct_force = 0
If net.isr.direct is disabled, does setting net.isr.bindthreads do
anything ? Also, why disable the fastforwarding ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
net.inet.ip.fastforwarding
- double check incoming packet, if: dst = this host / multicast / contain options
- all packets processing by one cpu core
This option is good for one cpu core routers.
--
Rozhuk Ivan
> -----Original Message-----
> From: Mike Tancsa [mailto:]
> Sent: Friday, June 24, 2011 5:40 AM
> To:
> Cc: 'Adrian Minta'; freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 4:17 PM, wrote:
> >
> > Try:
> > net.inet.ip.fastforwarding = 0
> > net.isr.bindthreads = 1
> > net.isr.direct = 0
> > net.isr.direct_force = 0
>
> If net.isr.direct is disabled, does setting net.isr.bindthreads do
> anything ? Also, why disable the fastforwarding ?
>
> ---Mike
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 14

24-06-2011 04:02 AM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 3:18 PM, Adrian Minta wrote:
> Oops i spoke too soon ...
> The system is stable without hyperthreading. With hyperthreading activated
> i't freezes again.
>
I also run with
devd_enable="NO"
in /etc/rc.conf
and
in /etc/syctl.conf
kern.random.sys.harvest.ethernet=0
Does it actually freeze or panic and crash ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Try:
net.inet.ip.fastforwarding = 0
net.isr.bindthreads = 1
net.isr.direct = 0
net.isr.direct_force = 0
--
Rozhuk Ivan
> -----Original Message-----
> From: owner-freebsd- [mailto:owner-freebsd-
> ] On Behalf Of Mike Tancsa
> Sent: Friday, June 24, 2011 4:56 AM
> To: Adrian Minta
> Cc: freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 3:18 PM, Adrian Minta wrote:
> > Oops i spoke too soon ...
> > The system is stable without hyperthreading. With hyperthreading
> activated
> > i't freezes again.
> >
>
> I also run with
>
> devd_enable="NO"
>
> in /etc/rc.conf
> and
> in /etc/syctl.conf
> kern.random.sys.harvest.ethernet=0
>
> Does it actually freeze or panic and crash ?
>
>
> ---Mike
>
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 4:17 PM, wrote:
>
> Try:
> net.inet.ip.fastforwarding = 0
> net.isr.bindthreads = 1
> net.isr.direct = 0
> net.isr.direct_force = 0
If net.isr.direct is disabled, does setting net.isr.bindthreads do
anything ? Also, why disable the fastforwarding ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
net.inet.ip.fastforwarding
- double check incoming packet, if: dst = this host / multicast / contain options
- all packets processing by one cpu core
This option is good for one cpu core routers.
--
Rozhuk Ivan
> -----Original Message-----
> From: Mike Tancsa [mailto:]
> Sent: Friday, June 24, 2011 5:40 AM
> To:
> Cc: 'Adrian Minta'; freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 4:17 PM, wrote:
> >
> > Try:
> > net.inet.ip.fastforwarding = 0
> > net.isr.bindthreads = 1
> > net.isr.direct = 0
> > net.isr.direct_force = 0
>
> If net.isr.direct is disabled, does setting net.isr.bindthreads do
> anything ? Also, why disable the fastforwarding ?
>
> ---Mike
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 5:47 PM, wrote:
>
> net.inet.ip.fastforwarding
> - double check incoming packet, if: dst = this host / multicast / contain options
> - all packets processing by one cpu core
>
> This option is good for one cpu core routers.
Thanks, I didnt know that. And the netisr option ? Have you found that
to be buggy ?
---Mike
>
>
> --
> Rozhuk Ivan
>
>
>
>> -----Original Message-----
>> From: Mike Tancsa [mailto:]
>> Sent: Friday, June 24, 2011 5:40 AM
>> To:
>> Cc: 'Adrian Minta'; freebsd-
>> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>>
>> On 6/23/2011 4:17 PM, wrote:
>>>
>>> Try:
>>> net.inet.ip.fastforwarding = 0
>>> net.isr.bindthreads = 1
>>> net.isr.direct = 0
>>> net.isr.direct_force = 0
>>
>> If net.isr.direct is disabled, does setting net.isr.bindthreads do
>> anything ? Also, why disable the fastforwarding ?
>>
>> ---Mike
>>
>>
>>
>> --
>> -------------------
>> Mike Tancsa, tel +1 519 651 3400
>> Sentex Communications,
>> Providing Internet services since 1994 www.sentex.net
>> Cambridge, Ontario Canada http://www.tancsa.com/
>
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 15

25-06-2011 10:28 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 3:18 PM, Adrian Minta wrote:
> Oops i spoke too soon ...
> The system is stable without hyperthreading. With hyperthreading activated
> i't freezes again.
>
I also run with
devd_enable="NO"
in /etc/rc.conf
and
in /etc/syctl.conf
kern.random.sys.harvest.ethernet=0
Does it actually freeze or panic and crash ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Try:
net.inet.ip.fastforwarding = 0
net.isr.bindthreads = 1
net.isr.direct = 0
net.isr.direct_force = 0
--
Rozhuk Ivan
> -----Original Message-----
> From: owner-freebsd- [mailto:owner-freebsd-
> ] On Behalf Of Mike Tancsa
> Sent: Friday, June 24, 2011 4:56 AM
> To: Adrian Minta
> Cc: freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 3:18 PM, Adrian Minta wrote:
> > Oops i spoke too soon ...
> > The system is stable without hyperthreading. With hyperthreading
> activated
> > i't freezes again.
> >
>
> I also run with
>
> devd_enable="NO"
>
> in /etc/rc.conf
> and
> in /etc/syctl.conf
> kern.random.sys.harvest.ethernet=0
>
> Does it actually freeze or panic and crash ?
>
>
> ---Mike
>
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 4:17 PM, wrote:
>
> Try:
> net.inet.ip.fastforwarding = 0
> net.isr.bindthreads = 1
> net.isr.direct = 0
> net.isr.direct_force = 0
If net.isr.direct is disabled, does setting net.isr.bindthreads do
anything ? Also, why disable the fastforwarding ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
net.inet.ip.fastforwarding
- double check incoming packet, if: dst = this host / multicast / contain options
- all packets processing by one cpu core
This option is good for one cpu core routers.
--
Rozhuk Ivan
> -----Original Message-----
> From: Mike Tancsa [mailto:]
> Sent: Friday, June 24, 2011 5:40 AM
> To:
> Cc: 'Adrian Minta'; freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 4:17 PM, wrote:
> >
> > Try:
> > net.inet.ip.fastforwarding = 0
> > net.isr.bindthreads = 1
> > net.isr.direct = 0
> > net.isr.direct_force = 0
>
> If net.isr.direct is disabled, does setting net.isr.bindthreads do
> anything ? Also, why disable the fastforwarding ?
>
> ---Mike
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 5:47 PM, wrote:
>
> net.inet.ip.fastforwarding
> - double check incoming packet, if: dst = this host / multicast / contain options
> - all packets processing by one cpu core
>
> This option is good for one cpu core routers.
Thanks, I didnt know that. And the netisr option ? Have you found that
to be buggy ?
---Mike
>
>
> --
> Rozhuk Ivan
>
>
>
>> -----Original Message-----
>> From: Mike Tancsa [mailto:]
>> Sent: Friday, June 24, 2011 5:40 AM
>> To:
>> Cc: 'Adrian Minta'; freebsd-
>> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>>
>> On 6/23/2011 4:17 PM, wrote:
>>>
>>> Try:
>>> net.inet.ip.fastforwarding = 0
>>> net.isr.bindthreads = 1
>>> net.isr.direct = 0
>>> net.isr.direct_force = 0
>>
>> If net.isr.direct is disabled, does setting net.isr.bindthreads do
>> anything ? Also, why disable the fastforwarding ?
>>
>> ---Mike
>>
>>
>>
>> --
>> -------------------
>> Mike Tancsa, tel +1 519 651 3400
>> Sentex Communications,
>> Providing Internet services since 1994 www.sentex.net
>> Cambridge, Ontario Canada http://www.tancsa.com/
>
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
After recompilation with "*default release=cvs tag=RELENG_8" and pooling
disables the system still crashes around 4200 sessions. The server has a
xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
http://img232.imageshack.us/img232/6751/crashm.png
$uname -a
FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
2011 gygy@lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
/boot/loader.conf:
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
#I wave 4 cores
net.isr.bindthreads=4
net.isr.maxthreads=1
net.isr.defaultqlimit=4096
/etc/sysctl.conf:
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.ip.intr_queue_maxlen=8192
net.inet.icmp.icmplim=0
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
kern.random.sys.harvest.ethernet=0
net.isr.direct=1
net.isr.direct_force=0
Kernel GENERIC plus:
#options DEVICE_POLLING
options HZ=1000
options NETGRAPH
options NETGRAPH_PPPOE
options NETGRAPH_SOCKET
options NETGRAPH_CISCO
options NETGRAPH_ECHO
options NETGRAPH_FRAME_RELAY
options NETGRAPH_HOLE
options NETGRAPH_KSOCKET
options NETGRAPH_LMI
options NETGRAPH_RFC1490
options NETGRAPH_TTY
options NETGRAPH_ASYNC
options NETGRAPH_BPF
options NETGRAPH_ETHER
options NETGRAPH_IFACE
options NETGRAPH_L2TP
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_PPP
options NETGRAPH_PPTPGRE
options NETGRAPH_TEE
options NETGRAPH_UI
options NETGRAPH_VJC
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_PRIQ
# options ALTQ_NOPCC
device pf
device pflog
device pfsync
device gre
device tap
device hme
# Bridging
device if_bridge
device lagg
options IPSTEALTH
options ZERO_COPY_SOCKETS
options NETGRAPH_DEBUG
options GDB
options DDB
options KDB_UNATTENDED
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 16

26-06-2011 12:49 AM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 3:18 PM, Adrian Minta wrote:
> Oops i spoke too soon ...
> The system is stable without hyperthreading. With hyperthreading activated
> i't freezes again.
>
I also run with
devd_enable="NO"
in /etc/rc.conf
and
in /etc/syctl.conf
kern.random.sys.harvest.ethernet=0
Does it actually freeze or panic and crash ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Try:
net.inet.ip.fastforwarding = 0
net.isr.bindthreads = 1
net.isr.direct = 0
net.isr.direct_force = 0
--
Rozhuk Ivan
> -----Original Message-----
> From: owner-freebsd- [mailto:owner-freebsd-
> ] On Behalf Of Mike Tancsa
> Sent: Friday, June 24, 2011 4:56 AM
> To: Adrian Minta
> Cc: freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 3:18 PM, Adrian Minta wrote:
> > Oops i spoke too soon ...
> > The system is stable without hyperthreading. With hyperthreading
> activated
> > i't freezes again.
> >
>
> I also run with
>
> devd_enable="NO"
>
> in /etc/rc.conf
> and
> in /etc/syctl.conf
> kern.random.sys.harvest.ethernet=0
>
> Does it actually freeze or panic and crash ?
>
>
> ---Mike
>
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 4:17 PM, wrote:
>
> Try:
> net.inet.ip.fastforwarding = 0
> net.isr.bindthreads = 1
> net.isr.direct = 0
> net.isr.direct_force = 0
If net.isr.direct is disabled, does setting net.isr.bindthreads do
anything ? Also, why disable the fastforwarding ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
net.inet.ip.fastforwarding
- double check incoming packet, if: dst = this host / multicast / contain options
- all packets processing by one cpu core
This option is good for one cpu core routers.
--
Rozhuk Ivan
> -----Original Message-----
> From: Mike Tancsa [mailto:]
> Sent: Friday, June 24, 2011 5:40 AM
> To:
> Cc: 'Adrian Minta'; freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 4:17 PM, wrote:
> >
> > Try:
> > net.inet.ip.fastforwarding = 0
> > net.isr.bindthreads = 1
> > net.isr.direct = 0
> > net.isr.direct_force = 0
>
> If net.isr.direct is disabled, does setting net.isr.bindthreads do
> anything ? Also, why disable the fastforwarding ?
>
> ---Mike
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 5:47 PM, wrote:
>
> net.inet.ip.fastforwarding
> - double check incoming packet, if: dst = this host / multicast / contain options
> - all packets processing by one cpu core
>
> This option is good for one cpu core routers.
Thanks, I didnt know that. And the netisr option ? Have you found that
to be buggy ?
---Mike
>
>
> --
> Rozhuk Ivan
>
>
>
>> -----Original Message-----
>> From: Mike Tancsa [mailto:]
>> Sent: Friday, June 24, 2011 5:40 AM
>> To:
>> Cc: 'Adrian Minta'; freebsd-
>> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>>
>> On 6/23/2011 4:17 PM, wrote:
>>>
>>> Try:
>>> net.inet.ip.fastforwarding = 0
>>> net.isr.bindthreads = 1
>>> net.isr.direct = 0
>>> net.isr.direct_force = 0
>>
>> If net.isr.direct is disabled, does setting net.isr.bindthreads do
>> anything ? Also, why disable the fastforwarding ?
>>
>> ---Mike
>>
>>
>>
>> --
>> -------------------
>> Mike Tancsa, tel +1 519 651 3400
>> Sentex Communications,
>> Providing Internet services since 1994 www.sentex.net
>> Cambridge, Ontario Canada http://www.tancsa.com/
>
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
After recompilation with "*default release=cvs tag=RELENG_8" and pooling
disables the system still crashes around 4200 sessions. The server has a
xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
http://img232.imageshack.us/img232/6751/crashm.png
$uname -a
FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
2011 gygy@lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
/boot/loader.conf:
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
#I wave 4 cores
net.isr.bindthreads=4
net.isr.maxthreads=1
net.isr.defaultqlimit=4096
/etc/sysctl.conf:
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.ip.intr_queue_maxlen=8192
net.inet.icmp.icmplim=0
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
kern.random.sys.harvest.ethernet=0
net.isr.direct=1
net.isr.direct_force=0
Kernel GENERIC plus:
#options DEVICE_POLLING
options HZ=1000
options NETGRAPH
options NETGRAPH_PPPOE
options NETGRAPH_SOCKET
options NETGRAPH_CISCO
options NETGRAPH_ECHO
options NETGRAPH_FRAME_RELAY
options NETGRAPH_HOLE
options NETGRAPH_KSOCKET
options NETGRAPH_LMI
options NETGRAPH_RFC1490
options NETGRAPH_TTY
options NETGRAPH_ASYNC
options NETGRAPH_BPF
options NETGRAPH_ETHER
options NETGRAPH_IFACE
options NETGRAPH_L2TP
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_PPP
options NETGRAPH_PPTPGRE
options NETGRAPH_TEE
options NETGRAPH_UI
options NETGRAPH_VJC
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_PRIQ
# options ALTQ_NOPCC
device pf
device pflog
device pfsync
device gre
device tap
device hme
# Bridging
device if_bridge
device lagg
options IPSTEALTH
options ZERO_COPY_SOCKETS
options NETGRAPH_DEBUG
options GDB
options DDB
options KDB_UNATTENDED
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Sat, Jun 25, 2011 at 11:28 PM, Adrian Minta <> wrote:
> After recompilation with "*default release=cvs tag=RELENG_8" and pooling
> disables the system still crashes around 4200 sessions. The server has a
> xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
> http://img232.imageshack.us/img232/6751/crashm.png
>
> $uname -a
> FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
> 2011 gygy@lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
>
> /boot/loader.conf:
>
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
> #I wave 4 cores
> net.isr.bindthreads=4
> net.isr.maxthreads=1
> net.isr.defaultqlimit=4096
>
> /etc/sysctl.conf:
>
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.ip.intr_queue_maxlen=8192
> net.inet.icmp.icmplim=0
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
> kern.random.sys.harvest.ethernet=0
> net.isr.direct=1
> net.isr.direct_force=0
>
>
> Kernel GENERIC plus:
>
> #options DEVICE_POLLING
> options HZ=1000
> options NETGRAPH
> options NETGRAPH_PPPOE
> options NETGRAPH_SOCKET
> options NETGRAPH_CISCO
> options NETGRAPH_ECHO
> options NETGRAPH_FRAME_RELAY
> options NETGRAPH_HOLE
> options NETGRAPH_KSOCKET
> options NETGRAPH_LMI
> options NETGRAPH_RFC1490
> options NETGRAPH_TTY
> options NETGRAPH_ASYNC
> options NETGRAPH_BPF
> options NETGRAPH_ETHER
> options NETGRAPH_IFACE
> options NETGRAPH_L2TP
> options NETGRAPH_MPPC_ENCRYPTION
> options NETGRAPH_PPP
> options NETGRAPH_PPTPGRE
> options NETGRAPH_TEE
> options NETGRAPH_UI
> options NETGRAPH_VJC
>
> options ALTQ
> options ALTQ_CBQ
> options ALTQ_RED
> options ALTQ_RIO
> options ALTQ_HFSC
> options ALTQ_PRIQ
> # options ALTQ_NOPCC
>
> device pf
> device pflog
> device pfsync
> device gre
>
> device tap
> device hme
>
> # Bridging
> device if_bridge
> device lagg
>
> options IPSTEALTH
> options ZERO_COPY_SOCKETS
>
> options NETGRAPH_DEBUG
> options GDB
> options DDB
> options KDB_UNATTENDED
>
>
>
Hi Adrian,
You will need to set dumpdev to something (e.g. "AUTO") in /etc/rc.conf (it
defaults to NO) so that your kernel coredump is saved to your swap partition
before rebooting. Also, you might want to remove ZERO_COPY_SOCKETS.
--
Good, fast & cheap. Pick any two.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 17

26-06-2011 01:17 AM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 3:18 PM, Adrian Minta wrote:
> Oops i spoke too soon ...
> The system is stable without hyperthreading. With hyperthreading activated
> i't freezes again.
>
I also run with
devd_enable="NO"
in /etc/rc.conf
and
in /etc/syctl.conf
kern.random.sys.harvest.ethernet=0
Does it actually freeze or panic and crash ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Try:
net.inet.ip.fastforwarding = 0
net.isr.bindthreads = 1
net.isr.direct = 0
net.isr.direct_force = 0
--
Rozhuk Ivan
> -----Original Message-----
> From: owner-freebsd- [mailto:owner-freebsd-
> ] On Behalf Of Mike Tancsa
> Sent: Friday, June 24, 2011 4:56 AM
> To: Adrian Minta
> Cc: freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 3:18 PM, Adrian Minta wrote:
> > Oops i spoke too soon ...
> > The system is stable without hyperthreading. With hyperthreading
> activated
> > i't freezes again.
> >
>
> I also run with
>
> devd_enable="NO"
>
> in /etc/rc.conf
> and
> in /etc/syctl.conf
> kern.random.sys.harvest.ethernet=0
>
> Does it actually freeze or panic and crash ?
>
>
> ---Mike
>
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 4:17 PM, wrote:
>
> Try:
> net.inet.ip.fastforwarding = 0
> net.isr.bindthreads = 1
> net.isr.direct = 0
> net.isr.direct_force = 0
If net.isr.direct is disabled, does setting net.isr.bindthreads do
anything ? Also, why disable the fastforwarding ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
net.inet.ip.fastforwarding
- double check incoming packet, if: dst = this host / multicast / contain options
- all packets processing by one cpu core
This option is good for one cpu core routers.
--
Rozhuk Ivan
> -----Original Message-----
> From: Mike Tancsa [mailto:]
> Sent: Friday, June 24, 2011 5:40 AM
> To:
> Cc: 'Adrian Minta'; freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 4:17 PM, wrote:
> >
> > Try:
> > net.inet.ip.fastforwarding = 0
> > net.isr.bindthreads = 1
> > net.isr.direct = 0
> > net.isr.direct_force = 0
>
> If net.isr.direct is disabled, does setting net.isr.bindthreads do
> anything ? Also, why disable the fastforwarding ?
>
> ---Mike
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 5:47 PM, wrote:
>
> net.inet.ip.fastforwarding
> - double check incoming packet, if: dst = this host / multicast / contain options
> - all packets processing by one cpu core
>
> This option is good for one cpu core routers.
Thanks, I didnt know that. And the netisr option ? Have you found that
to be buggy ?
---Mike
>
>
> --
> Rozhuk Ivan
>
>
>
>> -----Original Message-----
>> From: Mike Tancsa [mailto:]
>> Sent: Friday, June 24, 2011 5:40 AM
>> To:
>> Cc: 'Adrian Minta'; freebsd-
>> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>>
>> On 6/23/2011 4:17 PM, wrote:
>>>
>>> Try:
>>> net.inet.ip.fastforwarding = 0
>>> net.isr.bindthreads = 1
>>> net.isr.direct = 0
>>> net.isr.direct_force = 0
>>
>> If net.isr.direct is disabled, does setting net.isr.bindthreads do
>> anything ? Also, why disable the fastforwarding ?
>>
>> ---Mike
>>
>>
>>
>> --
>> -------------------
>> Mike Tancsa, tel +1 519 651 3400
>> Sentex Communications,
>> Providing Internet services since 1994 www.sentex.net
>> Cambridge, Ontario Canada http://www.tancsa.com/
>
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
After recompilation with "*default release=cvs tag=RELENG_8" and pooling
disables the system still crashes around 4200 sessions. The server has a
xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
http://img232.imageshack.us/img232/6751/crashm.png
$uname -a
FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
2011 gygy@lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
/boot/loader.conf:
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
#I wave 4 cores
net.isr.bindthreads=4
net.isr.maxthreads=1
net.isr.defaultqlimit=4096
/etc/sysctl.conf:
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.ip.intr_queue_maxlen=8192
net.inet.icmp.icmplim=0
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
kern.random.sys.harvest.ethernet=0
net.isr.direct=1
net.isr.direct_force=0
Kernel GENERIC plus:
#options DEVICE_POLLING
options HZ=1000
options NETGRAPH
options NETGRAPH_PPPOE
options NETGRAPH_SOCKET
options NETGRAPH_CISCO
options NETGRAPH_ECHO
options NETGRAPH_FRAME_RELAY
options NETGRAPH_HOLE
options NETGRAPH_KSOCKET
options NETGRAPH_LMI
options NETGRAPH_RFC1490
options NETGRAPH_TTY
options NETGRAPH_ASYNC
options NETGRAPH_BPF
options NETGRAPH_ETHER
options NETGRAPH_IFACE
options NETGRAPH_L2TP
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_PPP
options NETGRAPH_PPTPGRE
options NETGRAPH_TEE
options NETGRAPH_UI
options NETGRAPH_VJC
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_PRIQ
# options ALTQ_NOPCC
device pf
device pflog
device pfsync
device gre
device tap
device hme
# Bridging
device if_bridge
device lagg
options IPSTEALTH
options ZERO_COPY_SOCKETS
options NETGRAPH_DEBUG
options GDB
options DDB
options KDB_UNATTENDED
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Sat, Jun 25, 2011 at 11:28 PM, Adrian Minta <> wrote:
> After recompilation with "*default release=cvs tag=RELENG_8" and pooling
> disables the system still crashes around 4200 sessions. The server has a
> xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
> http://img232.imageshack.us/img232/6751/crashm.png
>
> $uname -a
> FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
> 2011 gygy@lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
>
> /boot/loader.conf:
>
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
> #I wave 4 cores
> net.isr.bindthreads=4
> net.isr.maxthreads=1
> net.isr.defaultqlimit=4096
>
> /etc/sysctl.conf:
>
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.ip.intr_queue_maxlen=8192
> net.inet.icmp.icmplim=0
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
> kern.random.sys.harvest.ethernet=0
> net.isr.direct=1
> net.isr.direct_force=0
>
>
> Kernel GENERIC plus:
>
> #options DEVICE_POLLING
> options HZ=1000
> options NETGRAPH
> options NETGRAPH_PPPOE
> options NETGRAPH_SOCKET
> options NETGRAPH_CISCO
> options NETGRAPH_ECHO
> options NETGRAPH_FRAME_RELAY
> options NETGRAPH_HOLE
> options NETGRAPH_KSOCKET
> options NETGRAPH_LMI
> options NETGRAPH_RFC1490
> options NETGRAPH_TTY
> options NETGRAPH_ASYNC
> options NETGRAPH_BPF
> options NETGRAPH_ETHER
> options NETGRAPH_IFACE
> options NETGRAPH_L2TP
> options NETGRAPH_MPPC_ENCRYPTION
> options NETGRAPH_PPP
> options NETGRAPH_PPTPGRE
> options NETGRAPH_TEE
> options NETGRAPH_UI
> options NETGRAPH_VJC
>
> options ALTQ
> options ALTQ_CBQ
> options ALTQ_RED
> options ALTQ_RIO
> options ALTQ_HFSC
> options ALTQ_PRIQ
> # options ALTQ_NOPCC
>
> device pf
> device pflog
> device pfsync
> device gre
>
> device tap
> device hme
>
> # Bridging
> device if_bridge
> device lagg
>
> options IPSTEALTH
> options ZERO_COPY_SOCKETS
>
> options NETGRAPH_DEBUG
> options GDB
> options DDB
> options KDB_UNATTENDED
>
>
>
Hi Adrian,
You will need to set dumpdev to something (e.g. "AUTO") in /etc/rc.conf (it
defaults to NO) so that your kernel coredump is saved to your swap partition
before rebooting. Also, you might want to remove ZERO_COPY_SOCKETS.
--
Good, fast & cheap. Pick any two.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/25/2011 5:28 PM, Adrian Minta wrote:
>
> options ALTQ
> options ALTQ_CBQ
> options ALTQ_RED
> options ALTQ_RIO
> options ALTQ_HFSC
> options ALTQ_PRIQ
> # options ALTQ_NOPCC
>
> device pf
> device pflog
> device pfsync
pf and altq add quite a bit of networking overhead. If you are not using
them, I would get rid of them.
> device hme
You really have this nic ?
> options ZERO_COPY_SOCKETS
Not sure how stable this option is.
Enable crash dumps
crashinfo_enable="YES" # Automatically generate crash dump summary.
dumpdev="AUTO"
dumpdir="/var/crash" # Directory where crash dumps are to be stored
This will create a .txt file in /var/crash that will have all the info
about the issue
---Mike
>
>
>
>
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 18

27-06-2011 09:50 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 3:18 PM, Adrian Minta wrote:
> Oops i spoke too soon ...
> The system is stable without hyperthreading. With hyperthreading activated
> i't freezes again.
>
I also run with
devd_enable="NO"
in /etc/rc.conf
and
in /etc/syctl.conf
kern.random.sys.harvest.ethernet=0
Does it actually freeze or panic and crash ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Try:
net.inet.ip.fastforwarding = 0
net.isr.bindthreads = 1
net.isr.direct = 0
net.isr.direct_force = 0
--
Rozhuk Ivan
> -----Original Message-----
> From: owner-freebsd- [mailto:owner-freebsd-
> ] On Behalf Of Mike Tancsa
> Sent: Friday, June 24, 2011 4:56 AM
> To: Adrian Minta
> Cc: freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 3:18 PM, Adrian Minta wrote:
> > Oops i spoke too soon ...
> > The system is stable without hyperthreading. With hyperthreading
> activated
> > i't freezes again.
> >
>
> I also run with
>
> devd_enable="NO"
>
> in /etc/rc.conf
> and
> in /etc/syctl.conf
> kern.random.sys.harvest.ethernet=0
>
> Does it actually freeze or panic and crash ?
>
>
> ---Mike
>
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 4:17 PM, wrote:
>
> Try:
> net.inet.ip.fastforwarding = 0
> net.isr.bindthreads = 1
> net.isr.direct = 0
> net.isr.direct_force = 0
If net.isr.direct is disabled, does setting net.isr.bindthreads do
anything ? Also, why disable the fastforwarding ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
net.inet.ip.fastforwarding
- double check incoming packet, if: dst = this host / multicast / contain options
- all packets processing by one cpu core
This option is good for one cpu core routers.
--
Rozhuk Ivan
> -----Original Message-----
> From: Mike Tancsa [mailto:]
> Sent: Friday, June 24, 2011 5:40 AM
> To:
> Cc: 'Adrian Minta'; freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 4:17 PM, wrote:
> >
> > Try:
> > net.inet.ip.fastforwarding = 0
> > net.isr.bindthreads = 1
> > net.isr.direct = 0
> > net.isr.direct_force = 0
>
> If net.isr.direct is disabled, does setting net.isr.bindthreads do
> anything ? Also, why disable the fastforwarding ?
>
> ---Mike
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 5:47 PM, wrote:
>
> net.inet.ip.fastforwarding
> - double check incoming packet, if: dst = this host / multicast / contain options
> - all packets processing by one cpu core
>
> This option is good for one cpu core routers.
Thanks, I didnt know that. And the netisr option ? Have you found that
to be buggy ?
---Mike
>
>
> --
> Rozhuk Ivan
>
>
>
>> -----Original Message-----
>> From: Mike Tancsa [mailto:]
>> Sent: Friday, June 24, 2011 5:40 AM
>> To:
>> Cc: 'Adrian Minta'; freebsd-
>> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>>
>> On 6/23/2011 4:17 PM, wrote:
>>>
>>> Try:
>>> net.inet.ip.fastforwarding = 0
>>> net.isr.bindthreads = 1
>>> net.isr.direct = 0
>>> net.isr.direct_force = 0
>>
>> If net.isr.direct is disabled, does setting net.isr.bindthreads do
>> anything ? Also, why disable the fastforwarding ?
>>
>> ---Mike
>>
>>
>>
>> --
>> -------------------
>> Mike Tancsa, tel +1 519 651 3400
>> Sentex Communications,
>> Providing Internet services since 1994 www.sentex.net
>> Cambridge, Ontario Canada http://www.tancsa.com/
>
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
After recompilation with "*default release=cvs tag=RELENG_8" and pooling
disables the system still crashes around 4200 sessions. The server has a
xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
http://img232.imageshack.us/img232/6751/crashm.png
$uname -a
FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
2011 gygy@lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
/boot/loader.conf:
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
#I wave 4 cores
net.isr.bindthreads=4
net.isr.maxthreads=1
net.isr.defaultqlimit=4096
/etc/sysctl.conf:
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.ip.intr_queue_maxlen=8192
net.inet.icmp.icmplim=0
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
kern.random.sys.harvest.ethernet=0
net.isr.direct=1
net.isr.direct_force=0
Kernel GENERIC plus:
#options DEVICE_POLLING
options HZ=1000
options NETGRAPH
options NETGRAPH_PPPOE
options NETGRAPH_SOCKET
options NETGRAPH_CISCO
options NETGRAPH_ECHO
options NETGRAPH_FRAME_RELAY
options NETGRAPH_HOLE
options NETGRAPH_KSOCKET
options NETGRAPH_LMI
options NETGRAPH_RFC1490
options NETGRAPH_TTY
options NETGRAPH_ASYNC
options NETGRAPH_BPF
options NETGRAPH_ETHER
options NETGRAPH_IFACE
options NETGRAPH_L2TP
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_PPP
options NETGRAPH_PPTPGRE
options NETGRAPH_TEE
options NETGRAPH_UI
options NETGRAPH_VJC
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_PRIQ
# options ALTQ_NOPCC
device pf
device pflog
device pfsync
device gre
device tap
device hme
# Bridging
device if_bridge
device lagg
options IPSTEALTH
options ZERO_COPY_SOCKETS
options NETGRAPH_DEBUG
options GDB
options DDB
options KDB_UNATTENDED
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Sat, Jun 25, 2011 at 11:28 PM, Adrian Minta <> wrote:
> After recompilation with "*default release=cvs tag=RELENG_8" and pooling
> disables the system still crashes around 4200 sessions. The server has a
> xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
> http://img232.imageshack.us/img232/6751/crashm.png
>
> $uname -a
> FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
> 2011 gygy@lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
>
> /boot/loader.conf:
>
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
> #I wave 4 cores
> net.isr.bindthreads=4
> net.isr.maxthreads=1
> net.isr.defaultqlimit=4096
>
> /etc/sysctl.conf:
>
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.ip.intr_queue_maxlen=8192
> net.inet.icmp.icmplim=0
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
> kern.random.sys.harvest.ethernet=0
> net.isr.direct=1
> net.isr.direct_force=0
>
>
> Kernel GENERIC plus:
>
> #options DEVICE_POLLING
> options HZ=1000
> options NETGRAPH
> options NETGRAPH_PPPOE
> options NETGRAPH_SOCKET
> options NETGRAPH_CISCO
> options NETGRAPH_ECHO
> options NETGRAPH_FRAME_RELAY
> options NETGRAPH_HOLE
> options NETGRAPH_KSOCKET
> options NETGRAPH_LMI
> options NETGRAPH_RFC1490
> options NETGRAPH_TTY
> options NETGRAPH_ASYNC
> options NETGRAPH_BPF
> options NETGRAPH_ETHER
> options NETGRAPH_IFACE
> options NETGRAPH_L2TP
> options NETGRAPH_MPPC_ENCRYPTION
> options NETGRAPH_PPP
> options NETGRAPH_PPTPGRE
> options NETGRAPH_TEE
> options NETGRAPH_UI
> options NETGRAPH_VJC
>
> options ALTQ
> options ALTQ_CBQ
> options ALTQ_RED
> options ALTQ_RIO
> options ALTQ_HFSC
> options ALTQ_PRIQ
> # options ALTQ_NOPCC
>
> device pf
> device pflog
> device pfsync
> device gre
>
> device tap
> device hme
>
> # Bridging
> device if_bridge
> device lagg
>
> options IPSTEALTH
> options ZERO_COPY_SOCKETS
>
> options NETGRAPH_DEBUG
> options GDB
> options DDB
> options KDB_UNATTENDED
>
>
>
Hi Adrian,
You will need to set dumpdev to something (e.g. "AUTO") in /etc/rc.conf (it
defaults to NO) so that your kernel coredump is saved to your swap partition
before rebooting. Also, you might want to remove ZERO_COPY_SOCKETS.
--
Good, fast & cheap. Pick any two.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/25/2011 5:28 PM, Adrian Minta wrote:
>
> options ALTQ
> options ALTQ_CBQ
> options ALTQ_RED
> options ALTQ_RIO
> options ALTQ_HFSC
> options ALTQ_PRIQ
> # options ALTQ_NOPCC
>
> device pf
> device pflog
> device pfsync
pf and altq add quite a bit of networking overhead. If you are not using
them, I would get rid of them.
> device hme
You really have this nic ?
> options ZERO_COPY_SOCKETS
Not sure how stable this option is.
Enable crash dumps
crashinfo_enable="YES" # Automatically generate crash dump summary.
dumpdev="AUTO"
dumpdir="/var/crash" # Directory where crash dumps are to be stored
This will create a .txt file in /var/crash that will have all the info
about the issue
---Mike
>
>
>
>
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Thanks to Vlad Galu I was able to acquire a full crashinfo and kernel dump
after a system freeze. I put all the files at:
http://pluto.stsisp.ro/fbsd/
I hope this will help somebody in finding the race condition.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 19

28-06-2011 07:44 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 3:18 PM, Adrian Minta wrote:
> Oops i spoke too soon ...
> The system is stable without hyperthreading. With hyperthreading activated
> i't freezes again.
>
I also run with
devd_enable="NO"
in /etc/rc.conf
and
in /etc/syctl.conf
kern.random.sys.harvest.ethernet=0
Does it actually freeze or panic and crash ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Try:
net.inet.ip.fastforwarding = 0
net.isr.bindthreads = 1
net.isr.direct = 0
net.isr.direct_force = 0
--
Rozhuk Ivan
> -----Original Message-----
> From: owner-freebsd- [mailto:owner-freebsd-
> ] On Behalf Of Mike Tancsa
> Sent: Friday, June 24, 2011 4:56 AM
> To: Adrian Minta
> Cc: freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 3:18 PM, Adrian Minta wrote:
> > Oops i spoke too soon ...
> > The system is stable without hyperthreading. With hyperthreading
> activated
> > i't freezes again.
> >
>
> I also run with
>
> devd_enable="NO"
>
> in /etc/rc.conf
> and
> in /etc/syctl.conf
> kern.random.sys.harvest.ethernet=0
>
> Does it actually freeze or panic and crash ?
>
>
> ---Mike
>
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 4:17 PM, wrote:
>
> Try:
> net.inet.ip.fastforwarding = 0
> net.isr.bindthreads = 1
> net.isr.direct = 0
> net.isr.direct_force = 0
If net.isr.direct is disabled, does setting net.isr.bindthreads do
anything ? Also, why disable the fastforwarding ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
net.inet.ip.fastforwarding
- double check incoming packet, if: dst = this host / multicast / contain options
- all packets processing by one cpu core
This option is good for one cpu core routers.
--
Rozhuk Ivan
> -----Original Message-----
> From: Mike Tancsa [mailto:]
> Sent: Friday, June 24, 2011 5:40 AM
> To:
> Cc: 'Adrian Minta'; freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 4:17 PM, wrote:
> >
> > Try:
> > net.inet.ip.fastforwarding = 0
> > net.isr.bindthreads = 1
> > net.isr.direct = 0
> > net.isr.direct_force = 0
>
> If net.isr.direct is disabled, does setting net.isr.bindthreads do
> anything ? Also, why disable the fastforwarding ?
>
> ---Mike
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 5:47 PM, wrote:
>
> net.inet.ip.fastforwarding
> - double check incoming packet, if: dst = this host / multicast / contain options
> - all packets processing by one cpu core
>
> This option is good for one cpu core routers.
Thanks, I didnt know that. And the netisr option ? Have you found that
to be buggy ?
---Mike
>
>
> --
> Rozhuk Ivan
>
>
>
>> -----Original Message-----
>> From: Mike Tancsa [mailto:]
>> Sent: Friday, June 24, 2011 5:40 AM
>> To:
>> Cc: 'Adrian Minta'; freebsd-
>> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>>
>> On 6/23/2011 4:17 PM, wrote:
>>>
>>> Try:
>>> net.inet.ip.fastforwarding = 0
>>> net.isr.bindthreads = 1
>>> net.isr.direct = 0
>>> net.isr.direct_force = 0
>>
>> If net.isr.direct is disabled, does setting net.isr.bindthreads do
>> anything ? Also, why disable the fastforwarding ?
>>
>> ---Mike
>>
>>
>>
>> --
>> -------------------
>> Mike Tancsa, tel +1 519 651 3400
>> Sentex Communications,
>> Providing Internet services since 1994 www.sentex.net
>> Cambridge, Ontario Canada http://www.tancsa.com/
>
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
After recompilation with "*default release=cvs tag=RELENG_8" and pooling
disables the system still crashes around 4200 sessions. The server has a
xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
http://img232.imageshack.us/img232/6751/crashm.png
$uname -a
FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
2011 gygy@lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
/boot/loader.conf:
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
#I wave 4 cores
net.isr.bindthreads=4
net.isr.maxthreads=1
net.isr.defaultqlimit=4096
/etc/sysctl.conf:
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.ip.intr_queue_maxlen=8192
net.inet.icmp.icmplim=0
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
kern.random.sys.harvest.ethernet=0
net.isr.direct=1
net.isr.direct_force=0
Kernel GENERIC plus:
#options DEVICE_POLLING
options HZ=1000
options NETGRAPH
options NETGRAPH_PPPOE
options NETGRAPH_SOCKET
options NETGRAPH_CISCO
options NETGRAPH_ECHO
options NETGRAPH_FRAME_RELAY
options NETGRAPH_HOLE
options NETGRAPH_KSOCKET
options NETGRAPH_LMI
options NETGRAPH_RFC1490
options NETGRAPH_TTY
options NETGRAPH_ASYNC
options NETGRAPH_BPF
options NETGRAPH_ETHER
options NETGRAPH_IFACE
options NETGRAPH_L2TP
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_PPP
options NETGRAPH_PPTPGRE
options NETGRAPH_TEE
options NETGRAPH_UI
options NETGRAPH_VJC
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_PRIQ
# options ALTQ_NOPCC
device pf
device pflog
device pfsync
device gre
device tap
device hme
# Bridging
device if_bridge
device lagg
options IPSTEALTH
options ZERO_COPY_SOCKETS
options NETGRAPH_DEBUG
options GDB
options DDB
options KDB_UNATTENDED
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Sat, Jun 25, 2011 at 11:28 PM, Adrian Minta <> wrote:
> After recompilation with "*default release=cvs tag=RELENG_8" and pooling
> disables the system still crashes around 4200 sessions. The server has a
> xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
> http://img232.imageshack.us/img232/6751/crashm.png
>
> $uname -a
> FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
> 2011 gygy@lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
>
> /boot/loader.conf:
>
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
> #I wave 4 cores
> net.isr.bindthreads=4
> net.isr.maxthreads=1
> net.isr.defaultqlimit=4096
>
> /etc/sysctl.conf:
>
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.ip.intr_queue_maxlen=8192
> net.inet.icmp.icmplim=0
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
> kern.random.sys.harvest.ethernet=0
> net.isr.direct=1
> net.isr.direct_force=0
>
>
> Kernel GENERIC plus:
>
> #options DEVICE_POLLING
> options HZ=1000
> options NETGRAPH
> options NETGRAPH_PPPOE
> options NETGRAPH_SOCKET
> options NETGRAPH_CISCO
> options NETGRAPH_ECHO
> options NETGRAPH_FRAME_RELAY
> options NETGRAPH_HOLE
> options NETGRAPH_KSOCKET
> options NETGRAPH_LMI
> options NETGRAPH_RFC1490
> options NETGRAPH_TTY
> options NETGRAPH_ASYNC
> options NETGRAPH_BPF
> options NETGRAPH_ETHER
> options NETGRAPH_IFACE
> options NETGRAPH_L2TP
> options NETGRAPH_MPPC_ENCRYPTION
> options NETGRAPH_PPP
> options NETGRAPH_PPTPGRE
> options NETGRAPH_TEE
> options NETGRAPH_UI
> options NETGRAPH_VJC
>
> options ALTQ
> options ALTQ_CBQ
> options ALTQ_RED
> options ALTQ_RIO
> options ALTQ_HFSC
> options ALTQ_PRIQ
> # options ALTQ_NOPCC
>
> device pf
> device pflog
> device pfsync
> device gre
>
> device tap
> device hme
>
> # Bridging
> device if_bridge
> device lagg
>
> options IPSTEALTH
> options ZERO_COPY_SOCKETS
>
> options NETGRAPH_DEBUG
> options GDB
> options DDB
> options KDB_UNATTENDED
>
>
>
Hi Adrian,
You will need to set dumpdev to something (e.g. "AUTO") in /etc/rc.conf (it
defaults to NO) so that your kernel coredump is saved to your swap partition
before rebooting. Also, you might want to remove ZERO_COPY_SOCKETS.
--
Good, fast & cheap. Pick any two.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/25/2011 5:28 PM, Adrian Minta wrote:
>
> options ALTQ
> options ALTQ_CBQ
> options ALTQ_RED
> options ALTQ_RIO
> options ALTQ_HFSC
> options ALTQ_PRIQ
> # options ALTQ_NOPCC
>
> device pf
> device pflog
> device pfsync
pf and altq add quite a bit of networking overhead. If you are not using
them, I would get rid of them.
> device hme
You really have this nic ?
> options ZERO_COPY_SOCKETS
Not sure how stable this option is.
Enable crash dumps
crashinfo_enable="YES" # Automatically generate crash dump summary.
dumpdev="AUTO"
dumpdir="/var/crash" # Directory where crash dumps are to be stored
This will create a .txt file in /var/crash that will have all the info
about the issue
---Mike
>
>
>
>
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Thanks to Vlad Galu I was able to acquire a full crashinfo and kernel dump
after a system freeze. I put all the files at:
http://pluto.stsisp.ro/fbsd/
I hope this will help somebody in finding the race condition.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/27/2011 4:50 PM, Adrian Minta wrote:
> Thanks to Vlad Galu I was able to acquire a full crashinfo and kernel dump
> after a system freeze. I put all the files at:
> http://pluto.stsisp.ro/fbsd/
>
> I hope this will help somebody in finding the race condition.
Dont know about the race, but one thing I would get rid of in your
kernel config is the FLOWTABLE option as it has a few bugs still
Also get rid of
device gre
device tap
# Bridging
device if_bridge
device lagg
if you are not using them
Are you loading any klds ? Why the linux.ko and linprocfs.ko ? If you
dont use it, get rid of it.
I would also not run snmpd and disable devd as they will do a lot of
work traversing all those interfaces.
Also, how come your nics all show no carrier in the crash dump ?
---Mike
>
>
>
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
# 20

28-06-2011 08:38 PM
|
|
|
Hello,
I am testing a RAS solution and I experience some crashes when the L2TP
tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
enabled the limit is around 1700 (half). Does anyone has a sugesstion
what I should try next ?
total traffic: ~ 100mbps
load averages: ~1.8
Kernel: FreeBSD 8.2-RELEASE
MPD5: mpd-5.5
/boot/loader.conf
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
/etc/sysctl.conf
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.icmp.icmplim=0
net.inet.ip.fastforwarding=1
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
--
Best regards,
Adrian Minta MA3173-RIPE
tel. +4.0212.022.660 +4.0726.110.369
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 8:55 AM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP
> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
> enabled the limit is around 1700 (half). Does anyone has a sugesstion
> what I should try next ?
There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
start. How much RAM do you have ? i386 or AMD64 ?
---Mike
>
> total traffic: ~ 100mbps
> load averages: ~1.8
>
>
> Kernel: FreeBSD 8.2-RELEASE
> MPD5: mpd-5.5
>
> /boot/loader.conf
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
>
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.icmp.icmplim=0
> net.inet.ip.fastforwarding=1
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote:
> Hello,
> I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500.
I guess you mean sessions, not tunnels.
> The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ?
backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8).
/bz
--
Bjoern A. Zeeb You have to have visions!
Stop bit received. Insert coin for new address family.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 8:55 AM, Adrian Minta wrote:
>> Hello,
>> I am testing a RAS solution and I experience some crashes when the L2TP
>> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6
>> enabled the limit is around 1700 (half). Does anyone has a sugesstion
>> what I should try next ?
>
> There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a
> start. How much RAM do you have ? i386 or AMD64 ?
>
> ---Mike
>>
>> total traffic: ~ 100mbps
>> load averages: ~1.8
>>
>>
>> Kernel: FreeBSD 8.2-RELEASE
>> MPD5: mpd-5.5
>>
>> /boot/loader.conf
>> net.graph.maxdata=65536
>> net.graph.maxalloc=65536
>> kern.ipc.maxpipekva=320000000
>>
>> /etc/sysctl.conf
>> net.inet.ip.forwarding=1
>> kern.maxfiles=65535
>> net.inet.icmp.icmplim=0
>> net.inet.ip.fastforwarding=1
>> kern.ipc.nmbclusters=1280000
>> kern.ipc.maxsockbuf=128000000
>> net.graph.maxdgram=10240000
>> net.graph.recvspace=10240000
>>
>
Sorry if I miss something, but just started using freebsd, I use mostly
linux.
The server use AMD64 flavor and have 4G of RAM.
RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 11:56 AM, Adrian Minta wrote:
>
> Sorry if I miss something, but just started using freebsd, I use mostly
> linux.
> The server use AMD64 flavor and have 4G of RAM.
> RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ?
>
Hi,
RELENG_8 is the present state of what is in the tree and will
eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI
changes to the branch. But you can generally think of it being "stable"
as well in that the goal is to have less bugs then previous versions.
Have a read through
http://www.freebsd.org/doc/handbook/updating-upgrading.html
Then the broad steps to upgrade your source,
cp /usr/share/examples/cvsup/stable-supfile /tmp
edit the file in tmp and make sure
the line reads as follows for the release
*default release=cvs tag=RELENG_8
csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
This will pull down all the source for the RELENG_8, the most uptodate
source tree and put it in /usr/src from the cvsup mirror
cvsup10.freebsd.org. Where you see references to cvsup (the client app)
use instead csup which will do everything you need.
then
cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
If all goes well, you will see in b.out at the end
--------------------------------------------------------------
>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
--------------------------------------------------------------
and
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
--------------------------------------------------------------
Then follow the steps to install the kernel and world
http://www.freebsd.org/doc/handbook/makeworld.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> *default release=cvs tag=RELENG_8
>
>
> csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile
>
> This will pull down all the source for the RELENG_8, the most uptodate
> source tree and put it in /usr/src from the cvsup mirror
> cvsup10.freebsd.org. Where you see references to cvsup (the client app)
> use instead csup which will do everything you need.
>
> then
> cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k
>
> If all goes well, you will see in b.out at the end
>
> --------------------------------------------------------------
>>>> World build completed on Wed Jun 22 07:10:37 EDT 2011
> --------------------------------------------------------------
>
> and
>
> --------------------------------------------------------------
>>>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011
> --------------------------------------------------------------
>
> Then follow the steps to install the kernel and world
>
> http://www.freebsd.org/doc/handbook/makeworld.html
>
>
> ---Mike
>
Thank you !
My server is stable now with 3572 sessions.
The issue now seems to be the rate of new connections/sec. When a new "ng"
device is created some scripts are run (like /etc/pccard_ether ). The
scripts drive the CPU to 100% and sometimes new connections fail to
establish.
I guess I have to find a bigger CPU now :)
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 1:37 PM, Adrian Minta wrote:
>> *default release=cvs tag=RELENG_8
>> Then follow the steps to install the kernel and world
>>
>> http://www.freebsd.org/doc/handbook/makeworld.html
>
> Thank you !
> My server is stable now with 3572 sessions.
> The issue now seems to be the rate of new connections/sec. When a new "ng"
> device is created some scripts are run (like /etc/pccard_ether ). The
> scripts drive the CPU to 100% and sometimes new connections fail to
> establish.
>
> I guess I have to find a bigger CPU now :)
Thats great to hear! Is that with ivp6 enabled or disabled ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
> On 6/23/2011 1:37 PM, Adrian Minta wrote:
>>> *default release=cvs tag=RELENG_8
>>> Then follow the steps to install the kernel and world
>>>
>>> http://www.freebsd.org/doc/handbook/makeworld.html
>>
>> Thank you !
>> My server is stable now with 3572 sessions.
>> The issue now seems to be the rate of new connections/sec. When a new
>> "ng"
>> device is created some scripts are run (like /etc/pccard_ether ). The
>> scripts drive the CPU to 100% and sometimes new connections fail to
>> establish.
>>
>> I guess I have to find a bigger CPU now :)
>
>
> Thats great to hear! Is that with ivp6 enabled or disabled ?
>
> ---Mike
>
I left him disabled because I don't need it anyway.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Oops i spoke too soon ...
The system is stable without hyperthreading. With hyperthreading activated
i't freezes again.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 3:18 PM, Adrian Minta wrote:
> Oops i spoke too soon ...
> The system is stable without hyperthreading. With hyperthreading activated
> i't freezes again.
>
I also run with
devd_enable="NO"
in /etc/rc.conf
and
in /etc/syctl.conf
kern.random.sys.harvest.ethernet=0
Does it actually freeze or panic and crash ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Try:
net.inet.ip.fastforwarding = 0
net.isr.bindthreads = 1
net.isr.direct = 0
net.isr.direct_force = 0
--
Rozhuk Ivan
> -----Original Message-----
> From: owner-freebsd- [mailto:owner-freebsd-
> ] On Behalf Of Mike Tancsa
> Sent: Friday, June 24, 2011 4:56 AM
> To: Adrian Minta
> Cc: freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 3:18 PM, Adrian Minta wrote:
> > Oops i spoke too soon ...
> > The system is stable without hyperthreading. With hyperthreading
> activated
> > i't freezes again.
> >
>
> I also run with
>
> devd_enable="NO"
>
> in /etc/rc.conf
> and
> in /etc/syctl.conf
> kern.random.sys.harvest.ethernet=0
>
> Does it actually freeze or panic and crash ?
>
>
> ---Mike
>
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 4:17 PM, wrote:
>
> Try:
> net.inet.ip.fastforwarding = 0
> net.isr.bindthreads = 1
> net.isr.direct = 0
> net.isr.direct_force = 0
If net.isr.direct is disabled, does setting net.isr.bindthreads do
anything ? Also, why disable the fastforwarding ?
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
net.inet.ip.fastforwarding
- double check incoming packet, if: dst = this host / multicast / contain options
- all packets processing by one cpu core
This option is good for one cpu core routers.
--
Rozhuk Ivan
> -----Original Message-----
> From: Mike Tancsa [mailto:]
> Sent: Friday, June 24, 2011 5:40 AM
> To:
> Cc: 'Adrian Minta'; freebsd-
> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>
> On 6/23/2011 4:17 PM, wrote:
> >
> > Try:
> > net.inet.ip.fastforwarding = 0
> > net.isr.bindthreads = 1
> > net.isr.direct = 0
> > net.isr.direct_force = 0
>
> If net.isr.direct is disabled, does setting net.isr.bindthreads do
> anything ? Also, why disable the fastforwarding ?
>
> ---Mike
>
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications,
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/23/2011 5:47 PM, wrote:
>
> net.inet.ip.fastforwarding
> - double check incoming packet, if: dst = this host / multicast / contain options
> - all packets processing by one cpu core
>
> This option is good for one cpu core routers.
Thanks, I didnt know that. And the netisr option ? Have you found that
to be buggy ?
---Mike
>
>
> --
> Rozhuk Ivan
>
>
>
>> -----Original Message-----
>> From: Mike Tancsa [mailto:]
>> Sent: Friday, June 24, 2011 5:40 AM
>> To:
>> Cc: 'Adrian Minta'; freebsd-
>> Subject: Re: FreeBSD 8.2 and MPD5 stability issues
>>
>> On 6/23/2011 4:17 PM, wrote:
>>>
>>> Try:
>>> net.inet.ip.fastforwarding = 0
>>> net.isr.bindthreads = 1
>>> net.isr.direct = 0
>>> net.isr.direct_force = 0
>>
>> If net.isr.direct is disabled, does setting net.isr.bindthreads do
>> anything ? Also, why disable the fastforwarding ?
>>
>> ---Mike
>>
>>
>>
>> --
>> -------------------
>> Mike Tancsa, tel +1 519 651 3400
>> Sentex Communications,
>> Providing Internet services since 1994 www.sentex.net
>> Cambridge, Ontario Canada http://www.tancsa.com/
>
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
After recompilation with "*default release=cvs tag=RELENG_8" and pooling
disables the system still crashes around 4200 sessions. The server has a
xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
http://img232.imageshack.us/img232/6751/crashm.png
$uname -a
FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
2011 gygy@lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
/boot/loader.conf:
net.graph.maxdata=65536
net.graph.maxalloc=65536
kern.ipc.maxpipekva=320000000
#I wave 4 cores
net.isr.bindthreads=4
net.isr.maxthreads=1
net.isr.defaultqlimit=4096
/etc/sysctl.conf:
net.inet.ip.forwarding=1
kern.maxfiles=65535
net.inet.ip.intr_queue_maxlen=8192
net.inet.icmp.icmplim=0
kern.ipc.nmbclusters=1280000
kern.ipc.maxsockbuf=128000000
net.graph.maxdgram=10240000
net.graph.recvspace=10240000
kern.random.sys.harvest.ethernet=0
net.isr.direct=1
net.isr.direct_force=0
Kernel GENERIC plus:
#options DEVICE_POLLING
options HZ=1000
options NETGRAPH
options NETGRAPH_PPPOE
options NETGRAPH_SOCKET
options NETGRAPH_CISCO
options NETGRAPH_ECHO
options NETGRAPH_FRAME_RELAY
options NETGRAPH_HOLE
options NETGRAPH_KSOCKET
options NETGRAPH_LMI
options NETGRAPH_RFC1490
options NETGRAPH_TTY
options NETGRAPH_ASYNC
options NETGRAPH_BPF
options NETGRAPH_ETHER
options NETGRAPH_IFACE
options NETGRAPH_L2TP
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_PPP
options NETGRAPH_PPTPGRE
options NETGRAPH_TEE
options NETGRAPH_UI
options NETGRAPH_VJC
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_PRIQ
# options ALTQ_NOPCC
device pf
device pflog
device pfsync
device gre
device tap
device hme
# Bridging
device if_bridge
device lagg
options IPSTEALTH
options ZERO_COPY_SOCKETS
options NETGRAPH_DEBUG
options GDB
options DDB
options KDB_UNATTENDED
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On Sat, Jun 25, 2011 at 11:28 PM, Adrian Minta <> wrote:
> After recompilation with "*default release=cvs tag=RELENG_8" and pooling
> disables the system still crashes around 4200 sessions. The server has a
> xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
> http://img232.imageshack.us/img232/6751/crashm.png
>
> $uname -a
> FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
> 2011 gygy@lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
>
> /boot/loader.conf:
>
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
> #I wave 4 cores
> net.isr.bindthreads=4
> net.isr.maxthreads=1
> net.isr.defaultqlimit=4096
>
> /etc/sysctl.conf:
>
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.ip.intr_queue_maxlen=8192
> net.inet.icmp.icmplim=0
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
> kern.random.sys.harvest.ethernet=0
> net.isr.direct=1
> net.isr.direct_force=0
>
>
> Kernel GENERIC plus:
>
> #options DEVICE_POLLING
> options HZ=1000
> options NETGRAPH
> options NETGRAPH_PPPOE
> options NETGRAPH_SOCKET
> options NETGRAPH_CISCO
> options NETGRAPH_ECHO
> options NETGRAPH_FRAME_RELAY
> options NETGRAPH_HOLE
> options NETGRAPH_KSOCKET
> options NETGRAPH_LMI
> options NETGRAPH_RFC1490
> options NETGRAPH_TTY
> options NETGRAPH_ASYNC
> options NETGRAPH_BPF
> options NETGRAPH_ETHER
> options NETGRAPH_IFACE
> options NETGRAPH_L2TP
> options NETGRAPH_MPPC_ENCRYPTION
> options NETGRAPH_PPP
> options NETGRAPH_PPTPGRE
> options NETGRAPH_TEE
> options NETGRAPH_UI
> options NETGRAPH_VJC
>
> options ALTQ
> options ALTQ_CBQ
> options ALTQ_RED
> options ALTQ_RIO
> options ALTQ_HFSC
> options ALTQ_PRIQ
> # options ALTQ_NOPCC
>
> device pf
> device pflog
> device pfsync
> device gre
>
> device tap
> device hme
>
> # Bridging
> device if_bridge
> device lagg
>
> options IPSTEALTH
> options ZERO_COPY_SOCKETS
>
> options NETGRAPH_DEBUG
> options GDB
> options DDB
> options KDB_UNATTENDED
>
>
>
Hi Adrian,
You will need to set dumpdev to something (e.g. "AUTO") in /etc/rc.conf (it
defaults to NO) so that your kernel coredump is saved to your swap partition
before rebooting. Also, you might want to remove ZERO_COPY_SOCKETS.
--
Good, fast & cheap. Pick any two.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/25/2011 5:28 PM, Adrian Minta wrote:
>
> options ALTQ
> options ALTQ_CBQ
> options ALTQ_RED
> options ALTQ_RIO
> options ALTQ_HFSC
> options ALTQ_PRIQ
> # options ALTQ_NOPCC
>
> device pf
> device pflog
> device pfsync
pf and altq add quite a bit of networking overhead. If you are not using
them, I would get rid of them.
> device hme
You really have this nic ?
> options ZERO_COPY_SOCKETS
Not sure how stable this option is.
Enable crash dumps
crashinfo_enable="YES" # Automatically generate crash dump summary.
dumpdev="AUTO"
dumpdir="/var/crash" # Directory where crash dumps are to be stored
This will create a .txt file in /var/crash that will have all the info
about the issue
---Mike
>
>
>
>
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Thanks to Vlad Galu I was able to acquire a full crashinfo and kernel dump
after a system freeze. I put all the files at:
http://pluto.stsisp.ro/fbsd/
I hope this will help somebody in finding the race condition.
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
On 6/27/2011 4:50 PM, Adrian Minta wrote:
> Thanks to Vlad Galu I was able to acquire a full crashinfo and kernel dump
> after a system freeze. I put all the files at:
> http://pluto.stsisp.ro/fbsd/
>
> I hope this will help somebody in finding the race condition.
Dont know about the race, but one thing I would get rid of in your
kernel config is the FLOWTABLE option as it has a few bugs still
Also get rid of
device gre
device tap
# Bridging
device if_bridge
device lagg
if you are not using them
Are you loading any klds ? Why the linux.ko and linprocfs.ko ? If you
dont use it, get rid of it.
I would also not run snmpd and disable devd as they will do a lot of
work traversing all those interfaces.
Also, how come your nics all show no carrier in the crash dump ?
---Mike
>
>
>
> _______________________________________________
> freebsd- mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-"
>
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications,
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
Good news !
Last night I remove FLOWTABLE option and since then the server is stable.
No crash what so ever an I was able to increase the number of tunnels.
> On 6/27/2011 4:50 PM, Adrian Minta wrote:
>> Thanks to Vlad Galu I was able to acquire a full crashinfo and kernel
>> dump
>> after a system freeze. I put all the files at:
>> http://pluto.stsisp.ro/fbsd/
>>
>> I hope this will help somebody in finding the race condition.
>
> Dont know about the race, but one thing I would get rid of in your
> kernel config is the FLOWTABLE option as it has a few bugs still
>
>
> Also get rid of
>
>
> device gre
> device tap
>
> # Bridging
> device if_bridge
> device lagg
>
> if you are not using them
>
>
> Are you loading any klds ? Why the linux.ko and linprocfs.ko ? If you
> dont use it, get rid of it.
>
> I would also not run snmpd and disable devd as they will do a lot of
> work traversing all those interfaces.
>
> Also, how come your nics all show no carrier in the crash dump ?
>
> ---Mike
>
--
Best regards,
Adrian Minta MA3173-RIPE
+40726.110.369 +40212.022.660
_______________________________________________
freebsd- mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-"
)
|
NewsArc Lists
| Culture Pages
| Computing Archive
| Media-Pages
Link to this page on your blog or website by copying the HTML code below and pasting it into your site:
|
|