Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Виснет emerge. Что делать? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Balancer
Guru
Guru


Joined: 04 Jun 2004
Posts: 465

PostPosted: Fri Aug 15, 2008 1:28 pm    Post subject: Виснет emerge. Что делать? [solved] Reply with quote

Собственно, при попытке что-то заемержить оно тупо виснет.

Опция -d выдаёт:

Code:

...
>>> Emerging (1 of 238) dev-util/pkgconfig-0.23 to /
+ dyn_clean
+ '[' -z /var/tmp/portage/dev-util/pkgconfig-0.23 ']'
+ '[' '!' -d /var/tmp/portage/dev-util/pkgconfig-0.23 ']'
+ type -P chflags
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/image /var/tmp/portage/dev-util/pkgconfig-0.23/homedir
+ hasq keeptemp autoaddcvs autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch
+ [[  autoaddcvs autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch   == *\ \k\e\e\p\t\e\m\p\ * ]]
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/temp
+ hasq keepwork autoaddcvs autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch
+ [[  autoaddcvs autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch   == *\ \k\e\e\p\w\o\r\k\ * ]]
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/.exit_status
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/.logid
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/.unpacked
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/.compiled
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/.tested
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/.installed
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/.packaged
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/build-info
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/work
+ '[' -f /var/tmp/portage/dev-util/pkgconfig-0.23/.unpacked ']'
+ rm -rf /var/tmp/portage/dev-util/pkgconfig-0.23/distdir
++ find /var/tmp/portage/dev-util/pkgconfig-0.23 -mindepth 1 -maxdepth 1
+ '[' -z '' ']'
+ rmdir /var/tmp/portage/dev-util/pkgconfig-0.23
+ true
+ set +x


И всё. На этом - тишина.

Есть мысли куда ковырять?

/var/tmp "врчную" работает без нареканий.


Last edited by Balancer on Fri Aug 15, 2008 3:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Laitr Keiows
Moderator
Moderator


Joined: 04 Jul 2005
Posts: 891
Location: Kobe, Japan

PostPosted: Fri Aug 15, 2008 3:03 pm    Post subject: Reply with quote

А если запустить под strace?
Back to top
View user's profile Send private message
Balancer
Guru
Guru


Joined: 04 Jun 2004
Posts: 465

PostPosted: Fri Aug 15, 2008 3:39 pm    Post subject: Reply with quote

Laitr Keiows wrote:
А если запустить под strace?


Ага, спасибо за идею.
Code:

stat64("/usr/portage/distfiles/.locks/.pkg-config-0.23.tar.gz.portage_lockfile", {st_mode=S_IFREG|0660, st_size=0, ...}) = 0
futex(0x83e2bf0, FUTEX_WAKE, 1)         = 0
open("/usr/portage/distfiles/.locks/.pkg-config-0.23.tar.gz.portage_lockfile", O_RDWR|O_CREAT|O_LARGEFILE, 0660) = 5
futex(0x83e2bf0, FUTEX_WAKE, 1)         = 0
fcntl64(5, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}


Грохнул все .lock-файлы - пофиг, всё то же самое.

/usr/portage/distfiles у меня на NFS. Но раньше (несколько лет) всё работало без нареканий :-/
Back to top
View user's profile Send private message
Balancer
Guru
Guru


Joined: 04 Jun 2004
Posts: 465

PostPosted: Fri Aug 15, 2008 3:47 pm    Post subject: Reply with quote

Всё, прочихалось. Какой-то затык на NFS был. Перезагрузил сервер - заработало.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum