the default =2 is set to threading session sharing, that is consider to be 
better performance, and set to =1 is using the global session pool, that is not 
that bad unless you can tell that the performance is noticeable, in some case, 
the global session pool is much safer :D

BTW, that is a problem we should fix, I think TS-1590 as the same type of 
failure.

在 2013-4-16,下午4:41,오재경 <[email protected]> 写道:

> sorry. i forgot to write the title..
> 
> hi everyone.
> 
> I made a plugin. it calls TSHttpConnect and download a contents when it meets 
> a range request. as you know, ats doesn't cache partial request. that's why i 
> made the plugin to trigger full download for a range request.
> 
> proxy.config.http.share_server_sessions makes a problem. default value is 2 
> and ATS always crash when the plugin trigger download.
> 
> but with 1, ATS works fine with my plugin.
> 
> i digged the source what happens when i call TSHttpConnect. 
> 
> if i set share_server_sessions 2 _acquire_session is called with ethread 
> parameter. if 1 _acquire_session is called with global bucket.
> 
> my question is ..is it ok if i set share_server_sessions 1 instead of default 
> value 2 ?
> 
> No problem in performance? No problem in running ATS in 24/7 ?
> 
> Thanks.

Reply via email to