🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.bsd
Article #20330

PF + 4.3 + zrywanie

#20330
From: bsdsiberian
Date: Sun, 03 Aug 2008 13:57
81 lines
4496 bytes
Witam

Sieć około 90 komputerów na OpenBSD 4.3 + pf + hfsc. Problemem jest
okresowe zrywanie połączenia. Logując sie na serwer przez ssh można
odczuć co jakiś czas lagi, niekiedy zrywające połączenie. Korzystając
z www, czasami strona stoi 10 sekund po czym wgrywa się lub niekiedy w
ogóle się nie wgrywa. Wymieniłem switch, siciówke (d-link 1Gb), oraz
kabek ze switcha do serwera.

pfctl -vs memory
states          hard limit    40000
src-nodes     hard limit    20000
frags            hard limit    20000
tables          hard limit     1000
table-entries hard limit   200000

pfctl -vvvs info
Status: Enabled for 0 days 03:40:03           Debug: Urgent

Hostid:   0x8bd58830
Checksum: 0x963fd1a563211e1709df1eb00c488e5b

State Table                          Total             Rate
  current entries                     5694
  searches                        23487540         1779.0/s
  inserts                           771630           58.4/s
  removals                          770720           58.4/s
Source Tracking Table
  current entries                       97
  searches                          173001           13.1/s
  inserts                              766            0.1/s
  removals                             743            0.1/s
Counters
  match                            1032972           78.2/s
  bad-offset                             0            0.0/s
  fragment                               0            0.0/s
  short                                697            0.1/s
  normalize                              0            0.0/s
  memory                                 0            0.0/s
  bad-timestamp                          0            0.0/s
  congestion                             0            0.0/s
  ip-option                              0            0.0/s
  proto-cksum                            0            0.0/s
  state-mismatch                      1071            0.1/s
  state-insert                           0            0.0/s
  state-limit                            0            0.0/s
  src-limit                              0            0.0/s
  synproxy                               0            0.0/s
Limit Counters
  max states per rule               123863            9.4/s
  max-src-states                       282            0.0/s
  max-src-nodes                          0            0.0/s
  max-src-conn                           0            0.0/s
  max-src-conn-rate                      0            0.0/s
  overload table insertion               0            0.0/s
  overload flush states                  0            0.0/s

pfctl -vs timeouts
tcp.first                   120s
tcp.opening                  30s
tcp.established           86400s
tcp.closing                 900s
tcp.finwait                  45s
tcp.closed                   90s
tcp.tsdiff                   30s
udp.first                    60s
udp.single                   30s
udp.multiple                 60s
icmp.first                   20s
icmp.error                   10s
other.first                  60s
other.single                 30s
other.multiple               60s
frag                         30s
interval                     10s
adaptive.start            60000 states
adaptive.end             120000 states
src.track                     0s


Pozdrawiam!
Technical Details
Message-ID: <ff873f1c-65b3-47c0-87ed-7e7d4a877031@l42g2000hsc.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.straub-nv.de!proxad.net!feeder1-2.proxad.net!64.233.178.134.MISMATCH!postnews.google.com!l42g2000hsc.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.straub-nv.de!proxad.net!feeder1-2.proxad.net!64.233.178.134.MISMATCH!postnews.google.com!l42g2000hsc.googlegroups.com!not-for-mail
From: bsdsiberian@gmail.com
Newsgroups: pl.comp.os.bsd
Subject: PF + 4.3 + zrywanie
Date: Sun, 3 Aug 2008 06:57:28 -0700 (PDT)
Organization: http://groups.google.com
Lines: 83
Message-ID: <ff873f1c-65b3-47c0-87ed-7e7d4a877031@l42g2000hsc.googlegroups.com>
NNTP-Posting-Host: 83.14.210.162
Mime-Version: 1.0
X-Trace: posting.google.com 1217771849 30364 127.0.0.1 (3 Aug 2008 13:57:29 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 3 Aug 2008 13:57:29 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: l42g2000hsc.googlegroups.com; posting-host=83.14.210.162;  posting-account=kHaHbwoAAADK4fms28NLJ-sE3t9yJNz6
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.1)  Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit