Hello, friends!
Have a problem.
After a month of uptime users connections become slow. When i'm restart the natd the connections speed revert to normal. There are no any kernel messages or any errors at all.
Here is a config of natd:
There is a FreeBSD version: FreeBSD 7.0-RELEASE-p5
There is a kernel options:
I have a 100 mbit fast ethernet connection to my provider...
Also, have a dummy net rules for traffic shaping...
There are additional info from top (it's a normal):
The current speed:
If any additional info needed, i can to provide it.
It so strange, cause a FreeBSD is so stable for me... Where is a problem? Please, help or get some recommendations.
Have a problem.
After a month of uptime users connections become slow. When i'm restart the natd the connections speed revert to normal. There are no any kernel messages or any errors at all.
Here is a config of natd:
Code:
deny_incoming yes
use_sockets yes
same_ports yes
dynamic yes
There is a FreeBSD version: FreeBSD 7.0-RELEASE-p5
There is a kernel options:
Code:
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
#options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options IPFIREWALL_FORWARD #packet destination changes
options IPFIREWALL_NAT #ipfw kernel nat support
options IPDIVERT #divert sockets
#options IPFILTER #ipfilter support
#options IPFILTER_LOG #ipfilter logging
#options IPFILTER_LOOKUP #ipfilter pools
#options IPFILTER_DEFAULT_BLOCK #block all packets by default
options IPSTEALTH #support for stealth forwarding
#options TCPDEBUG
Also, have a dummy net rules for traffic shaping...
There are additional info from top (it's a normal):
Code:
last pid: 33724; load averages: 0.85, 0.53, 0.52 up 40+02:58:49 14:21:10
24 processes: 2 running, 22 sleeping
CPU states: 5.8% user, 0.0% nice, 5.8% system, 2.9% interrupt, 85.6% idle
Mem: 19M Active, 472M Inact, 165M Wired, 324K Cache, 112M Buf, 1346M Free
Swap: 4096M Total, 4096M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
33577 root 1 96 0 7444K 5892K CPU3 0 14:32 74.61% natd
The current speed:
Code:
fxp0 112177 kb/total 5823 pkts/sec 4024991 bytes/sec
Code:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
fxp0 1500 <Link#1> 00:b0:d0:fe:ec:cf 3596638730 0 2395299449 2 0
fxp0 1500 10.252.9.0 firewall 7352382 - 7490433 - -
bge0 1500 <Link#2> 00:b0:d0:fe:ec:d0 2675368980 0 3507647935 0 0
bge0 1500 1.1.1.1 firewall 6506038 - 3507645553 - -
plip0 1500 <Link#3> 0 0 0 0 0
lo0 16384 <Link#4> 1809 0 1809 0 0
lo0 16384 fe80:4::1 fe80:4::1 0 - 0 - -
lo0 16384 localhost ::1 0 - 0 - -
lo0 16384 your-net localhost 1809 - 1809 - -
Code:
732/2733/3465 mbufs in use (current/cache/total)
705/1619/2324/65536 mbuf clusters in use (current/cache/total/max)
705/1599 mbuf+clusters out of packet secondary zone in use (current/cache)
0/135/135/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)
1661K/4461K/6123K 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/9/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
If any additional info needed, i can to provide it.
It so strange, cause a FreeBSD is so stable for me... Where is a problem? Please, help or get some recommendations.