Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Mar 2009 22:50:51 +0200
From:      "Andrei V. Lavreniyuk" <andy.lavr@reactor-xg.kiev.ua>
To:        gavin@FreeBSD.org
Cc:        freebsd-amd64@FreeBSD.org
Subject:   Re: bin/132452: System libarchive (bsdtar(1)) blocks work of system. (CPU 100%)
Message-ID:  <49B5812B.6050606@reactor-xg.kiev.ua>
In-Reply-To: <200903092014.n29KEnWr083177@freefall.freebsd.org>
References:  <200903092014.n29KEnWr083177@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
gavin@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49B5812B.6050606>