Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2011 00:09:58 -0800 (PST)
From:      Lep Names <leprasko@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   server  drop network connections
Message-ID:  <410789.77875.qm@web120601.mail.ne1.yahoo.com>

Next in thread | Raw E-Mail | Index | Archive | Help
  Hello.  I have so strange trouble:  every week my server drop all network 
connections - ssh,ping etc.  But it continue working.  tech support can access 
it over kvm.
after reboot everything works fine for a week.  it seems to me that it's trouble 
in mbufs.

FreeBSD  8.1-RELEASE-p2

sysctl.conf:
security.bsd.see_other_uids=0
kern.ipc.somaxconn=2048
net.inet.icmp.drop_redirect=1
#net.inet.icmp.log_redirect=1
net.inet.tcp.blackhole=2
net.inet.tcp.drop_synfin=1
net.inet.tcp.sendspace=131072
net.inet.tcp.recvspace=65536
net.inet.udp.recvspace=32768
kern.fallback_elf_brand=-1
net.inet.ip.maxfragpackets=1024
kern.sync_on_panic=1
vfs.ufs.dirhash_maxmem=100000000
kern.polling.burst_max=1000
kern.polling.each_burst=1000
kern.polling.reg_frac=100
kern.polling.user_frac=1
kern.maxvnodes=256000
net.inet.ip.intr_queue_maxlen=256
#dev.em.0.rx_processing_limit=1000
#dev.em.1.rx_processing_limit=1000
net.inet.tcp.recvbuf_auto=0
net.inet.tcp.sendbuf_auto=0
net.inet.tcp.tso=0
net.isr.direct=1
net.route.netisr_maxqlen=1024
#net.inet.flowtable.nmbflows=8192
kern.ipc.nmbclusters=65536
net.inet.ip.portrange.first=1024
net.inet.ip.portrange.hifirst=1024
net.inet.tcp.hostcache.expire=1200
net.inet.tcp.fast_finwait2_recycle=1
net.inet.tcp.finwait2_timeout=3000
net.inet.tcp.keepinit=5000
net.inet.tcp.nolocaltimewait=1
net.inet.tcp.maxtcptw=65536
net.inet.tcp.msl=3000
kern.coredump=1
kern.random.sys.harvest.interrupt=0
kern.random.sys.harvest.ethernet=0
net.inet.udp.blackhole=1

netstat -m
868/1052/1920 mbufs in use (current/cache/total)
715/923/1638/65536 mbuf clusters in use (current/cache/total/max)
709/443 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)
1647K/2249K/3896K 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)
139/313/6656 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
4031 requests for I/O initiated by sendfile
0 calls to protocol drain routines

it seems to me that i must enlarge 1920 value, but i do not know how. 
         Thanks


      



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?410789.77875.qm>