Comment 6 for bug 665082

Revision history for this message
gpk (gpk-kochanski) wrote :

It did it again, this time with no kernel upgrade.
Bzr diff hangs, and kill -9 doesn't stop it.
Nfsd, rpciod, nfsiod, and kthreadd are running afterwards, and I don't see any system activity that could explain their activity.

I moved to the server directory, and tried some bzr commands as follows:

$ bzr diff
bzr: ERROR: Could not acquire lock "/export/gpk/Documents/2010/predict_next/.bzr/checkout/dirstate": [Errno 11] Resource temporarily unavailable
$ ps -e -f | grep bzr
gpk 9578 9512 0 08:51 ? 00:00:00 /usr/bin/python /usr/bin/bzr-notify
gpk 11416 9809 0 11:55 pts/1 00:00:00 /usr/bin/python /usr/bin/bzr diff
gpk 19849 20672 0 11:58 pts/3 00:00:00 grep bzr
$ kill 11416
$ kill -9 11416
$ ps -e -f | grep bzr
gpk 9578 9512 0 08:51 ? 00:00:00 /usr/bin/python /usr/bin/bzr-notify
gpk 11416 9809 0 11:55 pts/1 00:00:00 /usr/bin/python /usr/bin/bzr diff
gpk 26240 20672 0 11:58 pts/3 00:00:00 grep bzr
$ rm /export/gpk/Documents/2010/predict_next/.bzr/checkout/dirstate
desk:predict_next$ bzr diff
bzr: ERROR: invalid header line: ''
$

So, breaking the lock simply reveals that the .bzr directory is in an inconsistent state.

I attach the relevant bit of the output of mount:
localhost:/gpk on /home/gpk/n type nfs4 (rw,intr,addr=127.0.0.1,clientaddr=127.0.0.1)

and /etc/exports:
/export 192.168.2.2(rw,fsid=0,root_squash,no_subtree_check,async) 127.0.0.1(rw,fsid=0,root_squash,no_subtree_check,async) 192.168.3.2(rw,fsid=0,root_squash,no_subtree_check,async)

and the output of find .bzr -ls:
$ find .bzr -ls
2150176 0 drwxrwxr-x 1 gpk gpk 108 Oct 21 10:35 .bzr
2150177 0 drwxrwxr-x 1 gpk gpk 0 Oct 21 10:35 .bzr/branch-lock
2150180 0 -rw-rw-r-- 1 gpk gpk 141 Oct 21 10:35 .bzr/README
2150181 0 -rw-rw-r-- 1 gpk gpk 35 Oct 21 10:35 .bzr/branch-format
2150182 0 drwxrwxr-x 1 gpk gpk 104 Oct 22 23:53 .bzr/repository
2150183 0 drwxrwxr-x 1 gpk gpk 0 Oct 22 23:53 .bzr/repository/lock
2150186 0 drwxrwxr-x 1 gpk gpk 1440 Oct 22 23:53 .bzr/repository/indices
2150223 0 -rw-rw-r-- 1 gpk gpk 165 Oct 21 10:36 .bzr/repository/indices/be4c431cb7cba2707a9aac1cfbde3a8f.rix
2150224 0 -rw-rw-r-- 1 gpk gpk 165 Oct 21 10:36 .bzr/repository/indices/be4c431cb7cba2707a9aac1cfbde3a8f.iix
2150225 0 -rw-rw-r-- 1 gpk gpk 226 Oct 21 10:36 .bzr/repository/indices/be4c431cb7cba2707a9aac1cfbde3a8f.tix
2150226 0 -rw-rw-r-- 1 gpk gpk 72 Oct 21 10:36 .bzr/repository/indices/be4c431cb7cba2707a9aac1cfbde3a8f.six
2150227 0 -rw-rw-r-- 1 gpk gpk 184 Oct 21 10:36 .bzr/repository/indices/be4c431cb7cba2707a9aac1cfbde3a8f.cix
2150312 0 -rw-rw-r-- 1 gpk gpk 188 Oct 21 12:46 .bzr/repository/indices/7a8be53033f27ce13033053c17275f63.rix
2150313 0 -rw-rw-r-- 1 gpk gpk 187 Oct 21 12:46 .bzr/repository/indices/7a8be53033f27ce13033053c17275f63.iix
2150314 0 -rw-rw-r-- 1 gpk gpk 216 Oct 21 12:46 .bzr/repository/indices/7a8be53033f27ce13033053c17275f63.tix
2150315 0 -rw-rw-r-- 1 gpk gpk 72 Oct 21 12:46 .bzr/repository/indices/7a8be53033f27ce13033053c17275f63.six
2150316 0 -rw-rw-r-- 1 gpk gpk 150 Oct 21 12:46 .bzr/repository/indices/7a8be53033f27ce13033053c17275f63.cix
2152677 0 -rw-rw-r-- 1 gpk gpk 227 Oct 22 21:00 .bzr/repository/indices/f3ecd8d5773da7439df1d8437833ca8e.rix
2152678 0 -rw-rw-r-- 1 gpk gpk 227 Oct 22 21:00 .bzr/repository/indices/f3ecd8d5773da7439df1d8437833ca8e.iix
2152679 0 -rw-rw-r-- 1 gpk gpk 224 Oct 22 21:00 .bzr/repository/indices/f3ecd8d5773da7439df1d8437833ca8e.tix
2152680 0 -rw-rw-r-- 1 gpk gpk 72 Oct 22 21:00 .bzr/repository/indices/f3ecd8d5773da7439df1d8437833ca8e.six
2152681 0 -rw-rw-r-- 1 gpk gpk 148 Oct 22 21:00 .bzr/repository/indices/f3ecd8d5773da7439df1d8437833ca8e.cix
2153539 0 -rw-rw-r-- 1 gpk gpk 183 Oct 22 23:53 .bzr/repository/indices/3b2ecd3633cfda9bd3ae8146481686f0.rix
2153540 0 -rw-rw-r-- 1 gpk gpk 180 Oct 22 23:53 .bzr/repository/indices/3b2ecd3633cfda9bd3ae8146481686f0.iix
2153541 0 -rw-rw-r-- 1 gpk gpk 212 Oct 22 23:53 .bzr/repository/indices/3b2ecd3633cfda9bd3ae8146481686f0.tix
2153542 0 -rw-rw-r-- 1 gpk gpk 72 Oct 22 23:53 .bzr/repository/indices/3b2ecd3633cfda9bd3ae8146481686f0.six
2153543 0 -rw-rw-r-- 1 gpk gpk 150 Oct 22 23:53 .bzr/repository/indices/3b2ecd3633cfda9bd3ae8146481686f0.cix
2150187 0 drwxrwxr-x 1 gpk gpk 0 Oct 21 10:35 .bzr/repository/obsolete_packs
2150188 0 drwxrwxr-x 1 gpk gpk 296 Oct 22 23:53 .bzr/repository/packs
2150222 2 -rw-rw-r-- 1 gpk gpk 2358 Oct 21 10:36 .bzr/repository/packs/be4c431cb7cba2707a9aac1cfbde3a8f.pack
2150311 3 -rw-rw-r-- 1 gpk gpk 2720 Oct 21 12:46 .bzr/repository/packs/7a8be53033f27ce13033053c17275f63.pack
2152676 3 -rw-rw-r-- 1 gpk gpk 3418 Oct 22 21:00 .bzr/repository/packs/f3ecd8d5773da7439df1d8437833ca8e.pack
2153538 3 -rw-rw-r-- 1 gpk gpk 3514 Oct 22 23:53 .bzr/repository/packs/3b2ecd3633cfda9bd3ae8146481686f0.pack
2150189 0 drwxrwxr-x 1 gpk gpk 0 Oct 22 23:53 .bzr/repository/upload
2150191 0 -rw-rw-r-- 1 gpk gpk 54 Oct 21 10:35 .bzr/repository/format
2153546 0 -rw-rw-r-- 1 gpk gpk 227 Oct 22 23:53 .bzr/repository/pack-names
2150192 0 drwxrwxr-x 1 gpk gpk 76 Oct 22 23:53 .bzr/branch
2150193 0 drwxrwxr-x 1 gpk gpk 0 Oct 22 23:53 .bzr/branch/lock
2150198 0 -rw-rw-r-- 1 gpk gpk 0 Oct 21 10:35 .bzr/branch/tags
2150199 0 -rw-rw-r-- 1 gpk gpk 39 Oct 21 10:35 .bzr/branch/format
2152671 0 -rw-rw-r-- 1 gpk gpk 250 Oct 22 21:00 .bzr/branch/branch.conf
2153547 0 -rw-rw-r-- 1 gpk gpk 52 Oct 22 23:53 .bzr/branch/last-revision
2150200 0 drwxrwxr-x 1 gpk gpk 88 Oct 23 11:59 .bzr/checkout
2150201 0 drwxrwxr-x 1 gpk gpk 0 Oct 22 23:53 .bzr/checkout/lock
2150204 0 -rw-rw-r-- 1 gpk gpk 40 Oct 21 10:35 .bzr/checkout/format
2150206 0 -rw-rw-r-- 1 gpk gpk 0 Oct 21 10:35 .bzr/checkout/views
2152688 0 -rw-rw-r-- 1 gpk gpk 33 Oct 22 21:00 .bzr/checkout/merge-hashes
2152689 0 -rw-rw-r-- 1 gpk gpk 27 Oct 22 21:00 .bzr/checkout/conflicts
2154324 0 -rw-rw-r-- 1 gpk gpk 0 Oct 23 11:59 .bzr/checkout/dirstate