Date: Thu, 27 Aug 1998 17:04:13 -0700 (PDT) From: cjl@qnet.com To: freebsd-gnats-submit@FreeBSD.ORG Subject: kern/7764: ps(1) hangs in pfslck/lockrd - All subsequent ps(1) commands unkillable Message-ID: <199808280004.RAA01866@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 7764 >Category: kern >Synopsis: ps(1) hangs in pfslck/lockrd - All subsequent ps(1) commands unkillable >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 27 17:10:00 PDT 1998 >Last-Modified: >Originator: Chris Linstruth >Organization: QNET >Release: 2.2.7R >Environment: FreeBSD mx-a.qnet.com 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Wed Jul 22 08:48:29 GMT 1998 root@builder.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: ps -aux hung. Terminated session, subsequent ps(1) commands also hang. kill -9 ineffective. top -Sn all shows the following: bash$ top -Sn all last pid: 21449; load averages: 1.29, 1.16, 1.10 16:55:35 44 processes: 2 running, 42 sleeping Mem: 32M Active, 3264K Inact, 11M Wired, 4280K Cache, 2884K Buf, 26M Free Swap: 256M Total, 10M Used, 246M Free, 4% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 21436 root 56 0 748K 976K RUN 0:01 23.43% 5.19% sendmail 21311 root 2 0 1004K 1120K sbwait 0:00 1.15% 1.11% sendmail 21444 root 2 0 676K 868K select 0:00 0.82% 0.11% sendmail 21445 root 2 0 676K 876K select 0:00 0.55% 0.08% sendmail 27180 root 2 0 652K 684K select 20:08 0.04% 0.04% sendmail 21448 root 2 0 716K 880K sbwait 0:00 0.78% 0.04% sendmail 21438 root 2 0 676K 868K select 0:00 0.21% 0.04% sendmail 13671 root 2 0 7276K 7124K select 57:46 0.00% 0.00% named 4 root 28 0 0K 12K update 10:55 0.00% 0.00% update 81 root 2 0 204K 404K select 7:44 0.00% 0.00% syslogd 1 root 10 0 484K 192K wait 1:27 0.00% 0.00% init 2 root -18 0 0K 12K psleep 1:04 0.00% 0.00% pagedaemon 116 root 18 0 332K 340K pause 0:20 0.00% 0.00% cron 0 root -18 0 0K 0K sched 0:02 0.00% 0.00% swapper 19021 root 2 0 948K 1208K connec 0:01 0.00% 0.00% sendmail 113 root 2 0 208K 344K select 0:01 0.00% 0.00% inetd 3 root 28 0 0K 12K psleep 0:00 0.00% 0.00% vmdaemon 165 root 18 0 460K 284K pause 0:00 0.00% 0.00% csh 17382 root 18 0 456K 284K pause 0:00 0.00% 0.00% csh 28124 root 18 0 456K 280K pause 0:00 0.00% 0.00% csh 21435 root 10 0 724K 884K wait 0:00 0.00% 0.00% sendmail 17395 root 10 0 640K 780K wait 0:00 0.00% 0.00% bash 21302 cjl 10 0 648K 744K wait 0:00 0.00% 0.00% bash 13465 root 10 0 728K 612K wait 0:00 0.00% 0.00% sendmail 20541 root 3 0 180K 596K ttyin 0:00 0.00% 0.00% getty 167 root 3 0 180K 272K ttyin 0:00 0.00% 0.00% getty 17158 root 2 0 724K 880K sbwait 0:00 0.00% 0.00% sendmail 21156 root 2 0 724K 876K sbwait 0:00 0.00% 0.00% sendmail 21358 root 2 0 724K 876K sbwait 0:00 0.00% 0.00% sendmail 21433 root 2 0 676K 868K select 0:00 0.00% 0.00% sendmail 21409 root 2 0 668K 796K connec 0:00 0.00% 0.00% sendmail 21411 root 2 0 668K 796K connec 0:00 0.00% 0.00% sendmail 21434 root 2 0 668K 796K connec 0:00 0.00% 0.00% sendmail 21301 root 2 0 220K 756K select 0:00 0.00% 0.00% telnetd 91 daemon 2 0 176K 256K select 0:00 0.00% 0.00% portmap 18121 root -6 0 244K 624K piperd 0:00 0.00% 0.00% grep 18584 root -6 0 676K 304K pfslck 0:00 0.00% 0.00% ps 18120 root -6 0 672K 304K pfslck 0:00 0.00% 0.00% ps 1761 cjl -6 0 676K 256K pfslck 0:00 0.00% 0.00% ps 1920 cjl -6 0 676K 256K pfslck 0:00 0.00% 0.00% ps 2002 cjl -6 0 676K 256K pfslck 0:00 0.00% 0.00% ps 13801 root -18 0 788K 612K lockrd 0:00 0.00% 0.00% sendmail 1697 root -18 0 676K 256K lockrd 0:00 0.00% 0.00% ps 21449 cjl 33 0 608K 828K RUN 0:00 0.00% 0.00% top >How-To-Repeat: Unknown what caused the first offending process to hang. Fairly sure it was a ps -aux though. It's possible I attempted to SIGINT (^C) it. >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808280004.RAA01866>