You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Robert Logue (Commented) (JIRA)" <ji...@apache.org> on 2012/04/18 17:46:42 UTC

[jira] [Commented] (TS-1209) background_fill values don't seem to be working

    [ https://issues.apache.org/jira/browse/TS-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256656#comment-13256656 ] 

Robert Logue commented on TS-1209:
----------------------------------

ok so there is a function HttpSM::is_bg_fill_necessary that lets TS know if it should do a background fill. In here it checks 3 items, initially, 2 of which are ok but one fails. The check that fails is c->producer->vc_type == HT_HTTP_SERVER, in my scenario c->producer->vc_type == HT_TRANSFORM. Also I have a transform plugin running. If I remove the transformation plugin the background fill works fine.
                
> background_fill values don't seem to be working
> -----------------------------------------------
>
>                 Key: TS-1209
>                 URL: https://issues.apache.org/jira/browse/TS-1209
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 3.0.4
>            Reporter: Robert Logue
>            Priority: Minor
>
> If I request a 57 MB file TS caches the fill no problem and on subsequent requests the file gets served from cache. If I cut the request early, about 40MB downloaded and I have proxy.config.http.background_fill_completed_threshold = 0.5 and proxy.config.http.background_fill_active_timeout is suitably high, the file is not cached. I am of the understanding that the background fill values should keep the OS connection open and allow the full item to be cached though this is not happening. 
> I have tried various values for proxy.config.http.background_fill_completed_threshold ranging from 0.0 -> 0.5, none seem to work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira