Few questions regarding varnish with FreeBSD
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Apr 24 23:55:00 CEST 2012
In message <CAEJj9Cw0X2A2s=oAA_0MN9h4TYH14qYBUJPKE8CBdc5dR80MQA at mail.gmail.com>, "Nicole H." writes:
>1) Is it better to use malloc or to create a memory disk?
Malloc is better.
>2) Any idea why a FreeBSD server running varnish takes forever to shutdown
>or restart if rebooted?
> When performing say a shutdown -r now / -h now The system will stay at
>"All Buffers Synced" once I let it run and it took an hour to finally
>reach Uptime: TIME / The operating system has halted.(for -h)
Interesting, havn't seen that one before.
What happens if you run the "sync" command before shutdown ?
>3) I have a cache server with 3 disks 135 gigs ea and 4 Gigs ram. The
>disks are only 8G full ea.
> Why would my n_lru_nuked (381451 ) be so high?
If this is a 32bit system, you are limited by the 32bit address space
and Varnish can probably only get about 3GB of address space for caching.
--
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-misc
mailing list