Re: [squid-users] limit number of request per pconn

From: Angel Mieres <amieres@dont-contact.us>
Date: Wed, 10 Jan 2007 09:33:38 +0000

>
> >
> >Does it mean the answer is "no"?
> >
>
> I don't think there is such a directive in squid.conf for this control.
> But you can do it by decrease the FD number used by Squid (though I don't recommend this way).
> For example,you may do it under Linux:
> # ulimit -HSn 1024; ./squid
>
> Then Squid would server max 1024 requests at the same time.
>
>
> --
> Books below translated by me to Chinese.
> Practical mod_perl: http://home.earthlink.net/~pangj/mod_perl/
> Squid the Definitive Guide: http://home.earthlink.net/~pangj/squid/
>

Maybe you need to use iptables with connlimit patch's for this. Could be
more clean than modify the FD number.
Received on Wed Jan 10 2007 - 01:33:57 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST