Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running Varnish 3.x on a RHEL5 server. After starting varnish, ps ax |grep varnish gives:

[root@ip-... ec2-user]# ps ax |grep varnish
 2747 ?        Ss     0:00 /usr/sbin/varnishd -P /var/run/ -a :80 -T localhost:6082 -f /etc/varnish/idea-int.vcl -u varnish -g varnish
 2748 ?        Sl     0:00 /usr/sbin/varnishd -P /var/run/ -a :80 -T localhost:6082 -f /etc/varnish/idea-int.vcl -u varnish -g varnish

And /var/run/ shows 2747.

Is this normal?

share|improve this question
up vote 7 down vote accepted

Yes, it's normal. One handles normal connections, the other handles the admin.

You can check which is which by using netstat:

# netstat -ntlp | grep varnish
tcp    0  0*               LISTEN      8935/varnishd   
tcp    0  0*               LISTEN      8934/varnishd   

As you can see one binds to the admin port (6082) on the loopback interface, while the other binds to the main port (80 in my case and in most).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.