varnish crash: Error in munmap() / Cannot allocate memory

Enno van Amerongen enno at tty.nl
Tue Jun 25 14:52:25 CEST 2013


_____  

From: Iliya Sharov [mailto:isharov at yandex-team.ru]

                        
Hi!
        Increase vm.max_map_count limit in the sysctl.
  https://www.varnish-cache.org/docs/3.0/tutorial/troubleshooting.html
        
        25.06.2013 16:01, Enno van Amerongen пишет:
                      Error in munmap
heh, excellent, I just found that piece of documentation too and was gonna send it to the list for confirmation, but you beat me to it! awesome ;)


thanks a bunch!


Enno


from the docs:


"Specifically if you see the "Error in munmap" error on Linux you might want to increase the amount of maps available. Linux is limited to a maximum of 64k maps. Setting vm.max_map_count in sysctl.conf will enable you to increase this limit. You can inspect the number of maps your program is consuming by counting the lines in /proc/$PID/maps

This is a rather odd thing to document here - but hopefully Google will serve you this page if you ever encounter this error."  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130625/b50c6205/attachment.html>


More information about the varnish-misc mailing list