System can't take more than 5k req /sec
Norberto Meijome
numard at gmail.com
Wed Apr 30 01:00:20 CEST 2014
Have you ruled out AWS limits? Putting varnish aside for a minute, can you
handle 5k/sec TCP conns with something like nginx +static files.?
On 30/04/2014 4:35 am, "Jason Price" <japrice at gmail.com> wrote:
> (And Jorge: iptables isn't in play at all. lsmod | grep iptables
> shows nothing.)
>
> On Mon, Apr 28, 2014 at 4:37 PM, <lnsano at bol.com.br> wrote:
> > Could you print the output for?
> > $ ss -s
> > $ sudo sysctl -a|egrep
> > "ip_local_port_range|tcp_max_tw_buckets|backlog|somaxconn"
>
> [root at XXXXXXXXX ~]# ss -s
> Total: 853 (kernel 6127)
> TCP: 695 (estab 292, closed 94, orphaned 0, synrecv 0, timewait 94/0),
> ports 0
>
> Transport Total IP IPv6
> * 6127 - -
> RAW 0 0 0
> UDP 8 5 3
> TCP 601 598 3
> INET 609 603 6
> FRAG 0 0 0
>
> [root at XXXXXXXXX ~]# sysctl -a|egrep
> "ip_local_port_range|tcp_max_tw_buckets|backlog|somaxconn"
> net.core.netdev_max_backlog = 5000
> net.core.somaxconn = 512
> net.ipv4.ip_local_port_range = 32768 61000
> net.ipv4.tcp_max_syn_backlog = 4096
> net.ipv4.tcp_max_tw_buckets = 131072
>
> This system isn't under super heavy load currently (about 400 req/sec)
> but it has been at max load.
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140430/0042faf2/attachment.html>
More information about the varnish-misc
mailing list