Mailing List Archive

varnishd eats CPU more and more..
Hello, all.

I have setup varnishd 1.1.1 at several linux servers.(centos 3.x, all versions are same)
and works right without any problem except one server.

at that server, varnishd process eats the %CPU more and more and grows continuously like below.

first %CPU is just 1%,
after 10 minutes 10%.
after 20 minutes 20%.
......

after one hour 104% like below, load average is over 60
....


USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
nobody 24853 104 2.7 105212236 219976 ? Tl 16:49 81:16 /usr/local/sbin/varnishd -T 127.0.0.1:6082 -f /etc/varnish/vcl.conf -P /var/run/varnish/varn


There are just 10Mbps and there is not lots of visitors.


How can I solve this problem??



Regards.

_________________________________________________________________
MSN ???? ??? ??, Windows Live Messenger!
http://windowslive.msn.co.kr/wlm/messenger/
varnishd eats CPU more and more.. [ In reply to ]
I'm not very linux-clued, but if you have a facility like FreeBSD's
ktrace(1) which logs which system calls a process does, a few hundred
lines of output from that would be useful.

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