Re: Git throwing bus error when pack files not entirely cached

Ciprian Dorin Craciun <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.general
Message-ID <CA+Tk8fx=KaRMWgx_DxKWCv14OmuUG6HP+ynZuC97KuE8OKFZUw@mail.gmail.com>
Sorry for reviving this old thread, but this happened to me also.


My details:
* the same computer is used as both server and client;
* openSUSE 15.0 as distribution;
* Linux 4.12.14-lp150.12.79-default x86_64
* OpenAFS 1.8.0-lp150.2.2.1 (both client and server packages);
* OpenAFS `kmp-default` 1.8.0_k4.12.14_lp150.12.13-lp150.2.2.1;
* Git 2.16.4;
* large Git repository:
  * ~30 GiB;
  * most objects are packed;
  * largest pack is ~2.5 GiB;
  * a few are 200-400 MiB;
  * most are under 128 MiB;
* contents of `/etc/openafs/cacheinfo`:
  /afs:/var/cache/openafs:33554432
* `/var/cache/openafs` is on Ext4 and still has a lot of space free;
* nothing useful in neither `dmesg` or logs;
* `afsd` is started as:
~~~~
/usr/sbin/afsd -blocks 33554432 -chunksize 17 -files 524288
-files_per_subdir 4096 -dcache 524288 -stat 524288 -volumes 4096
-splitcache 90/10 -afsdb -dynroot-sparse -fakestat-all -inumcalc md5
-backuptree -daemons 8 -rxmaxfrags 8 -rxmaxmtu 1400 -rxpck 4096
-nosettime
~~~~


How to provoke it:  run one of the following:

~~~~
git fsck --root --tags --no-reflogs --full --connectivity-only
--unreachable --dangling --name-objects

git fsck --root --tags --no-reflogs --full --strict --unreachable
--dangling --name-objects
~~~~

At random times I get:
~~~~
Bus error (core dumped)
~~~~


If one wants to try this and doesn't have a large enough repository, I
would recommend:

    https://github.com/cdnjs/cdnjs


I haven't yet tried to preload the files.


Hope it helps find the issue,
Ciprian.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.