[Varnish] #784: Varnish crash at HSH_Lookup()

Varnish varnish-bugs at varnish-cache.org
Wed Jan 26 23:53:30 CET 2011


#784: Varnish crash at HSH_Lookup()
----------------------+-----------------------------------------------------
 Reporter:  censored  |       Owner:  phk                     
     Type:  defect    |      Status:  new                     
 Priority:  normal    |   Milestone:                          
Component:  varnishd  |     Version:  2.1.3                   
 Severity:  normal    |    Keywords:  varnishd HSH_Lookup died
----------------------+-----------------------------------------------------

Comment(by rklahn):

 I was seeing the "Error in munmap()" on Ubuntu 10.04.1
 LTS/2.6.32-27-generic. With some help from the #varnish IRC channel, I was
 able to track this down to varnishd hitting the number of memory maps per
 process limit. This is tunable in /proc/sys/vm/max_map_count.

 If you add this to your /etc/sysctl.conf, then do a sysctl -p, you should
 be able to make this problem go away.

 {{{
 # Increase the number of memory maps a process can have
 vm.max_map_count = 262144
 }}}

 You can monitor the number of memory maps a process has by doing a

 {{{
 # ex: cat /proc/15130/maps | wc -l
 cat /proc/<pid of varnish child process>/maps | wc -l
 }}}

-- 
Ticket URL: <http://varnish-cache.org/trac/ticket/784#comment:6>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list