Question about threads

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jun 23 10:14:55 CEST 2008


In message <1fgi7aymrnf7fpf.230620081007 at torlen.net>, duja at torlen.net writes:

>1. The 32bits arch (cant open threads and the storage file is too
>small), so im moving into 64bits.

Yes, 32bit is generally not big enough to Varnish for non-trivial
workloads.

>2. The cpu usage of the "listener process" with 20000 hits/sec is
>getting to 100% in one CPU.

You may want to try to update to a -trunk version and play a bit
with the session_linger parameter, every time you get a tick in
the "Session Linger" counter, that's one request that took a
shortcut.

I have an idea for a more comprehensive shortcut for new sessions
but that will have to wait until after 2.0.

-- 
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