Hi folks,<br><br>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:<br><br>/usr/sbin/varnishd -P /var/run/varnish-www.portal-a.de.pid -a <a href="http://10.10.145.41:80">10.10.145.41:80</a> -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 <a href="http://www.portal-a.de">www.portal-a.de</a> -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<br>
<br>/usr/sbin/varnishd -P /var/run/varnish-www.portal-b.de.pid -a 
<a href="http://10.10.145.41:81">10.10.145.41:81</a> -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 <a href="http://www.portal-b.de">www.portal-b.de</a> -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<br>
<br>/usr/sbin/varnishd -P /var/run/varnish-www.portal-c.de.pid -a 
<a href="http://10.10.145.41:82">10.10.145.41:82</a> -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 <a href="http://www.portal-c.de">www.portal-c.de</a> -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<br>
<br>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.<br>The problem I have occurs when  I try to  start the second varnish.<br>
<br>I found following log entries in my syslog<br><br>May 14 14:12:51 webcache01 <a href="http://www.portal-b.de">www.portal-b.de</a>[10021]: Platform: Linux,2.6.32-220.4.2.el6.x86_64,x86_64,-smalloc,-smalloc,-hcritbit<br>
May 14 14:12:51 webcache01 <a href="http://www.portal-b.de">www.portal-b.de</a>[10021]: child (10022) Started<br>May 14 14:12:51 webcache01 <a href="http://www.portal-b.de">www.portal-b.de</a>[10021]: Pushing vcls failed:#012CLI communication error (hdr)<br>
May 14 14:12:51 webcache01 <a href="http://www.portal-b.de">www.portal-b.de</a>[10021]: Child (10022) died signal=6<br>May 14 14:12:51 webcache01 <a href="http://www.portal-b.de">www.portal-b.de</a>[10021]: Child (-1) said Missing errorhandling code in mgt_sandbox(), mgt_sandbox.c line 71:<br>
May 14 14:12:51 webcache01 <a href="http://www.portal-b.de">www.portal-b.de</a>[10021]: Child (-1) said   Condition((setuid(params->uid)) == 0) not true.<br>May 14 14:12:51 webcache01 <a href="http://www.portal-b.de">www.portal-b.de</a>[10021]: Child (-1) said   errno = 11 (Resource temporarily unavailable)<br>
<br>At the moment I'm stuck with my problem and I'm not able to find whether a solution nor a starting point.<br>Maybe anyone had a similiar problem and has some tips for me?<br><br>With best regards!<br>-- <br><span style="font-family:sans-serif;font-size:13px">Arne Mohr · Software-Entwickler<br>
Backend Development<br>shopping24 internet group<br><br>Wandsbeker Straße 3-7 · 22172 Hamburg<br>Telefon: +49 (0) 40 6461 8986 · Fax: +49 (0) 40 6461 7879<br><a href="mailto:arne.mohr@s24.com" target="_blank">arne.mohr@s24.com</a> · <a href="http://www.s24.com/" target="_blank">www.s24.com</a><br>
AG Hamburg HRB 63371<br>vertreten durch Dr. Björn Schäfers und </span><span style="font-family:sans-serif;font-size:13px">Martin Mildner</span><br>