Question about implementation of logging to shm.

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Nov 14 02:57:44 CET 2010


In message <AANLkTinLjzU8kdOneArbk419WAgmDgLZ5E4KKX-9De25 at mail.gmail.com>, Leon
id Vasilyev writes:
>Hello,
>
>Is there any information about implementation of logging to shared
>memory available?
>
>I've run varnishd with strace, but can't see any shmget/shmat syscalls
>neither can i find any calls of shm_open().

We don't use SVID SHM, we simply mmap a file and write it there.

Look for "VSL"

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