Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dual CPU system hangs
On 07/17/13 17:08, Christos Zoulas wrote:
In article <51E66514.5080600%groessler.org@localhost>,
Christian Groessler <chris%groessler.org@localhost> wrote:
-=-=-=-=-=-
Hi,
I have a dual CPU PowerMac, and when building the tree with -j 3 the
system hangs after some time (1 or 2 hours).
It looks like it cannot create new processes. When I try to run a
program on an already open shell, it simply hangs,
^C doesn't get me back to the prompt.
Is there a way to enter DDB with an USB keyboard? In the FAQ I only
found a way with an ADB keyboard (Command-Option-Power)?
Or how can I try to debug this?
I'm running -current from three days ago.
Leave a loop running vmstat and netstat -m every second on a window
and see what happens when it hangs.
Ok, I started two shells, one with "vmstat -w 1" and one with "while
true; do netstat -m; sleep 1; done"
The build ran through successfully twice.
Then I tried again, without vmstat and netstat, and now it hangs again.
I could still start a few processes, and I have
------------------
[muc-twinppc:~]$ while true; do netstat -m; sleep 1; done
137 mbufs in use:
128 mbufs allocated to data
4 mbufs allocated to packet headers
5 mbufs allocated to socket names and addresses
20 calls to protocol drain routines
------------------
(only one output, the while loop hangs now)
------------------
[muc-twinppc:~]$ vmstat -w 1
procs memory page disks faults cpu
r b avm fre flt re pi po fr sr w0 w1 in sy cs us
sy id
1 2 762664 7300 2779 0 0 0 25 26 41 0 261 0 241 46
13 42
------------------
(also only one line of output, the command hangs now)
And, I could do a "ps axl":
------------------
[muc-twinppc:/local/netbsd-src/src]$ ps axl
UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TTY TIME
COMMAND
0 0 0 0 125 0 0 35496 uvm OKl ? 9:14.15
[system]
0 1 0 0 85 0 4104 1264 wait Is ? 0:01.38 init
0 172 1 0 85 0 7288 1820 kqueue Is ? 0:01.02
/usr/sbin/syslogd -s
0 173 1 0 85 0 4104 1132 select Is ? 0:00.29
/usr/sbin/rpcbind -l
1000 180 3945 0 43 0 13948 3636 - S ? 0:00.24
sshd: chris@ttyp2
0 306 1 0 85 0 3968 1052 select Is ? 0:00.10
/usr/sbin/lpd -s
0 315 1 0 85 0 4144 960 kqueue Is ? 0:00.00
/usr/sbin/powerd
0 336 1 0 85 0 4036 1188 select Is ? 0:00.19
/usr/sbin/timed
0 363 1 0 85 0 10752 2632 select Is ? 0:00.13
/usr/sbin/sshd
0 566 1 0 85 0 4228 1128 kqueue Is ? 0:00.01
/usr/sbin/inetd -l
0 570 1 0 85 0 10608 3004 kqueue Is ? 0:00.61
/usr/libexec/postfix/master
0 600 1 0 85 0 4032 1500 nanoslp Is ? 0:00.32
/usr/sbin/cron
12 613 570 0 85 0 10608 3420 kqueue I ? 0:00.18
qmgr -l -t unix -u
0 622 1 381 85 0 2164 992 ttyraw I ? 0:00.01
/usr/libexec/getty std.38400 ttyZ0
1000 753 16352 0 85 0 13948 3604 select I ? 0:08.97
sshd: chris@ttyp1
0 3945 363 0 85 0 13948 4664 select Is ? 0:00.13
sshd: chris [priv]
0 10777 1 0 85 0 4628 1848 select Ss ? 1:16.59
SCREEN (screen-4.0.3)
1000 10957 11489 0 85 0 13948 3592 select I ? 0:07.29
sshd: chris@ttyp0
0 11489 363 0 85 0 13948 4648 select Is ? 0:00.13
sshd: chris [priv]
0 12564 363 0 85 0 13948 5548 select Is ? 0:00.11
sshd: chris [priv]
0 16352 363 0 85 0 13948 4664 select Is ? 0:00.13
sshd: chris [priv]
1000 20413 12564 0 85 0 13948 4044 select I ? 0:00.07
sshd: chris@ttyp5
12 22552 570 0 85 0 10600 3672 kqueue I ? 0:00.03
pickup -l -t fifo -u
1000 5199 10957 0 85 0 3384 2292 wait Is ttyp0 0:00.03 -bash
1000 17569 5199 0 85 0 3936 1364 nanoslp I+ ttyp0 0:00.01
vmstat -w 1
1000 6813 753 0 85 0 3384 2400 wait Is ttyp1 0:32.74 -bash
1000 13195 6813 0 85 0 2096 1132 nanoslp I+ ttyp1 0:00.00 sleep 2
1000 199 180 0 85 0 3392 2636 wait Is ttyp2 0:00.09 -bash
1000 29344 199 0 85 0 4616 1944 pause S+ ttyp2 0:00.01
screen -r (screen-4.0.3)
1000 4109 5851 33314 77 0 4240 1472 wait I+ ttyp3 0:00.00 sh
1000 4127 15132 0 85 0 3836 2128 select I+ ttyp3 0:14.23
/usr/local/tools/bin/nbmake _THISDIR_ NOPOSTINSTALL build
1000 5460 7810 0 0 0 0 0 - Z+ ttyp3 0:00.00 (sh)
1000 5495 4109 0 85 0 3836 1936 select S+ ttyp3 0:00.33
/usr/local/tools/bin/nbmake _THISDIR_ build
1000 5851 19365 0 85 0 3836 2124 select I+ ttyp3 0:00.31
/usr/local/tools/bin/nbmake _THISDIR_ do-x11
1000 7810 29333 32334 78 0 3836 2052 xchicv D+ ttyp3 0:00.04
/usr/local/tools/bin/nbmake _THISDIR_ obj
1000 8644 25316 0 85 0 4860 3252 select I+ ttyp3 0:00.22
/usr/local/tools/bin/nbmake _THISDIR_ obj
1000 11590 17681 0 85 0 3832 2124 select S+ ttyp3 0:13.80
/usr/local/tools/bin/nbmake _THISDIR_ distribution
1000 12464 10777 313 85 0 3404 2444 wait Is ttyp3 0:00.03
/usr/pkg/bin/bash
1000 14129 21254 0 85 0 3832 2116 select I+ ttyp3 0:22.74
/usr/local/tools/bin/nbmake -j 3 release
1000 15132 11590 10219 83 0 4240 1472 wait I+ ttyp3 0:00.00 sh
1000 17681 14129 9659 83 0 4240 1472 wait I+ ttyp3 0:00.00 sh
1000 19112 5495 28573 79 0 4240 1476 wait I+ ttyp3 0:00.00 sh
1000 19365 4127 33314 77 0 4240 1476 wait I+ ttyp3 0:00.01 sh
1000 21254 12464 16098 82 0 4244 1788 wait I+ ttyp3 0:00.08 sh
./build.sh -D /local/netbsd-src/dest -O /local/netbsd-src/obj -j 4 -R /local
1000 24308 8644 32334 78 0 4240 1476 wait I+ ttyp3 0:00.00 sh
1000 25316 25929 32334 78 0 4204 1440 wait I+ ttyp3 0:00.00
/bin/sh -c _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${d
1000 25929 19112 32334 78 0 3832 1916 wait I+ ttyp3 0:00.03
/usr/local/tools/bin/nbmake _THISDIR_ obj
1000 27583 24308 32334 78 0 3836 2040 xchicv D+ ttyp3 0:00.04
/usr/local/tools/bin/nbmake _THISDIR_ obj
1000 29333 8644 32334 78 0 4240 1476 wait I+ ttyp3 0:00.01 sh
1000 21002 10777 0 85 0 3392 2212 ttyraw Is+ ttyp4 0:00.02
/usr/pkg/bin/bash
1000 7002 20413 878 85 0 3400 2812 ttyraw Is+ ttyp5 0:00.05 -bash
1000 3986 10777 0 85 0 3392 2760 wait Ss ttyp6 0:00.03
/usr/pkg/bin/bash
1000 12869 3986 0 43 0 4204 1324 - O+ ttyp6 0:00.01 ps -axl
0 569 1 458 85 0 4128 1208 ttyraw Is+ ttyE0 0:00.01
/usr/libexec/getty std.9600 ttyE0
0 605 1 381 85 0 4128 1208 ttyraw Is+ ttyE1 0:00.01
/usr/libexec/getty std.9600 ttyE1
0 563 1 381 85 0 4128 1208 ttyraw Is+ ttyE2 0:00.01
/usr/libexec/getty std.9600 ttyE2
0 547 1 458 85 0 4128 1208 ttyraw Is+ ttyE3 0:00.01
/usr/libexec/getty std.9600 ttyE3
------------------
The ps command also hangs at this point, I don't know if this are all
processes.
The system still responds to pings, and I'm in fact logged in over ssh.
regards,
chris
Home |
Main Index |
Thread Index |
Old Index