logging problems - "Pipe Shut"

Gaute Amundsen gaute at pht.no
Thu Jul 5 21:50:51 CEST 2007


That did the trick for the processing :-D

Only the logging itself left then.
With som luck logger restarts on logrotate every hour will keep that stable 
til 1.1 is out :-)

Gaute

On Thursday 05 July 2007 20:20, Gaute Amundsen wrote:
> On Thursday 05 July 2007 17:18, Dag-Erling Smørgrav wrote:
> > Dag-Erling Smørgrav <des at linpro.no> writes:
> > > Gaute Amundsen <gaute at pht.no> writes:
> > > > log.1 works, and log.2 segfaults
> > >
> > > They both work fine here, with varnishncsa from trunk (although on a
> > > 64-bit machine)
> >
> > I just realized - maybe you ran across the bug that was fixed in r1531.
>
> You mean this one?
> Wil try that then.
>
> Gaute
>
> Index: trunk/varnish-cache/bin/varnishncsa/varnishncsa.c
> ===================================================================
> --- trunk/varnish-cache/bin/varnishncsa/varnishncsa.c (revision 1525)
> +++ trunk/varnish-cache/bin/varnishncsa/varnishncsa.c (revision 1531)
> @@ -156,5 +156,5 @@
>
>  	/* trim trailing space */
> -	while (str[len - 1] == ' ')
> +	while (len && str[len - 1] == ' ')
>  		--len;

-- 
Programmerer - Pixelhospitalet AS
Tørkoppveien 10, 1570 Dilling
Tlf. 24 12 97 81 - 9074 7344



More information about the varnish-misc mailing list