From owner-freebsd-bugs Fri Feb 1 6:50:31 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9B3BA37B400 for ; Fri, 1 Feb 2002 06:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g11Eo2v45439; Fri, 1 Feb 2002 06:50:02 -0800 (PST) (envelope-from gnats) Date: Fri, 1 Feb 2002 06:50:02 -0800 (PST) Message-Id: <200202011450.g11Eo2v45439@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Niels Piersma" Subject: Re: bin/34158: High NATD cpu usage Reply-To: "Niels Piersma" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/34158; it has been noted by GNATS. From: "Niels Piersma" To: , Cc: Subject: Re: bin/34158: High NATD cpu usage Date: Fri, 1 Feb 2002 15:47:24 +0100 This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C1AB37.C14CA060 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Here a screen shot of TOP, with some high(er) cpu usage. =20 last pid: 35819; load averages: 0.08, 0.04, 0.00 up 12+03:18:02 15:40:05 28 processes: 3 running, 25 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 15M Active, 12M Inact, 13M Wired, 568K Cache, 14M Buf, 18M Free Swap: 256M Total, 16K Used, 256M Free =F21;34H 0.08, 0.04, 0.00 PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 33734 root 28 0 492K 244K RUN 13:07 5.08% 5.08% natd 203 root 2 0 2500K 1676K select 0:47 0.00% 0.00% sendmail 269 root 2 0 1980K 1168K select 0:45 0.00% 0.00% nmbd 258 root 2 0 1876K 972K select 0:34 0.00% 0.00% mpd 241 root 4 0 2524K 2044K bpf 0:33 0.00% 0.00% arpwatch 173 root 2 0 2392K 1768K select 0:07 0.00% 0.00% named 195 root 10 0 968K 640K nanslp 0:05 0.00% 0.00% cron 169 root 2 0 936K 572K select 0:05 0.00% 0.00% syslogd 253 root 2 0 1064K 672K select 0:04 0.00% 0.00% dhcpd 198 root 2 0 2548K 1300K select 0:02 0.00% 0.00% sshd 200 root 2 0 904K 520K select 0:02 0.00% 0.00% usbd 267 root 2 0 2512K 1204K select 0:01 0.00% 0.00% smbd 193 root 2 0 1052K 696K select 0:01 0.00% 0.00% inetd 271 root -6 0 1940K 1044K piperd 0:00 0.00% 0.00% nmbd 35816 niels 28 0 1896K 960K RUN 0:00 0.00% 0.00% top 35813 root 28 0 2300K 1312K RUN 0:00 0.00% 0.00% telnetd =20 This is only 5% but results in very slow ssh and telnet connections. =20 Niels ------=_NextPart_000_0006_01C1AB37.C14CA060 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Here a screen shot of TOP, = with some high(er) cpu usage.

 

last= pid: 35819;=A0 load averages:=A0 = 0.08,=A0 0.04,=A0 0.00=A0=A0 up = 12+03:18:02=A0 = 15:40:05

28 processes:=A0 3 running, 25 = sleeping

CPU states:=A0 0.0% user,=A0 0.0% nice,=A0 0.0% system,=A0 0.0% interrupt,=A0 100% = idle

Mem<= /span>: 15M Active, 12M Inact, 13M Wired, = 568K Cache, 14M Buf, 18M = Free

Swap: 256M Total, 16K Used, = 256M Free

=F21;34H 0.08,=A0 0.04,=A0 0.00

=A0 PID USERNAME PRI NICE=A0 SIZE=A0=A0=A0 = RES = STATE=A0=A0=A0 TIME=A0=A0 WCPU=A0=A0=A0 CPU COMMAND

33734 root=A0=A0=A0=A0=A0 28=A0=A0 0=A0=A0 492K=A0=A0 244K RUN=A0=A0=A0=A0 = 13:07=A0 5.08%=A0 5.08% natd

=A0 203 = root=A0=A0=A0=A0=A0=A0 2=A0=A0 0=A0 2500K=A0 1676K select=A0=A0 0:47=A0 0.00%=A0 0.00% sendmail

=A0 269 = root=A0=A0=A0=A0=A0=A0 2=A0=A0 0=A0 1980K=A0 1168K select=A0=A0 0:45=A0 0.00%=A0 0.00% nmbd

=A0 258 = root=A0=A0=A0=A0=A0=A0 2=A0=A0 0=A0 1876K=A0=A0 972K select=A0=A0 0:34=A0 0.00%=A0 0.00% mpd

=A0 241 = root=A0=A0=A0=A0=A0=A0 4=A0=A0 0=A0 2524K=A0 2044K bpf=A0=A0=A0=A0=A0 0:33=A0 0.00%=A0 0.00% arpwatch

=A0 173 = root=A0=A0=A0=A0=A0=A0 2=A0=A0 0=A0 2392K=A0 1768K select=A0=A0 0:07=A0 0.00%=A0 0.00% named

=A0 195 = root=A0=A0=A0=A0=A0 10=A0=A0 0=A0=A0 968K=A0=A0 640K nanslp=A0=A0 0:05=A0 0.00%=A0 0.00% cron

=A0 169 = root=A0=A0=A0=A0=A0=A0 2=A0=A0 0=A0=A0 936K=A0=A0 572K select=A0=A0 0:05=A0 0.00%=A0 0.00% syslogd

=A0 253 = root=A0=A0=A0=A0=A0=A0 2=A0=A0 0=A0 1064K=A0=A0 672K select=A0=A0 0:04 =A00.00%=A0 0.00% dhcpd

=A0 198 = root=A0=A0=A0=A0=A0=A0 2=A0=A0 0=A0 2548K=A0 1300K select=A0=A0 0:02=A0 0.00%=A0 0.00% sshd

=A0 200 = root=A0=A0=A0=A0=A0=A0 2=A0=A0 0=A0=A0 904K=A0=A0 520K select=A0=A0 0:02=A0 0.00%=A0 0.00% usbd

=A0 267 = root=A0=A0=A0=A0=A0=A0 2=A0=A0 0=A0 2512K=A0 1204K select=A0=A0 0:01=A0 0.00%=A0 0.00% smbd

=A0 = 193 root=A0=A0=A0=A0=A0=A0 = 2=A0=A0 0=A0 1052K=A0=A0 696K select=A0=A0 = 0:01=A0 0.00%=A0 0.00% inetd

=A0 271 root=A0=A0=A0=A0=A0 = -6=A0=A0 0=A0 1940K=A0 1044K piperd=A0=A0 0:00=A0 0.00%=A0 0.00% nmbd

35816 niels=A0=A0=A0=A0 28=A0=A0 0=A0 = 1896K=A0=A0 960K RUN=A0=A0=A0=A0=A0 0:00=A0 0.00%=A0 0.00% = top

35813 root=A0=A0=A0=A0=A0 28=A0=A0 0=A0 = 2300K=A0 1312K RUN=A0=A0=A0=A0=A0 0:00=A0 0.00%=A0 0.00% telnetd

 

This is only 5% but results = in very slow ssh and = telnet connections.

 

Niels=

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