Date: Thu, 24 Jan 2008 11:09:55 +0200 From: Stefan Lambrev <stefan.lambrev@moneybookers.com> To: freebsd-hackers@freebsd.org Subject: Re: gettimeofday() in hping Message-ID: <479855E3.2090100@moneybookers.com> In-Reply-To: <60707.202.127.98.144.1201158252.squirrel@webmail.triplegate.net.id> References: <4795CC13.7080601@moneybookers.com><4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no><479605E2.6070709@moneybookers.com> <fn5c7u$i7e$2@ger.gmane.org><47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org><47970EE2.5000400@moneybookers.com> <fn7evj$smv$1@ger.gmane.org><479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> <01ad01c85dda$9d2069e0$b6db87d4@multiplay.co.uk> <47977AF5.7090906@moneybookers.com> <60707.202.127.98.144.1201158252.squirrel@webmail.triplegate.net.id>
next in thread | previous in thread | raw e-mail | index | archive | help
Greets, binto wrote: >> Greetings, >> >> Steven Hartland wrote: >> >>> ----- Original Message ----- From: "Ivan Voras" <ivoras@freebsd.org> >>> >>>>> The other thing that bothers me is, that under freebsd is quite easy >>>>> to get: >>>>> [send_ip] sendto: No buffer space available >>>>> It happens almost always on my laptop just few seconds after I start >>>>> hping with timecounter=TSC >>>>> >>>> I'm not sure, but from what I understood of Robert Watson's >>>> explanation in the big ZFS thread on -current, maybe increasing >>>> kmem_size (exactly as for ZFS...) could help you with these buffers. >>>> >>> Is this not just running out of mbufs? netstat -m will show if it is >>> and the fix >>> is to just increase kern.ipc.nmbclusters. >>> >> 670/1520/2190 mbufs in use (current/cache/total) >> 462/322/784/25600 mbuf clusters in use (current/cache/total/max) >> 462/306 mbuf+clusters out of packet secondary zone in use (current/cache) >> 0/35/35/12800 4k (page size) jumbo clusters in use >> (current/cache/total/max) >> 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) >> 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) >> 1091K/1164K/2255K bytes allocated to network (current/cache/total) >> 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) >> 0/0/0 requests for jumbo clusters denied (4k/9k/16k) >> 0/4/6656 sfbufs in use (current/peak/max) >> 0 requests for sfbufs denied >> 0 requests for sfbufs delayed >> 0 requests for I/O initiated by sendfile >> 0 calls to protocol drain routines >> >> kern.ipc.nmbclusters: 25600 >> > > sysctl -a kern.ipc.maxsockbuf ? > No, this doesn't change things. with timecounter=TSC it's easily reproduced on on 6.3. -- Best Wishes, Stefan Lambrev ICQ# 24134177
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?479855E3.2090100>