Re: Max simultaneous connections limit on per-destination basis

2005-11-04 Thread Radu Rendec
Ok, you're right. I don't know exactly what the list policies are and I didn't want to spam with large attachments or pieces of code. I included the 2 functions that I had modified at the end of this message. Hope it's ok. My hook is destdbUpdateActiveRequests(). The second argument is the offset

Re: Max simultaneous connections limit on per-destination basis

2005-11-03 Thread Henrik Nordstrom
On Thu, 3 Nov 2005, Radu Rendec wrote: Is there any chance I could miss a new request or the end of a request? Nothing obvious, but it's always easier to comment on the code than descriptions of the same.. Regards Henrik

Re: Max simultaneous connections limit on per-destination basis

2005-11-03 Thread Radu Rendec
Hi! Henrik, thank you so much for taking the time to answer my question! Most likely cache_peer is the way I should go (I have already found some documentation in the wiki and I'll move to squid-users for further help with this). But completely changing the setup is not very easy to do - there are

Re: Max simultaneous connections limit on per-destination basis

2005-11-02 Thread Henrik Nordstrom
On Wed, 2 Nov 2005, Radu Rendec wrote: Usage scenario: squid set up as httpd accelerator, with many virtual hosts on the accelerated servers. If the number of simultaneous connections is limited in the httpd servers and many simultaneous requests come to squid, it will end up filling its fd tabl

Max simultaneous connections limit on per-destination basis

2005-11-02 Thread Radu Rendec
Hi, I'm trying to develop a new feature in squid. It should provide the ability to limit the number of simultaneous http requests based on the destination of the requests. Usage scenario: squid set up as httpd accelerator, with many virtual hosts on the accelerated servers. If the number of simul