Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2008 20:50:34 +0200
From:      "Dave Raven" <dave@raven.za.net>
To:        "'Ingo Flaschberger'" <if@xip.at>
Cc:        freebsd-net@freebsd.org
Subject:   RE: Hping/Ping
Message-ID:  <03e701c878a8$7afefff0$70fcffd0$@za.net>
In-Reply-To: <alpine.LFD.1.00.0802261940340.17127@filebunker.xip.at>
References:  <03cb01c8789b$04aade30$0e009a90$@za.net> <alpine.LFD.1.00.0802261831490.17127@filebunker.xip.at> <03cf01c8789e$f15b0860$d4111920$@za.net> <alpine.LFD.1.00.0802261848010.17127@filebunker.xip.at> <03d001c878a0$bf3d8680$3db89380$@za.net> <alpine.LFD.1.00.0802261902560.17127@filebunker.xip.at> <03de01c878a3$90cc7560$b2656020$@za.net> <alpine.LFD.1.00.0802261920440.17127@filebunker.xip.at> <03e501c878a5$588f1c50$09ad54f0$@za.net> <alpine.LFD.1.00.0802261930300.17127@filebunker.xip.at> <03e601c878a6$87380980$95a81c80$@za.net> <alpine.LFD.1.00.0802261940340.17127@filebunker.xip.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ingo,
	Unfortunately I am stuck using FreeBSD 4.11 for this, so the em
driver options don't include rx_processing_limit. They do have rx and tx
_int_delay which I have played with but hasn't made a different.

As I understand polling might help if I had a load problem but my processor
is idle and it only happens after a day or more?

A netstat -na|wc -l gives over 7000 connections, but that shouldn't be a
problem? I have plenty mbufs and mbuf clusters available ..

Thanks
Dave

-----Original Message-----
From: Ingo Flaschberger [mailto:if@xip.at] 
Sent: Tuesday, February 26, 2008 8:45 PM
To: Dave Raven
Cc: freebsd-net@freebsd.org
Subject: RE: Hping/Ping

Dear Dave,

> I have set my icmplim to 1024. When it was 200 I would sometimes get a
> warning about an OPEN port RST - which was also strange to me (that it was
> open not closed). I suspected that it was because 5% of my packets where
> being dropped though.
>
> The server is under reasonable load (networking wise) around 80-90mbits,
but
> the processor is 75% idle..
>
> The other strange this is that a reboot solves this, and it takes around
1-2
> days to happen again..

you can try to enable polling:
kern.polling.reg_frac=20
kern.polling.user_frac=10
kern.polling.burst_max=1000

and perhaps tune rx_processing limit:
dev.em.0.rx_processing_limit: 100

you can also look at all open sessions when the server is in trouble:
netstat -n

Kind regards,
 	Ingo Flaschberger




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03e701c878a8$7afefff0$70fcffd0$>