--batch-command seems to be causing problems with ViewVCS.
I've been noticing "Failed to retrieve generated blob" errors in
syslog. It doesn't affect any mail retrievals AFAIK, since
those are (currently) separate processes and those are contents-only
(no info header-only retrievals)
Not sure what's going on, yet, but using this to gather
more data:
diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm
index 5fd46610..0fb77c06 100644
--- a/lib/PublicInbox/ViewVCS.pm
+++ b/lib/PublicInbox/ViewVCS.pm
@@ -549,7 +549,8 @@ sub show_blob { # git->cat_async callback
my ($blob, $oid, $type, $size, $ctx) = @_;
if (!$blob) {
my $e = "Failed to retrieve generated blob ($oid)";
- warn "$e ($ctx->{git}->{git_dir}) type=$type";
+ warn("$e ($ctx->{git}->{git_dir}) type=$type ",
+ "u=$ctx->{env}->{REQUEST_URI}".Carp::longmess()."\n");
return html_page($ctx, 500,
"<pre><b>$e</b></pre>".dbg_log($ctx))
}