Not able to run multiple varnish instances on single maschine - Pushing vcls failed:#012CLI communication error (hdr)

Arne Mohr arne.mohr at s24.com
Mon May 14 17:38:56 CEST 2012


Hi folks,

i have a problem when i try to run multiple varnish instances on a single
maschine. I have 3 varnishes running on Port 80,81,82 the starting
parameters are:

/usr/sbin/varnishd -P /var/run/varnish-www.portal-a.de.pid -a
10.10.145.41:80 -T localhost:6080 -f /etc/varnish/www.portal-a.de.vcl -S
/etc/varnish/secret -u varnish -g varnish -t 28800 -w 10,1000 -n
www.portal-a.de -i frontend -p thread_pools 4 -p thread_pool_max 1024 -p
thread_pool_min 250 -p listen_depth 2048 -p thread_pool_add_delay 2 -s
malloc,1G

/usr/sbin/varnishd -P /var/run/varnish-www.portal-b.de.pid -a
10.10.145.41:81 -T localhost:6081 -f /etc/varnish/www.portal-b.de.vcl -S
/etc/varnish/secret -u varnish -g varnish -t 28800 -w 10,1000 -n
www.portal-b.de -i frontend -p thread_pools 4 -p thread_pool_max 1024 -p
thread_pool_min 250 -p listen_depth 2048 -p thread_pool_add_delay 2 -s
malloc,1G

/usr/sbin/varnishd -P /var/run/varnish-www.portal-c.de.pid -a
10.10.145.41:82 -T localhost:6082 -f /etc/varnish/www.portal-c.de.vcl -S
/etc/varnish/secret -u varnish -g varnish -t 28800 -w 10,1000 -n
www.portal-c.de -i frontend -p thread_pools 4 -p thread_pool_max 1024 -p
thread_pool_min 250 -p listen_depth 2048 -p thread_pool_add_delay 2 -s
malloc,1G

The first varnish ist starting up correctly and is also able to process the
incoming requests. Also it's child process is forked in a correct way.
The problem I have occurs when  I try to  start the second varnish.

I found following log entries in my syslog

May 14 14:12:51 webcache01 www.portal-b.de[10021]: Platform:
Linux,2.6.32-220.4.2.el6.x86_64,x86_64,-smalloc,-smalloc,-hcritbit
May 14 14:12:51 webcache01 www.portal-b.de[10021]: child (10022) Started
May 14 14:12:51 webcache01 www.portal-b.de[10021]: Pushing vcls
failed:#012CLI communication error (hdr)
May 14 14:12:51 webcache01 www.portal-b.de[10021]: Child (10022) died
signal=6
May 14 14:12:51 webcache01 www.portal-b.de[10021]: Child (-1) said Missing
errorhandling code in mgt_sandbox(), mgt_sandbox.c line 71:
May 14 14:12:51 webcache01 www.portal-b.de[10021]: Child (-1) said
Condition((setuid(params->uid)) == 0) not true.
May 14 14:12:51 webcache01 www.portal-b.de[10021]: Child (-1) said   errno
= 11 (Resource temporarily unavailable)

At the moment I'm stuck with my problem and I'm not able to find whether a
solution nor a starting point.
Maybe anyone had a similiar problem and has some tips for me?

With best regards!
-- 
Arne Mohr · Software-Entwickler
Backend Development
shopping24 internet group

Wandsbeker Straße 3-7 · 22172 Hamburg
Telefon: +49 (0) 40 6461 8986 · Fax: +49 (0) 40 6461 7879
arne.mohr at s24.com · www.s24.com
AG Hamburg HRB 63371
vertreten durch Dr. Björn Schäfers und Martin Mildner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120514/a2d93e0a/attachment.html>


More information about the varnish-misc mailing list