varnish + gatling http first read error: EOF

2016-09-21 Thread Tobias Honacker
Hi all,

we are facing some issues trying to stresstest our oAuth App using Varnish
4.0.3 and Gatling

Infra:

LB -> Apache (SSL Offloading) + Varnish -> Appserver (Apache + Tomcat)

Varnishlog:
http://pastebin.com/tCWgi01H

VCL:
http://pastebin.com/cEdzAwxs

tcpdump on our app server with 1 req/s (varnishlog 200):
http://pastebin.com/XFVsANiN

tcpdump on our app server with >= 2 req/s (varnishlog 503er):
http://pastebin.com/f2EKADpx

If varnish throws HTTP 503 the connection: close header is missing

Running tests using pipe works fine, because pipe sets connection: close
Running tests without varnish works fine, too.

The Apaches using KeepAlive:

KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 10


Any suggestions?

Thanks in advance and best regards
Tobias
___
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Is varnish agent is an open source what are the dependency so required

2016-09-21 Thread akshay accha
I am not able to install varnish-agent what dependencies are required and
what is the procedure to install varnish-agent such that i already have
varnish 4.1 installed and have ubuntu as os. I have the vagent2-master file
in /etc/vagent2-master how to install varnish agent from here ?
___
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Re: varnish + gatling http first read error: EOF

2016-09-21 Thread Guillaume Quintard
Look at varnishlog, and find the error in the log. And possibly look at a
few BeReq before that.

I've seen apache wrongly replying 304 with body. As Varnish expect no body,
it bytes are read as the next request's headers, and as you can guess, that
doesn't work well. You may be affected my a variant of that.

On Sep 21, 2016 11:14, "Tobias Honacker"  wrote:

> Hi all,
>
> we are facing some issues trying to stresstest our oAuth App using Varnish
> 4.0.3 and Gatling
>
> Infra:
>
> LB -> Apache (SSL Offloading) + Varnish -> Appserver (Apache + Tomcat)
>
> Varnishlog:
> http://pastebin.com/tCWgi01H
>
> VCL:
> http://pastebin.com/cEdzAwxs
>
> tcpdump on our app server with 1 req/s (varnishlog 200):
> http://pastebin.com/XFVsANiN
>
> tcpdump on our app server with >= 2 req/s (varnishlog 503er):
> http://pastebin.com/f2EKADpx
>
> If varnish throws HTTP 503 the connection: close header is missing
>
> Running tests using pipe works fine, because pipe sets connection: close
> Running tests without varnish works fine, too.
>
> The Apaches using KeepAlive:
>
> KeepAlive On
> MaxKeepAliveRequests 100
> KeepAliveTimeout 10
>
>
> Any suggestions?
>
> Thanks in advance and best regards
> Tobias
>
> ___
> varnish-misc mailing list
> varnish-misc@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
___
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Re: Is varnish agent is an open source what are the dependency so required

2016-09-21 Thread Guillaume Quintard
Are you using the ubuntu packages or compiling from source?

-- 
Guillaume Quintard

On Wed, Sep 21, 2016 at 12:31 PM, akshay accha 
wrote:

> I am not able to install varnish-agent what dependencies are required and
> what is the procedure to install varnish-agent such that i already have
> varnish 4.1 installed and have ubuntu as os. I have the vagent2-master file
> in /etc/vagent2-master how to install varnish agent from here ?
> ___
> varnish-misc mailing list
> varnish-misc@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
___
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Re: Is varnish agent is an open source what are the dependency so required

2016-09-21 Thread Guillaume Quintard
Try installing the varnish-agent package, it'll be much easier.

Please, keep varnish-misc address in the CC when you reply.

-- 
Guillaume Quintard

On Wed, Sep 21, 2016 at 5:08 PM, akshay accha 
wrote:

> Url for varnish agent I downloaded the master file from
> https://github.com/varnish/vagent2 .
>
> Varnish 4.1 I installed using Ubuntu package and I tried installing
> varnishagent but it could not develope dependency tree so I downloaded
> master file and tried installing it.
>
> Could you please tell me how to install varnish agent given that I already
> have varnish 4.1 installed using Ubuntu package
>
> On Wednesday, 21 September 2016, Guillaume Quintard <
> guilla...@varnish-software.com> wrote:
>
>> I don't know what you are talking about, what was the URL you downloaded
>> it from?
>>
>> --
>> Guillaume Quintard
>>
>> On Wed, Sep 21, 2016 at 4:44 PM, akshay accha 
>> wrote:
>>
>>> I have downloaded the master file and moved it to the destination folder
>>> as mentioned ,how do I proceed ?
>>>
>>>
>>> On Wednesday, 21 September 2016, Guillaume Quintard <
>>> guilla...@varnish-software.com> wrote:
>>>
 Are you using the ubuntu packages or compiling from source?

 --
 Guillaume Quintard

 On Wed, Sep 21, 2016 at 12:31 PM, akshay accha  wrote:

> I am not able to install varnish-agent what dependencies are required
> and what is the procedure to install varnish-agent such that i already 
> have
> varnish 4.1 installed and have ubuntu as os. I have the vagent2-master 
> file
> in /etc/vagent2-master how to install varnish agent from here ?
> ___
> varnish-misc mailing list
> varnish-misc@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>


>>
___
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

I have installed varnish-agent but it has some issues.

2016-09-21 Thread akshay accha
varnish-agent -H option is not working and when i type man varnish-agent
the -H option is not there what might be the solution?
___
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc