Re: r238860: bsdtar: eating up 100% CPU, hanging
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD5EEE839404FEB754FB5D9ED
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Am 07/29/12 19:19, schrieb Martin Matuska:
> Do you still have this problem after r238882?
>=20
> D=C5=88a 28. 7. 2012 19:21 O. Hartmann wrote / nap=C3=ADsal(a):
>> When updating ports (like databases/sqlite3 or graphics/png via
>> portmaster graphics/png), the installation process comes to a point
>> where a backup of the old port is created with bsdtar. The process han=
gs
>> then:
>>
>> =3D=3D=3D>>> Starting build for graphics/png <<<=3D=3D=3D
>>
>> =3D=3D=3D>>> All dependencies are up to date
>>
>>
>> =3D=3D=3D>>> Creating a backup package for old version png-1.5.12
>> load: 1.38 cmd: bsdtar 99286 [running] 1301.04r 1296.34u 0.00s 100% 5=
656k
>>
>>
>> And a look on top:
>>
>> last pid: 3365; load averages: 1.49, 1.44, 1.41
>> up 0+04:39:08
>> 19:17:44
>> 65 processes: 2 running, 63 sleeping
>> CPU: 50.4% user, 0.0% nice, 1.0% system, 0.0% interrupt, 48.6% idle=
>> Mem: 521M Active, 3599M Inact, 3424M Wired, 32M Cache, 826M Buf, 323M =
Free
>> ARC: 1970M Total, 672M MRU, 1224M MFU, 48K Anon, 46M Header, 28M Other=
>> Swap: 32G Total, 32G Free
>>
>> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCP=
U
>> COMMAND
>> 99286 root 1 103 0 71724K 5672K CPU1 1 24:10 100.0=
0%
>> bsdtar
>> 1339 root 1 21 0 3221M 38008K select 1 3:02 1.71=
%
>> Xorg
>> 3364 ohartmann 28 20 0 634M 301M uwait 1 0:06 0.63=
%
>> thunderbird
>> 737 root 1 20 0 16520K 1492K select 0 0:42 0.00=
%
>> moused
>> 3286 ohartmann 22 20 0 681M 368M uwait 1 0:14 0.00=
%
>> firefox
>> 1469 ohartmann 1 20 0 72364K 10612K select 1 0:05 0.00=
%
>> xterm
>>
>>
>> I can circumvent by doing a make reinstall in the port's directory, bu=
t
>> this doesn't work for ports which copy files around using tar - like
>> www/firefox and mail/thunderbird (which also get stuck when bsdtar is
>> involved).
>>
>> My operating system is
>> FreeBSD 10.0-CURRENT #0 r238860: Sat Jul 28 11:28:38 CEST 2012
>>
>> buildworld and kernel from today's sources, ports seem to be up to dat=
e,
>> I updated everything successfully before installing the new world whic=
h
>> seems to be faulty.
>>
>> I also recompiled usr.bin/tar separately and installed it, but without=
>> success.
>>
>> What to do?
>>
>> regards,
>>
>> Oliver
The specific problem has gone - bsdtar now performs well. But another
issue occurs now:
Ports like mail/thunderbird or www/firefox which seems to install using
bsdtar, install files with weird access bits set: --xr-xr-x
I need to adjust the access bits manually. I do not know whether this is
also libarchive related.
I did not investigate further due to time constraints.
Regards,
Oliver
--------------enigD5EEE839404FEB754FB5D9ED
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iQEcBAEBAgAGBQJQFbZmAAoJEOgBcD7A/5N8yZQIAN7XgXnaUfPDo+0Ix3mn2U8N
ihQ/+9/vB5hbg52UzskX7aM+Ow7SDuUHUy0G1q0HjvtWbXDYGZLE8kzl4fSp4hDf
hp+99zVFT2Hv59LdobmYgT+/Olv9M80GxC5qHD+9s78CK5GXgQgxRefWvfJdy7io
Ae6AkVvyXOBRsOTbzRO8EKGDeYxCFo3ECes5bZ+T+ziVrG8ljHDsmudkUoWfGvXE
aLyHu3nnTbgkrzhms/XM8nqDhRkJXNV22oHrPzQA58XSnoLCzEU4ymrU3cGX0dQS
eBeVS9P8fm2D9ynmp34Tj+iN4w8Z4lIz/VJw/AzPBvSX3e7Yj1m4ywrD9tAsUkE=
=xmY3
-----END PGP SIGNATURE-----
--------------enigD5EEE839404FEB754FB5D9ED--
討論串 (同標題文章)
完整討論串 (本文為第 8 之 9 篇):