rspinfo data buffer needs resize

Version 1
    This document was generated from CDN thread

    Created by: Travis May on 19-08-2011 04:30:23 AM
    How to increase the "rspinfo data buffer"?
     
    The as5400xm is taking 15seconds to download a 300k audio file.  Seems to be using very small chunks.
     
    as5400xm is in Hong Kong, media server is in Los Angeles.  Several identically configured as5400xm in Los Angeles work fine.
     
     
    I am seeing the following unusual http log output: 

    Aug 19 07:47:07.195: //280//HTTPC:/httpc_msg_read: Start processing 1608 bytes data
    Aug 19 07:47:07.195: //280//HTTPC:/httpc_msg_read: Stored msg. body: len=1608
    Aug 19 07:47:07.199: //280//HTTPC:/httpc_msg_read: Start processing 1608 bytes data
    Aug 19 07:47:07.199: //280//HTTPC:/httpc_resize_datap: Response body is getting over 100 chunks, rspinfo data buffer needs resize.
    Aug 19 07:47:07.199: //280//HTTPC:/httpc_msg_read: Stored msg. body: len=1608
    Aug 19 07:47:07.199: //280//HTTPC:/httpc_msg_read: Start processing 536 bytes data
    Aug 19 07:47:07.199: //280//HTTPC:/httpc_msg_read: Stored msg. body: len=536
    .
    .
    .
    Aug 19 07:47:12.367: //280//HTTPC:/httpc_msg_read: Stored msg. body: len=2048
    Aug 19 07:47:12.367: //280//HTTPC:/httpc_msg_read: Start processing 96 bytes data
    Aug 19 07:47:12.367: //280//HTTPC:/httpc_resize_datap: Response body is getting over 200 chunks, rspinfo data buffer needs resize.
    Aug 19 07:47:12.367: //280//HTTPC:/httpc_msg_read: Stored msg. body: len=96
    Aug 19 07:47:12.535: //280//HTTPC:/httpc_msg_read: Start processing 1608 bytes data
    Aug 19 07:47:12.535: //280//HTTPC:/httpc_msg_read: Stored msg. body: len=1608
     
    Thanks,
    Travis

    Subject: RE: rspinfo data buffer needs resize
    Replied by: Anusha Kannappan on 19-08-2011 06:25:19 AM
    Hi Travis,

    Please try configuring a higher value i.e more than 300K as per your requirement for the following command since the default value is 50K bytes only.

    http client cache memory file

    Thanks,
    Anusha

    Subject: RE: rspinfo data buffer needs resize
    Replied by: Travis May on 19-08-2011 12:22:08 PM
    Hi Anusha,

    Thanks for your response.

    The issue is slow downloading, not caching.  Caching is working fine with my existing settings:

        http client cache memory pool 100000
        http client cache memory file 10000
        http client cache refresh 684000

    How to increase the "rspinfo data buffer" ?

    Thanks,
    Travis

    Subject: RE: rspinfo data buffer needs resize
    Replied by: Anusha Kannappan on 23-08-2011 02:27:14 AM
    Hi Travis,

    I have forwarded your query to our DE engineer. I shall get back to you when I have an answer for the same.

    Thanks,
    Anusha

    Subject: RE: rspinfo data buffer needs resize
    Replied by: Anusha Kannappan on 24-08-2011 02:18:36 AM
    Hi Travis,

    Our Engineering team responded to your query saying the chunk size is controlled by HTTP server side, not on our client side. BTW which HTTP server are you using? Is it IIS or Apache?

    Thanks,
    Anusha

    Subject: RE: rspinfo data buffer needs resize
    Replied by: Travis May on 24-08-2011 12:22:47 PM
    Anusha,
     
    Thanks for getting back to me on this.
     
    We are using IIS, can you reccomend where to update this setting?
     
    Thanks,
    Travis

    Subject: RE: rspinfo data buffer needs resize
    Replied by: Travis May on 24-08-2011 12:39:16 PM
    Here is "debug http client all":   This doesn't display the error, but it does show all headers.  I don't see any headers that refer to chunk size. 


    Aug 24 16:18:27.790: about to send data to the socket 0 : first 400 bytes of data:
    GET /media/accounts/xxxxxxx/186428/voiceMailGreeting_20110315110823.wav HTTP/1.1
    Host: remoteMediaServer
    Content-Type: application/x-www-form-urlencoded
    Connection: Keep-Alive
    Accept: text/vxml, text/x-vxml, application/vxml, application/x-vxml, application/voicexml, application/x-voicexml, text/plain, text/html, audio/basic, audio/wav, multipart/form-data, application/octet-stream
    User-Agent: Cisco-IOS-C
    Aug 24 16:18:27.790: //376269//HTTPC:/httpc_socket_read: socket readable fd: 0
    Aug 24 16:18:27.858: //376269//HTTPC:/httpc_socket_read: socket readable fd: 0
    Aug 24 16:18:27.858: //376269//HTTPC:/httpc_socket_read:
    Aug 24 16:18:27.858: read data from the socket 0 : first 400 bytes of data:
    HTTP/1.1 200 OK
    Content-Length: 130360
    Content-Type: audio/wav
    Content-Location: http://remoteMediaServer/media/accounts/xxxxxxxx/186428/voiceMailGreeting_20110315110823.wav
    Last-Modified: Tue, 15 Mar 2011 18:08:24 GMT
    Accept-Ranges: bytes
    ETag: "42c8b4f93be3cb1:549"
    Server: Microsoft-IIS/6.0
    Date: Wed, 24 Aug 2011 16:18:27 GMT

    RIFF0(Unprintable char...)FFFFFFFD1057415645666D7420100007010401F00401F0010806661637440000FFFFFFFD10646174
    Aug 24 16:18:27.862: //376269//HTTPC:/httpc_socket_read:
    Aug 24 16:18:27.862: read data from the socket 0 : first 400 bytes of data:
    (Unprintable char...)1F282E394EFFFFFFC9FFFFFFAFFFFFFFA8FFFFFFA4FFFFFFABFFFFFFB960392E2924201F2026325BFFFFFFC0FFFFFFB7FFFFFFB6FFFFFFBDFFFFFFC6FFFFFFD9795C45413D3F54FFFFFFCCFFFFFFB4FFFFFFABFFFFFFA5FFFFFFA3FFFFFFA3FFFFFFA2FFFFFFA0FFFFFFA0FFFFFF9FFFFFFFA3FFFFFFA5FFFFFFA6FFFFFFA8FFFFFFACFFFFFFBD42241C181A1D232B343FFFFFFFE9FFFFFFBAFFFFFFADFFFFFFA8FFFFFFAAFFFFFFB2FFFFFFD045312B25232020232D3CFFFFFFFFFFFFFFC3FFFFFFB6FFFFFFB9FFFFFFBEFFFFFFC6FFFFFFE37251483C3B4560FFFFFFC6FFFFFFB4FFFFFFACFFFFFFA6FFFFFFA4FFFFFFA2FFFFFFA2FFFFFFA0FFFFFFA0FFFFFFA1FFFFFFA0FFFFFFA5FFFFFFA6FFFFFFA7FFFFFFABFFFFFFB4FFFFFFF02D1E19181C212A2F373FFFFFFFEBFFFFFFB9FFFFFFABFFFFFFA8FFFFFFABFFFFFFBA5D392C2B27231F1E202939FFFFFFF0FFFFFFC0FFFFFFBBFFFFFFBBFFFFFFC6FFFFFFD4FFFFFFDB6664463C373A4CFFFFFFCCFFFFFFB5FFFFFFADFFFFFFA8FFFFFFA7FFFFFFA4FFFFFFA2FFFFFFA1FFFFFFA0FFFFFFA0FFFFFFA4FFFFFFA6FFFFFFA8FFFFFFA9FFFFFFA7FFFFFFA7FFFFFFAEFFFFFFCB32201A181C21282D323A54FFFFFFC2FFFFFFAFFFFFFFA8FFFFFFA8FFFFFFB0FFFFFFC6573B322F2B27221E1F273674FFFFFFC0FFFFFFBCFFFFFFBFFFFFFFCAFFFFFFE4FFFFFFF6705B4D403A3B49FFFFFFE3FFFFFFBDFFFFFFB3FFFFFFAEFFFFFFABFFFFFFABFFFFFFA7FFFFFFA4FFFFFFA1FFFFFFA0FFFFFFA1FFFFFFA5FFFFFFA8FFFFFFABFFFFFFACFFFFFFACFFFFFFABFFFFFFAAFFFFFFB0FFFFFFDF2F211C1B1E23292B2D3344FFFFFFCAFFFFFFB1FFFFFFAAFFFFFFAAFFFFFFB1FFFFFFC16A413B352F2C282423293148FFFFFFD7FFFFFFC0FFFFFFBFFFFFFFBFFFFFFFC6FFFFFFD8FFFFFFE57B4D3D383639436BFFFFFFC9FFFFFFBDFFFFFFB6FFFFFFAFFFFFFFACFFFFFFA9FFFFFFA4FFFFFFA2FFFFFFA3FFFFFFA5FFFFFFA8FFFFFFABFFFFFFAEFFFFFFAFFFFFFFAEFFFFFFADFFFFFFAAFFFFFFA8FFFFFFA8FFFFFFADFFFFFFCC36261F1D1E2327282A2E375BFFFFFFBDFFFFFFAFFFFFFFADFFFFFFAEFFFFFFB9FFFFFFCF5F4A4039302B28282A303B4BFFFFFFEFFFFFFFD0FFFFFFCDFFFFFFCEFFFFFFD1FFFFFFDF664C403A37383C4251FFFFFFE8FFFFFFC8FFFFFFBBFFFFFFB5FFFFFFAEFFFFFFABFFFFFFA9FFFFFFA8FFFFFFA8FFFFFFAAFFFFFFADFFFFFFAEFFFFFFAEFFFFFFADFFFFFFAFFFFFFFAEFFFFFFAEFFFFFFAEFFFFFFACFFFFFFAAFFFFFFA7FFFFFFA7FFFFFFACFFFFFFC43B271E1C1D202326292B324CFFFFFFC8FFFFFFB1FFFFFFAAFFFFFFA9FFFFFFAFFFFFFFBDFFFFFFDD4B3C3A372F2C28282A2F3B4EFFFFFFF8FFFFFFDEFFFFFFE46D55
    Aug 24 16:18:27.866: //376269//HTTPC:/httpc_socket_read: socket readable fd: 0
    Aug 24 16:18:27.866: //376269//HTTPC:/httpc_socket_read:
    Aug 24 16:18:27.866: read data from the socket 0 : first 400 bytes of data:
    78:878<LyLJJCA>:789630(Unprintable char...)FFFFFFAFFFFFFFAFFFFFFFB0FFFFFFB1FFFFFFAFFFFFFFADFFFFFFADFFFFFFAFFFFFFFB1FFFFFFB3FFFFFFB3FFFFFFB9FFFFFFBBFFFFFFB7FFFFFFB9FFFFFFBBFFFFFFBCFFFFFFBCFFFFFFC1FFFFFFCF64473D3834302E2E2E2F34383A3E41444A47403F3D39393B3E404659FFFFFFFDFFFFFFDFFFFFFFD4FFFFFFD976626857443C39373A3C3C3B3D4C7BFFFFFFEF7E72FFFFFFE1FFFFFFCAFFFFFFC2FFFFFFC4FFFFFFC7FFFFFFBFFFFFFFB7FFFFFFB2FFFFFFB1FFFFFFAFFFFFFFAFFFFFFFB0FFFFFFAFFFFFFFAEFFFFFFAFFFFFFFB0FFFFFFAFFFFFFFADFFFFFFADFFFFFFB1FFFFFFB9FFFFFFB6FFFFFFB0FFFFFFB2FFFFFFB6FFFFFFBBFFFFFFBEFFFFFFBBFFFFFFB9FFFFFFBBFFFFFFC54C38454D382D2D30333B3B34364755483E3F4648463F3C3E506C5D58FFFFFFFCFFFFFFD7FFFFFFD4FFFFFFD6FFFFFFF74D3E3E3E393432363D3D3B3B47565E5554FFFFFFFDFFFFFFDCFFFFFFD8FFFFFFDCFFFFFFD2FFFFFFC7FFFFFFBEFFFFFFBAFFFFFFB7FFFFFFB2FFFFFFAFFFFFFFAEFFFFFFAFFFFFFFAFFFFFFFADFFFFFFADFFFFFFAEFFFFFFAFFFFFFFB2FFFFFFB3FFFFFFB5FFFFFFB7FFFFFFB8FFFFFFBBFFFFFFBDFFFFFFC3FFFFFFC3FFFFFFBBFFFFFFBCFFFFFFC1FFFFFFC8FFFFFFC4FFFFFFCB6E4F4C4135313434343636373D4B48404A584D4848494B4D4E4F54616267FFFFFFFD70FFFFFFF876504C4D4A43413F404646484D5E66525558565C5B68FFFFFFF7FFFFFFE0FFFFFFD9FFFFFFD5FFFFFFD1FFFFFFC8FFFFFFC0FFFFFFBEFFFFFFBCFFFFFFBBFFFFFFB9FFFFFFB7FFFFFFB7FFFFFFB6FFFFFFB7FFFFFFB9FFFFFFB9FFFFFFBBFFFFFFBCFFFFFFBCFFFFFFBEFFFFFFC7FFFFFFC6FFFFFFC9FFFFFFCDFFFFFFD1FFFFFFDAFFFFFFDFFFFFFFECFFFFFFFBFFFFFFFD625D574F493F3E3D3B3B3A363535373536393A3E45484B4F6378FFFFFFFCFFFFFFDDFFFFFFD1FFFFFFD2FFFFFFD4FFFFFFD2FFFFFFCDFFFFFFCDFFFFFFCFFFFFFFD0FFFFFFD0FFFFFFD3FFFFFFD8FFFFFFE464666D554C4A4746464343484C535D65FFFFFFE8FFFFFFD5FFFFFFD1FFFFFFC7FFFFFFBEFFFFFFBBFFFFFFB8FFFFFFB5FFFFFFB3FFFFFFB2FFFFFFB0FFFFFFB0FFFFFFB3FFFFFFB2FFFFFFB3FFFFFFB3FFFFFFB6FFFFFFB9FFFFFFBBFFFFFFBDFFFFFFC1FFFFFFC8FFFFFFCCFFFFFFD2FFFFFFDDFFFFFFECFFFFFFECFFFFFFFB6A6C5F5A5D5652524D4845413F3D3B3A38373839383A3C3D

    Subject: RE: rspinfo data buffer needs resize
    Replied by: Anusha Kannappan on 25-08-2011 06:10:02 AM
    Hi Travis,

    Could you please try as mentioned in the following link for Configuring the Maximum Cache Response Size and see whether it resolves your issue

    http://technet.microsoft.com/en-us/library/cc771895(WS.10).aspx

    Thanks,
    Anusha