Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2002 15:37:18 -0500
From:      "Deepak Jain" <deepak@ai.net>
To:        <vs3volod@yahoo.com>, <hackers@FreeBSD.ORG>
Subject:   RE: ping: sendto: No buffer space available
Message-ID:  <GPEOJKGHAMKFIOMAGMDIAEGNJAAA.deepak@ai.net>
In-Reply-To: <86aduisa17.fsf@f434.n5020.z2.fidonet.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Try increasing your maxsockbuf:

kern.ipc.maxsockbuf: 262144

is the default setting, try:

sysctl -w kern.ipc.maxsockbuf=384000 [or higher, depending on your RAM and
your network usage]

There are a bunch of other network buffers you might want to tune as I am
sure others will mention.

Deepak Jain
AiNET

-----Original Message-----
From: owner-freebsd-hackers@FreeBSD.ORG
[mailto:owner-freebsd-hackers@FreeBSD.ORG]On Behalf Of
vs3volod@yahoo.com
Sent: Saturday, February 09, 2002 2:58 PM
To: hackers@FreeBSD.ORG
Subject: ping: sendto: No buffer space available



Some times connections to my host freeze.
What buffer ping talks about?

~:# ping p109
ping: sendto: No buffer space available
ping: sendto: No buffer space available
ping: sendto: No buffer space available
ping: sendto: No buffer space available
PING p109.f434.n5020.z2.fidonet.org (192.168.44.109): 56 data bytes

--- p109.f434.n5020.z2.fidonet.org ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
~:# pstat -T
236/1064 files
0M/255M swap space
~:# netstat -m
97/128/4096 mbufs in use (current/peak/max):
	49 mbufs allocated to data
	48 mbufs allocated to packet headers
17/28/1024 mbuf clusters in use (current/peak/max)
88 Kbytes allocated to network (2% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
~:# ifconfig
ep0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.44.41 netmask 0xffffff00 broadcast 192.168.44.255
	inet6 fe80::2a0:24ff:fe46:b823%ep0 prefixlen 64 scopeid 0x1
	inet 192.168.44.42 netmask 0xffffffff broadcast 192.168.44.42
	ether 00:a0:24:46:b8:23
	media: Ethernet 10baseT/UTP
faith0: flags=8000<MULTICAST> mtu 1500
stf0: flags=0<> mtu 1280
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
	inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
	inet 192.168.10.202 --> 192.168.3.3 netmask 0xffffff00
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
~:# uname -a
FreeBSD f434.n5020.z2.fidonet.org 4.4-STABLE FreeBSD 4.4-STABLE #1: Wed Dec
26 22:47:45 MSK 2001
root@f434.n5020.z2.fidonet.org:/usr/src/sys/compile/PP  i386
~:#


Seva.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?GPEOJKGHAMKFIOMAGMDIAEGNJAAA.deepak>