From: "Randall S. Becker" <rsbecker@nexbridge.com>
To: "'Duy Nguyen'" <pclouds@gmail.com>
Cc: "'Git Mailing List'" <git@vger.kernel.org>,
<jojo@schmitz-digital.de>, <mike_kilpatrick@nskopensource.com>
Subject: RE: [Not Git Bug] Commit generates GC repack failure
Date: Mon, 14 Jan 2019 18:41:01 -0500 [thread overview]
Message-ID: <000c01d4ac62$9f1c9510$dd55bf30$@nexbridge.com> (raw)
On January 14, 2019 10:07, Duy Nguyen wrote:
> To: Randall S. Becker <rsbecker@nexbridge.com>
> Cc: Git Mailing List <git@vger.kernel.org>
> Subject: Re: [Possible Bug] Commit generates GC repack failure
>
> On Mon, Jan 14, 2019 at 10:03 PM Duy Nguyen <pclouds@gmail.com>
> wrote:
> >
> > On Mon, Jan 14, 2019 at 9:51 PM Randall S. Becker
> > <rsbecker@nexbridge.com> wrote:
> > >
> > > Hi All,
> > >
> > > I'm trying to track down what happened this morning. We had a commit
> > > that caused a background gc to occur. What happened was:
> > >
> > > $ git commit -m "history commit ... "
> > > Auto packing the repository in background for optimum performance.
> > > See "git help gc" for manual housekeeping.
> > > warning: The last gc run reported the following. Please correct the
> > > root cause and remove .git/gc.log.
> > > Automatic cleanup will not be performed until the file is removed.
> > >
> > > fatal: open /dev/null failed: Invalid function argument
> >
> > sanitize_stdfds() in setup.c can attempt to open /dev/null then
> > redirect stdout and stderr to it. I think this is part of the
> > daemonization that is done in background gc.
>
> However the message does not match. I think you will find this "open
> /dev/null failed" line in run-command.c
Mystery solved. The problem seems to occur with garbage collection on older versions of the operating system than the one we built 2.20.1 on. We sent out the advice to revert to 2.16.2, which was built on a prior revision that did not introduce incompatibilities. This was a specific situation with header files on a new version of the OS that introduced incompatibilities. The impact was not limited to the line in run-command.c, but was way more extensive.
Thanks for the help,
Randall
reply other threads:[~2019-01-14 23:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000c01d4ac62$9f1c9510$dd55bf30$@nexbridge.com' \
--to=rsbecker@nexbridge.com \
--cc=git@vger.kernel.org \
--cc=jojo@schmitz-digital.de \
--cc=mike_kilpatrick@nskopensource.com \
--cc=pclouds@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).