From owner-freebsd-questions@FreeBSD.ORG Sun Mar 9 08:25:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C84B11065670 for ; Sun, 9 Mar 2008 08:25:48 +0000 (UTC) (envelope-from dotyao@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 7F4738FC13 for ; Sun, 9 Mar 2008 08:25:48 +0000 (UTC) (envelope-from dotyao@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so418361anc.13 for ; Sun, 09 Mar 2008 00:25:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:disposition-notification-to:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=ZxAkcxjyeCydXxtL6uFfly2Coj5PgQ2sELuUSyKZrqo=; b=vu0SucWLWN6Txgn4saxRQKc655BwxlqxJfLOFBWQ4XC6StFWMoM/zOwjIhJI9+wxL3sumyYrMvbdiyg11csvPICNNRpNraOvgJJzu+KwDZwm5ebZCCXLuFW5yk9KG4sS7o6u+G1mahXiyp0j1htDhQRGuWZICiGbprV23oz8KT8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:disposition-notification-to:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=oPlH3dj0DC+1/iOwCAqnj9UCiWRNHz59mhxkvYsQXkSzNsf03aDjpTp4JfegaJ3ypQE0av4GcOJ/7/VESCiUXZGUskHqaVodZskpfsFQhiAf3OoW2KMguTXGkKY1T0OyuYs9H2FFawDHWVtuIq02h0y2awZ1WBvjkAglGiklAZQ= Received: by 10.100.43.13 with SMTP id q13mr8224001anq.119.1205049549505; Sat, 08 Mar 2008 23:59:09 -0800 (PST) Received: from roy.wauee.com ( [222.49.92.171]) by mx.google.com with ESMTPS id i4sm12326818rng.8.2008.03.08.23.59.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 08 Mar 2008 23:59:08 -0800 (PST) Message-ID: <47D40943.5080802@gmail.com> Date: Sun, 09 Mar 2008 15:58:59 +0000 From: roy lee User-Agent: Thunderbird 2.0.0.12 (X11/20080307) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Large numbers of Limiting open port RST response from 6 to 5 packets/sec X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 08:25:48 -0000 this is a web server,use nginx, Large numbers of Limiting open port RST response from 6 to 5 packets/sec. I need help. dmesg: Limiting open port RST response from 11 to 5 packets/sec Limiting open port RST response from 6 to 5 packets/sec Limiting open port RST response from 8 to 5 packets/sec Limiting open port RST response from 6 to 5 packets/sec Limiting open port RST response from 8 to 5 packets/sec Limiting open port RST response from 7 to 5 packets/sec Limiting open port RST response from 7 to 5 packets/sec Limiting open port RST response from 14 to 5 packets/sec Limiting open port RST response from 11 to 5 packets/sec Limiting open port RST response from 9 to 5 packets/sec Limiting open port RST response from 12 to 5 packets/sec Limiting open port RST response from 6 to 5 packets/sec ....... uname -a FreeBSD qz14253.tmdxy.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat Mar 8 20:41:05 UTC 2008 roy@qz14253.tmdxy.org:/usr/obj/usr/src/sys/ qz2kernel i386 nginx.conf: user www www; worker_processes 5; pid /var/run/nginx.pid; error_log /var/log/www/error.log warn; events { worker_connections 10240; use kqueue; } http { include mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] $request ' '"$status" $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; include website.conf; } sysctl.conf: net.inet.icmp.drop_redirect=1 net.inet.icmp.log_redirect=1 net.inet.tcp.msl=2500 net.inet.icmp.icmplim=5 kern.ipc.somaxconn=32768 kern.ipc.shmall=32768 kern.ipc.shmmax=134217728 kern.ipc.semmap=256 loader.conf: autoboot_delay="3" kern.maxfiles="32768" kern.ipc.semmni="256" kern.ipc.semmns="512" kern.ipc.semmnu="256" kern.ipc.nmbclusters="32768" netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}': FIN_WAIT_1 634 FIN_WAIT_2 2192 LAST_ACK 52 CLOSING 1 SYN_RCVD 10 TIME_WAIT 16 ESTABLISHED 2959 netstat -m: 484/2336/2820 mbufs in use (current/cache/total) 105/965/1070/32768 mbuf clusters in use (current/cache/total/max) 105/919 mbuf+clusters out of packet secondary zone in use (current/ cache) 0/65/65/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) 331K/2774K/3105K 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) 104/175/6656 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 401 requests for I/O initiated by sendfile 0 calls to protocol drain routines