Subject: Re: Bug found: help to isolate it
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Lista de NetBSD Users <list10@sepc.edu.mx>
List: netbsd-users
Date: 05/15/2002 17:05:01
On Wed, 15 May 2002, Manuel Bouyer wrote:
> On Tue, May 14, 2002 at 10:23:12PM -0500, Lista de NetBSD Users wrote:
> > My server is active yet and the problem occurs in this moment,
> > but the kernel was not compiled with DDB and I cant have root
> > access.
>
> Check if syslogd is taking a significant amout of CPU (with top for
> example); if it does not then it's another problem.
I hope this give some answer.
Thanks
Heron Gallegos
load averages: 0.20, 0.19, 0.17 16:37:38
13 processes: 12 sleeping, 1 on processor
CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Memory: 4800K Act, 1696K Inact, 144K Wired, 103M Free, 512M Swp free
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
207 root 10 0 220K 420K sleep 0:06 0.00% 0.00% cron
5351 root 2 0 344K 1184K sleep 0:05 0.00% 0.00% sshd
117 root 4 0 104K 408K sleep 0:03 0.00% 0.00% syslogd
126 root 2 0 1508K 1224K sleep 0:03 0.00% 0.00% named
6730 gallegos 28 0 156K 612K onproc 0:00 0.00% 0.00% top
5352 gallegos 18 0 432K 300K sleep 0:00 0.00% 0.00% csh
1 root 10 0 312K 192K sleep 0:00 0.00% 0.00% init
210 root 4 -4 80K 4K sleep 0:00 0.00% 0.00% login
211 root 3 0 48K 428K sleep 0:00 0.00% 0.00% getty
212 root 3 0 48K 428K sleep 0:00 0.00% 0.00% getty
213 root 3 0 48K 428K sleep 0:00 0.00% 0.00% getty
198 root 2 0 292K 624K sleep 0:00 0.00% 0.00% sshd
204 root 2 0 80K 460K sleep 0:00 0.00% 0.00% inetd
server> ps -ax
PID TT STAT TIME COMMAND
0 ?? DLs 0:01.46 (swapper)
1 ?? Is 0:00.01 init
2 ?? DL 0:00.28 (usb0)
3 ?? DL 0:00.01 (pagedaemon)
4 ?? DL 0:01.33 (reaper)
5 ?? DL 1:44.42 (ioflush)
117 ?? Is 0:03.35 /usr/sbin/syslogd -s
126 ?? Is 0:03.97 /usr/sbin/named
198 ?? Is 0:00.10 /usr/sbin/sshd
204 ?? Is 0:00.03 /usr/sbin/inetd -l
207 ?? Ss 0:06.49 /usr/sbin/cron
5351 ?? S 0:05.33 sshd: gallegos@ttyp0
5352 p0 Ss 0:00.04 -csh
6731 p0 R+ 0:00.00 ps -ax
210 E0 I<Es+ 0:00.03 (login) <-- trying login as root from 20 hs ago
211 E1 Is+ 0:00.01 /usr/libexec/getty Pc ttyE1
212 E2 Is+ 0:00.01 /usr/libexec/getty Pc ttyE2
213 E3 Is+ 0:00.01 /usr/libexec/getty Pc ttyE3
server> ps -alx
UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
0 0 0 0 -18 0 0 9456 schedule DLs ?? 0:01.46 (swapper)
0 1 0 12 10 0 312 192 wait Is ?? 0:00.01 init
0 2 0 0 10 0 0 9456 usbevt DL ?? 0:00.28 (usb0)
0 3 0 0 -18 0 0 9456 daemon_s DL ?? 0:00.01 (pagedaemon)
0 4 0 0 -18 0 0 9456 reaper DL ?? 0:01.33 (reaper)
0 5 0 0 18 0 0 9456 syncer DL ?? 1:44.49 (ioflush)
0 117 1 0 4 0 104 408 ttyout Is ?? 0:03.35 /usr/sbin/syslogd -s
0 126 1 0 2 0 1508 1224 select Is ?? 0:03.97 /usr/sbin/named
0 198 1 0 2 0 292 624 select Is ?? 0:00.10 /usr/sbin/sshd
0 204 1 0 2 0 80 460 select Is ?? 0:00.03 /usr/sbin/inetd -l
0 207 1 0 10 0 220 420 nanoslee Is ?? 0:06.49 /usr/sbin/cron
0 5351 198 0 2 0 344 1184 select S ?? 0:05.34 sshd: gallegos@ttyp0
300 5352 5351 0 18 0 432 300 pause Ss p0 0:00.04 -csh
300 6744 5352 0 28 0 344 152 - R+ p0 0:00.00 ps -alx
0 210 1 0 4 -4 80 4 ttyout I<Es+ E0 0:00.03 (login)
0 211 1 5 3 0 48 428 ttyin Is+ E1 0:00.01 /usr/libexec/getty Pc ttyE1
0 212 1 5 3 0 48 428 ttyin Is+ E2 0:00.01 /usr/libexec/getty Pc ttyE2
0 213 1 5 3 0 48 428 ttyin Is+ E3 0:00.01 /usr/libexec/getty Pc ttyE3