bin/132452: System libarchive (bsdtar(1)) blocks work of system. (CPU 100%)

Andrei V. Lavreniyuk andy.lavr at reactor-xg.kiev.ua
Mon Mar 9 14:18:17 PDT 2009


gavin at FreeBSD.org:

> Old Synopsis: System libarchive (bsdtar) blocks work of system. (CPU 100%)

> Also, could you please run "truss -p pid" on the looping tar process,    
> and show approximately 100-200 lines of output?  Finally, please
> run "procstat -kk pid" on the process several times, and show all the
> output.


1:

# tar --version
bsdtar 2.6.901a - libarchive 2.6.901a


2:

# tar -c -f test.tar.gz /var/tmp/bdb


3:

# truss -p 22082


4:


# procstat -kk 22082
   PID    TID COMM             TDNAME           KSTACK
22082 100222 bsdtar           -                <running>



5:


last pid: 22127;  load averages:  0.97,  0.40,  0.16 
 
                                             up 0+08:04:50  22:40:53
220 processes: 6 running, 193 sleeping, 21 waiting
CPU 0:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 1:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 2:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 3:  0.0% user,  0.0% nice,  100% system,  0.0% interrupt,  0.0% idle
Mem: 118M Active, 9808K Inact, 1030M Wired, 288K Cache, 320K Buf, 639M Free
Swap: 5120M Total, 5120M Free

   PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    CPU 
COMMAND
    11 root          4 171 ki31     0K   128K CPU0    0  32.0H 300.00% idle
22082 root          1  44    0  8104K  1424K CPU3    0   0:30 100.00% bsdtar







-- 
  Best regards, Andrei V. Lavreniyuk.



More information about the freebsd-amd64 mailing list