[squid-users] Squid: Small packets and low performance between squid and icap

Prashanth Prabhu prashanth.prabhu at gmail.com
Thu Nov 5 09:41:19 UTC 2015


Hello Amos,

Thanks for the quick response.

I failed to mention that I am on 3.5.1. And, readSomeData() is already "fixed":
----
void
ConnStateData::readSomeData()
{
    if (reading())
        return;

    debugs(33, 4, HERE << clientConnection << ": reading request...");

    if (!in.maybeMakeSpaceAvailable())
        return;

    typedef CommCbMemFunT<ConnStateData, CommIoCbParams> Dialer;
    reader = JobCallback(33, 5, Dialer, this, ConnStateData::clientReadRequest);
    Comm::Read(clientConnection, reader);
}
----

I am planning to try the "patch client_side.cc to call
maybeMakeSpaceAvailable()" from #4206. Anything else, I should try?


Regards.
Prashanth

On 4 November 2015 at 19:40, Amos Jeffries <squid3 at treenet.co.nz> wrote:
> On 5/11/2015 4:30 p.m., Amos Jeffries wrote:
>> On 5/11/2015 3:43 p.m., Prashanth Prabhu wrote:
>>> Hi folks,
>>>
>>> I have a setup with ICAP running a custom server alongside Squid.
>>> While testing file upload scenarios, I ran into a slow upload issue
>>> and have narrowed it down to slowness between squid and icap,
>>> especially in the request handling path.
>>
>>
>> Hi Prashanth.
>>
>> This is bugs 4353 and 4206. There is a workaround patch in bug 4353.
>
> Sorry, here is the link <http://bugs.squid-cache.org/show_bug.cgi?id=4353>
>
> Amos
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list