I have an OOo process that refuses to die. ps says it is stopped and waiting
for physical I/O (and has been for about 13 hours now). lsof reports that
fd12 is not sane (f_ops is "badfileops").
Any ideas on:
- How to unwedge the process (short of rebooting)?
- What the underlying problem is?
server% ps -wwHl -p 67812
UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND
204 67812 1 0 4 0 133612 52380 accept TL p3- 0:05.32
/usr/local/OpenOffice.org1.1.3/program/soffice.bin seps.20050113.csv
204 67812 1 0 76 0 133612 52380 - TL p3- 0:05.32
/usr/local/OpenOffice.org1.1.3/program/soffice.bin seps.20050113.csv
204 67812 1 0 -16 0 133612 52380 - TL p3- 0:05.32
/usr/local/OpenOffice.org1.1.3/program/soffice.bin seps.20050113.csv
204 67812 1 0 -16 0 133612 52380 spltwt TL p3- 0:05.32
/usr/local/OpenOffice.org1.1.3/program/soffice.bin seps.20050113.csv
204 67812 1 0 20 0 133612 52380 - TL p3- 0:05.32
/usr/local/OpenOffice.org1.1.3/program/soffice.bin seps.20050113.csv
204 67812 1 0 96 0 133612 52380 - TL p3- 0:05.32
/usr/local/OpenOffice.org1.1.3/program/soffice.bin seps.20050113.csv
server% lsof -p 67812
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
soffice.b 67812 peter cwd VDIR 4,34 10752 7504000 /home/peter
soffice.b 67812 peter rtd VDIR 4,35 512 2 /
soffice.b 67812 peter txt VREG 4,39 365692 54096
/usr/local/OpenOffice.org1.1.3/program/soffice.bin
soffice.b 67812 peter txt VREG 4,35 148836 8402
/libexec/ld-elf.so.1
soffice.b 67812 peter txt VREG 4,39 3210520 54044
/usr/local/OpenOffice.org1.1.3/program/libvcl645fi.so
soffice.b 67812 peter txt VREG 4,39 1171632 53246
/usr/local/OpenOffice.org1.1.3/program/libsvl645fi.so
soffice.b 67812 peter txt VREG 4,39 4427928 53915
/usr/local/OpenOffice.org1.1.3/program/libsvt645fi.so
soffice.b 67812 peter txt VREG 4,39 559284 54015
/usr/local/OpenOffice.org1.1.3/program/libutl645fi.so
soffice.b 67812 peter txt VREG 4,39 740776 53569
/usr/local/OpenOffice.org1.1.3/program/libtl645fi.so
soffice.b 67812 peter txt VREG 4,39 732772 54002
/usr/local/OpenOffice.org1.1.3/program/libcomphelp3gcc3.so
soffice.b 67812 peter txt VREG 4,39 553512 54077
/usr/local/OpenOffice.org1.1.3/program/libucbhelper2gcc3.so
soffice.b 67812 peter txt VREG 4,39 164260 52294
/usr/local/OpenOffice.org1.1.3/program/libvos3gcc3.so
soffice.b 67812 peter txt VREG 4,39 298628 53980
/usr/local/OpenOffice.org1.1.3/program/libcppuhelpergcc3.so.3.1.0
soffice.b 67812 peter txt VREG 4,39 143016 53952
/usr/local/OpenOffice.org1.1.3/program/libcppu.so.3.1.0
soffice.b 67812 peter txt VREG 4,39 1766700 53752
/usr/local/OpenOffice.org1.1.3/program/libsal.so.3.1.0
soffice.b 67812 peter txt VREG 4,39 2844048 53911
/usr/local/OpenOffice.org1.1.3/program/libtk645fi.so
soffice.b 67812 peter txt VREG 4,39 433030 195919
/usr/X11R6/lib/libXaw.so.8
soffice.b 67812 peter txt VREG 4,39 368807 195845
/usr/X11R6/lib/libXt.so.6
soffice.b 67812 peter txt VREG 4,39 926556 195801
/usr/X11R6/lib/libX11.so.6
soffice.b 67812 peter txt VREG 4,35 114504 16603 /lib/libm.so.3
soffice.b 67812 peter txt VREG 4,39 646960 53981
/usr/local/OpenOffice.org1.1.3/program/libstlport_gcc.so
soffice.b 67812 peter txt VREG 4,39 140076 47520
/usr/lib/libpthread.so.1
soffice.b 67812 peter txt VREG 4,35 941660 16607 /lib/libc.so.5
soffice.b 67812 peter txt VREG 4,39 783364 53971
/usr/local/OpenOffice.org1.1.3/program/libpsp645fi.so
soffice.b 67812 peter txt VREG 4,39 294260 53502
/usr/local/OpenOffice.org1.1.3/program/libsot645fi.so
soffice.b 67812 peter txt VREG 4,39 610712 54073
/usr/local/OpenOffice.org1.1.3/program/libicuuc.so.22.0
soffice.b 67812 peter txt VREG 4,39 140504 53907
/usr/local/OpenOffice.org1.1.3/program/libicule.so.22.0
soffice.b 67812 peter txt VREG 4,39 64320 195841
/usr/X11R6/lib/libXext.so.6
soffice.b 67812 peter txt VREG 4,39 38551 195834
/usr/X11R6/lib/libSM.so.6
soffice.b 67812 peter txt VREG 4,39 101913 195824
/usr/X11R6/lib/libICE.so.6
soffice.b 67812 peter txt VREG 4,39 8564 53567
/usr/local/OpenOffice.org1.1.3/program/libsalhelpergcc3.so.3.1.0
soffice.b 67812 peter txt VREG 4,39 108817 195847
/usr/X11R6/lib/libXmu.so.6
soffice.b 67812 peter txt VREG 4,39 67112 195904
/usr/X11R6/lib/libXpm.so.4
soffice.b 67812 peter txt VREG 4,39 34515 195909
/usr/X11R6/lib/libXp.so.6
soffice.b 67812 peter txt VREG 4,39 61756 53406
/usr/local/OpenOffice.org1.1.3/program/libjvmaccessgcc3.so.3.1.0
soffice.b 67812 peter txt VREG 4,39 8527628 53958
/usr/local/OpenOffice.org1.1.3/program/libicudata.so.22.0
soffice.b 67812 peter txt VREG 4,39 10586 195814
/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
soffice.b 67812 peter txt VREG 4,39 41205 196026
/usr/X11R6/lib/libXcursor.so.1
soffice.b 67812 peter txt VREG 4,39 33469 188853
/usr/X11R6/lib/libXrender.so.1
soffice.b 67812 peter txt VREG 4,39 143177 195817
/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
soffice.b 67812 peter txt VREG 4,39 125984 52297
/usr/local/OpenOffice.org1.1.3/program/servicemgr.uno.so
soffice.b 67812 peter txt VREG 4,39 24416 53695
/usr/local/OpenOffice.org1.1.3/program/shlibloader.uno.so
soffice.b 67812 peter txt VREG 4,39 76288 53700
/usr/local/OpenOffice.org1.1.3/program/simplereg.uno.so
soffice.b 67812 peter txt VREG 4,39 65408 53444
/usr/local/OpenOffice.org1.1.3/program/nestedreg.uno.so
soffice.b 67812 peter txt VREG 4,39 1854188 213681
/usr/X11R6/lib/modules/dri/mga_dri.so
soffice.b 67812 peter txt VREG 4,39 173229 381044
/usr/local/lib/libexpat.so.5
soffice.b 67812 peter txt VREG 4,39 77264 53263
/usr/local/OpenOffice.org1.1.3/program/typemgr.uno.so
soffice.b 67812 peter txt VREG 4,39 78096 52282
/usr/local/OpenOffice.org1.1.3/program/implreg.uno.so
soffice.b 67812 peter txt VREG 4,39 104292 53266
/usr/local/OpenOffice.org1.1.3/program/security.uno.so
soffice.b 67812 peter txt VREG 4,39 95084 53542
/usr/local/OpenOffice.org1.1.3/program/libreg.so.3.1.0
soffice.b 67812 peter txt VREG 4,39 76548 53968
/usr/local/OpenOffice.org1.1.3/program/libstore.so.3.1.0
soffice.b 67812 peter txt-R VREG 4,39 3571712 53511
/usr/local/OpenOffice.org1.1.3/program/types.rdb
soffice.b 67812 peter txt-R VREG 4,39 3145728 54253
/usr/local/OpenOffice.org1.1.3/program/services.rdb
soffice.b 67812 peter txt VREG 4,39 142884 54052
/usr/local/OpenOffice.org1.1.3/program/regtypeprov.uno.so
soffice.b 67812 peter txt VREG 4,39 2026892 53554
/usr/local/OpenOffice.org1.1.3/program/libcfgmgr2.so
soffice.b 67812 peter txt VREG 4,39 37488 52307
/usr/local/OpenOffice.org1.1.3/program/typeconverter.uno.so
soffice.b 67812 peter txt VREG 4,39 185036 53716
/usr/local/OpenOffice.org1.1.3/program/sax.uno.so
soffice.b 67812 peter txt VREG 4,39 158808 52308
/usr/local/OpenOffice.org1.1.3/program/streams.uno.so
soffice.b 67812 peter txt VREG 4,39 29036 52292
/usr/local/OpenOffice.org1.1.3/program/libspl645fi.so
soffice.b 67812 peter txt VREG 4,39 219960 53705
/usr/local/OpenOffice.org1.1.3/program/libucb1.so
soffice.b 67812 peter txt VREG 4,39 237916 54076
/usr/local/OpenOffice.org1.1.3/program/libfwl645fi.so
soffice.b 67812 peter txt VREG 4,39 546696 54074
/usr/local/OpenOffice.org1.1.3/program/libfwi645fi.so
soffice.b 67812 peter txt VREG 4,39 362984 53754
/usr/local/OpenOffice.org1.1.3/program/libucpfile1.so
soffice.b 67812 peter txt VREG 4,39 25480 53909
/usr/local/OpenOffice.org1.1.3/program/libj645fi_g.so
soffice.b 67812 peter txt VREG 4,39 76268 53833
/usr/local/OpenOffice.org1.1.3/program/libwrp645fi.so
soffice.b 67812 peter txt VREG 4,39 737540 53951
/usr/local/OpenOffice.org1.1.3/program/libso645fi.so
soffice.b 67812 peter txt VREG 4,39 561520 54056
/usr/local/OpenOffice.org1.1.3/program/libofa645fi.so
soffice.b 67812 peter txt VREG 4,39 11560280 54079
/usr/local/OpenOffice.org1.1.3/program/libsvx645fi.so
soffice.b 67812 peter txt VREG 4,39 4096368 53973
/usr/local/OpenOffice.org1.1.3/program/libsfx645fi.so
soffice.b 67812 peter txt VREG 4,39 492076 54060
/usr/local/OpenOffice.org1.1.3/program/libfwe645fi.so
soffice.b 67812 peter txt VREG 4,39 831500 54004
/usr/local/OpenOffice.org1.1.3/program/libsb645fi.so
soffice.b 67812 peter txt VREG 4,39 412612 53983
/usr/local/OpenOffice.org1.1.3/program/libgo645fi.so
soffice.b 67812 peter txt VREG 4,39 3733404 54003
/usr/local/OpenOffice.org1.1.3/program/libxo645fi.so
soffice.b 67812 peter txt VREG 4,39 484000 53799
/usr/local/OpenOffice.org1.1.3/program/libxcr645fi.so
soffice.b 67812 peter txt VREG 4,39 2460620 53987
/usr/local/OpenOffice.org1.1.3/program/libi18npool645fi.so
soffice.b 67812 peter txt VREG 4,39 63020 53541
/usr/local/OpenOffice.org1.1.3/program/libi18nutilgcc3.so
soffice.b 67812 peter txt VREG 4,39 771200 53558
/usr/local/OpenOffice.org1.1.3/program/libicui18n.so.22.0
soffice.b 67812 peter txt VREG 4,39 38000 53693
/usr/local/OpenOffice.org1.1.3/program/libgcc3_uno.so
soffice.b 67812 peter txt VREG 4,39 264336 52309
/usr/local/OpenOffice.org1.1.3/program/libpackage2.so
soffice.b 67812 peter txt VREG 4,39 1071540 54075
/usr/local/OpenOffice.org1.1.3/program/libfwk645fi.so
soffice.b 67812 peter txt VREG 4,39 331340 52310
/usr/local/OpenOffice.org1.1.3/program/libsts645fi.so
soffice.b 67812 peter txt VREG 4,39 65932 54047
/usr/local/OpenOffice.org1.1.3/share/fonts/truetype/Vera.ttf
soffice.b 67812 peter txt VREG 4,39 148240 54017
/usr/local/OpenOffice.org1.1.3/program/libuui645fi.so
soffice.b 67812 peter txt VREG 4,39 184556 54063
/usr/local/OpenOffice.org1.1.3/program/libdtransX11645fi.so
soffice.b 67812 peter txt VREG 4,39 7545576 54132
/usr/local/OpenOffice.org1.1.3/program/libsc645fi.so
soffice.b 67812 peter txt VREG 4,39 1288144 52290
/usr/local/OpenOffice.org1.1.3/program/libdbtools2.so
soffice.b 67812 peter txt VREG 4,39 93008 53415
/usr/local/OpenOffice.org1.1.3/program/liblocaledata_en.so
soffice.b 67812 peter txt VREG 4,39 49224 53402
/usr/local/OpenOffice.org1.1.3/share/fonts/truetype/VeraMono.ttf
soffice.b 67812 peter txt VREG 4,39 132156 53912
/usr/local/OpenOffice.org1.1.3/program/liblocaledata_es.so
soffice.b 67812 peter txt VREG 4,39 558408 53751
/usr/local/OpenOffice.org1.1.3/program/liblocaledata_euro.so
soffice.b 67812 peter txt VREG 4,39 291784 54103
/usr/local/OpenOffice.org1.1.3/program/liblocaledata_others.so
soffice.b 67812 peter 0u VBAD (revoked)
soffice.b 67812 peter 1u VBAD (revoked)
soffice.b 67812 peter 2u VBAD (revoked)
soffice.b 67812 peter 3u IPv4 0xc1fbf000 0t0 TCP *:* (CLOSED)
soffice.b 67812 peter 4u PIPE 0xc26cfd80 16384 ->0xc26cfe2c,
cnt=1, in=1
soffice.b 67812 peter 5u PIPE 0xc26cfe2c 0 ->0xc26cfd80
soffice.b 67812 peter 6u unix 0xc1f018dc 0t0 ->(none)
soffice.b 67812 peter 7u VCHR 240,0 0t0 31 /dev/dri/card0
soffice.b 67812 peter 8rR VREG 4,39 3571712 53511
/usr/local/OpenOffice.org1.1.3/program/types.rdb
soffice.b 67812 peter 9rR VREG 4,39 3145728 54253
/usr/local/OpenOffice.org1.1.3/program/services.rdb
soffice.b 67812 peter 10u unix 0xc293c144 0t0
/tmp/OSL_PIPE_204_SingleOfficeIPC_d5f5c59e4f9863b9649fb08a1fc2a3eb
soffice.b 67812 peter 11r VREG 4,39 455664 53566
/usr/local/OpenOffice.org1.1.3/program/resource/ofa64501.res
soffice.b 67812 peter 12 0xc3dfb044 file
struct, ty=0, op=0xc06e29c0
soffice.b 67812 peter 13r VREG 4,39 217794 54263
/usr/local/OpenOffice.org1.1.3/program/resource/iso64501.res
soffice.b 67812 peter 14r VREG 4,39 312626 53972
/usr/local/OpenOffice.org1.1.3/program/resource/svx64501.res
soffice.b 67812 peter 15r VREG 4,39 335110 54078
/usr/local/OpenOffice.org1.1.3/program/resource/sfx64501.res
soffice.b 67812 peter 16r VREG 4,39 43664 53433
/usr/local/OpenOffice.org1.1.3/program/resource/basctl64501.res
soffice.b 67812 peter 17u VREG 4,34 11497 7511489
/home/peter/seps.20050113.csv
soffice.b 67812 peter 18u unix 0xc293c654 0t0 ->(none)
soffice.b 67812 peter 19r VREG 4,39 553150 54133
/usr/local/OpenOffice.org1.1.3/program/resource/sc64501.res
soffice.b 67812 peter 20r VREG 4,39 20452 53568
/usr/local/OpenOffice.org1.1.3/program/resource/vcl64501.res
soffice.b 67812 peter 21u PIPE 0xc290c180 16384 ->0xc290c22c
soffice.b 67812 peter 22u PIPE 0xc290c22c 0 ->0xc290c180
ddb shows:
0xc3dfb044: c2243c38 c2900000 0 0
0xc3dfb054: 0 c1968d24 c06e29c0 c2534580
0xc3dfb064: 3 0 0 0
0xc3dfb074: 0 0 0 0
0xc3dfb084: 0 c3dfb6e8 c1bf0660 1
67812 c2439388 d9323000 204 1 67808 028c083 stop(threaded) soffice.bin
thread 0xc1e92c80 ksegrp 0xc2220690 [SUSP]
thread 0xc21aa7d0 ksegrp 0xc2220690 [SLPQ spltwt 0xc1130238][SLP]
thread 0xc4334960 ksegrp 0xc2220690 [SUSP]
thread 0xc21b6c80 ksegrp 0xc2220690 [SUSP]
thread 0xc1e8e190 ksegrp 0xc2220690 [SLPQ accept 0xc293c17e][SLP][SUSP]
thread 0xc21b67d0 ksegrp 0xc2000b60 [SUSP]
--
Peter Jeremy