[Varnish] #133: Varnish 1.1 dies with assert error in HSH_Ref

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Jul 26 10:37:02 CEST 2007

In message <052.662bbe1925b2879c08b0767221ea6600 at projects.linpro.no>, "Varnish"

>#133: Varnish 1.1 dies with assert error in HSH_Ref

> Child said (2, 7371): <<getnameinfo = 5 ai_family not supported
> getnameinfo = 5 ai_family not supported
> >>
> Child said (2, 7371): <<Assert error in HSH_Ref(), cache_hash.c line 221:
>   Condition((oh)->magic == 0x1b96615d) not true.
>   errno = 0 (Unknown error: 0)

Varnish is not resistant against running out of malloc space and far
too many places still have asserts instead of proper handling of this.
This obviously needs to be fixed over time.

But I still quite can't make sense out of this, because I conclude
that you are running on a 64 bit system and so you shouldn't really
run out of memory this early.

Can I get you to double check the per process limits limits(1)/ulimit(1)
are on your machine?

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-bugs mailing list