Date: Mon, 25 Jul 2011 09:59:08 -0400 From: Scott Sipe <cscotts@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: Yong-Hyeon Pyun <pyunyh@gmail.com>, freebsd-stable List <freebsd-stable@freebsd.org>, Peter Ross <Peter.Ross@bogen.in-berlin.de>, davidch@freebsd.org, "Vogel, Jack" <jack.vogel@intel.com>, Jeremy Chadwick <freebsd@jdc.parodius.com> Subject: Re: scp: Write Failed: Cannot allocate memory Message-ID: <1AFA4756-A1C0-4129-8134-2B43724947DC@gmail.com> In-Reply-To: <CAJ-Vmom19KbU0kki0KVTSyzmq-CTKh-j7g%2BmFcRVscb%2B0XPxhQ@mail.gmail.com> References: <20110706122339.61453nlqra1vqsrv@webmail.in-berlin.de> <20110706023234.GA72048@icarus.home.lan> <20110706130753.182053f3ellasn0p@webmail.in-berlin.de> <20110706032425.GA72757@icarus.home.lan> <20110706135412.15276i0fxavg09k4@webmail.in-berlin.de> <20110706041504.GA73698@icarus.home.lan> <20110706143129.10696235ldx9bjmp@webmail.in-berlin.de> <20110706173242.23404ffbhkxz6mqi@webmail.in-berlin.de> <20110706182141.13056plxp148y61h@webmail.in-berlin.de> <CA%2B30O_O8b8O29rc6BLnnGVTY3cWzpuKQ1q8FTG1idJKM5ykrvA@mail.gmail.com> <20110711115947.51686v4930s7ze37@webmail.in-berlin.de> <CAJ-Vmom19KbU0kki0KVTSyzmq-CTKh-j7g%2BmFcRVscb%2B0XPxhQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 24, 2011, at 10:07 PM, Adrian Chadd wrote: > Has someone asked for the output of netstat -mb? That error message is > mbuf related, so I bet it's something to do with mbuf allocation. >=20 > Is it possible that the system is incorrectly tuned when virtualbox is = enabled? >=20 >=20 > Adrian I never ran netstat -mb when I was encountering the network memory = allocation error. At the moment I have adjusted net.graph.maxdata from = the default value to 8192, rebooted, and have not encountered any more = network memory allocation errors (and vmstat -z shows 0 NetGraph data = item failures). If, at this maxdata setting, they show up again I'll = post the output of netstat -mb. If it's worth anything, current output = of netstat -mb is below. # netstat -mb 1027/6668/7695 mbufs in use (current/cache/total) 1024/4034/5058/25600 mbuf clusters in use (current/cache/total/max) 1024/3456 mbuf+clusters out of packet secondary zone in use = (current/cache) 0/1303/1303/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) 2304K/14947K/17251K 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/0/0 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 19 requests for I/O initiated by sendfile 0 calls to protocol drain routines Scott=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1AFA4756-A1C0-4129-8134-2B43724947DC>