[Varnish] #273: running out of virtual memory on 32 bit server
Varnish
varnish-bugs at projects.linpro.no
Tue Aug 5 13:46:27 CEST 2008
#273: running out of virtual memory on 32 bit server
------------------------+---------------------------------------------------
Reporter: chrisrixon | Owner: des
Type: defect | Status: reopened
Priority: normal | Milestone: Varnish 1.2
Component: build | Version: 1.1.2
Severity: major | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by chrisrixon):
> If you run varnishd with "-d -d", it will run in the foreground
(remember to type "start" to get it running) and any really weird stuff
will be printed on the terminal.
varnish slowly went up to about 1G of VM and then very rapidly up to 3G at
which point I dropped it from the load balancer:
{{{
# varnish/bin/varnishd/varnishd -d -d -a :80 \
> -b localhost:81 \
> -u varn -g varn \
> -s file,/var/lib/varnish/varnish_storage.bin,128M
storage_file: filename: /var/lib/varnish/varnish_storage.bin size 128 MB.
Using old SHMFILE
Debugging mode, enter "start" to start child
start
child (12493) Started
200 0
Child (12493) said Closed fds: 4 9 10 12 13
Child (12493) said Child starts
Child (12493) said managed to mmap 134217728 bytes of 134217728
Child (12493) said Ready
Manager got SIGINT
Stopping Child
unlink ./vcl.1P9zoqAU.o
}}}
> Also, with the -trunk version, check your syslog for indicative
messages.
Couldn't see anything bad in /var/log/messages
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/273#comment:13>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list