From owner-freebsd-questions Mon May 17 0:53: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mta2-rme.xtra.co.nz (mta.xtra.co.nz [203.96.92.3]) by hub.freebsd.org (Postfix) with ESMTP id 4D3CD14F32 for ; Mon, 17 May 1999 00:53:03 -0700 (PDT) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.152.128]) by mta2-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990517075512.RVTO7623210.mta2-rme@wocker> for ; Mon, 17 May 1999 19:55:12 +1200 From: "Dan Langille" Organization: The FreeBSD Diary To: freebsd-questions@freebsd.org Date: Mon, 17 May 1999 19:53:01 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: ftpd uses > 50% of CPU Reply-To: junkmale@xtra.co.nz X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990517075512.RVTO7623210.mta2-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I transferred a 23M file via FTP from my NT box to my FreeBSD box last night. The transfer rate varied between 170 and 200 KB/s. I thought that was a bit low over a CAT5 with 10M cards. So I looked to see what was going on in the FreeBSD box. I found ftpd was running very high. The snapshot below is not typical. It often was 50 or 60% of CPU. Is this normal for a 3.1-Stable box on an old 486 with 16M of RAM? last pid: 53088; load averages: 1.88, 1.65, 1.34 up 68+02:45:47 19:50:17 44 processes: 2 running, 42 sleeping CPU states: 1.9% user, 87.3% nice, 5.6% system, 5.2% interrupt, 0.0% idle Mem: 1972K Active, 3080K Inact, 6108K Wired, 2060K Cache, 1408K Buf, 528K Free Swap: 250M Total, 28M Used, 222M Free, 11% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 39626 root 105 20 972K 252K RUN 91.5H 39.36% 39.36% rc5des 53051 root 2 0 1068K 448K sbwait 3:22 37.55% 37.55% ftpd 53083 root 69 0 1580K 492K RUN 0:34 16.55% 16.55% top 77603 root 2 0 1232K 44K select 14:39 0.00% 0.00% sshd1 157 root 10 0 988K 140K nanslp 13:08 0.00% 0.00% cron -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/freebsd/ NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/ The Racing System - http://www.racingsystem.com/racingsystem.htm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message