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

Bryan Call commented on TS-1962:
--------------------------------

with fix:

{code}
# client
[bcall@localhost ~]$ curl -v -H 'Host: foo.yahoo.com' -D - -o /dev/null -s -d 
skill=lousy  http://localhost:8080/

# server
[bcall@localhost trafficserver]$ sudo /usr/local/bin/traffic_server -T http_ss
[TrafficServer] using root directory '/usr/local'
[Jul  9 23:39:11.241] Server {0x109bae000} DEBUG: (http_ss) [0] session born, 
netvc 0x7fcedc897d20
[Jul  9 23:39:13.173] Server {0x109bae000} DEBUG: (http_ss) [0] session closed

# server with keep-alive post
[bcall@localhost trafficserver]$ sudo /usr/local/bin/traffic_server -T http_ss
[TrafficServer] using root directory '/usr/local'
[Jul  9 23:41:02.042] Server {0x10b059000} DEBUG: (http_ss) [0] session born, 
netvc 0x7feb2886b320
[Jul  9 23:41:04.460] Server {0x10b059000} DEBUG: (http_ss) [0] [release 
session] session placed into shared pool
[Jul  9 23:41:17.730] Server {0x10b059000} DEBUG: (http_ss) [0] 
[session_bucket] session received io notice [VC_EVENT_EOS]
[Jul  9 23:41:17.730] Server {0x10b059000} DEBUG: (http_ss) [0] session closed
{code}
                
> keepalive post issues
> ---------------------
>
>                 Key: TS-1962
>                 URL: https://issues.apache.org/jira/browse/TS-1962
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Thomas Jackson
>            Assignee: Bryan Call
>             Fix For: 3.3.5
>
>
> I've been running ATS at the edge with keepalive enabled. After some digging 
> I found that ATS creates new connections (by default) for all post requests, 
> instead of re-using a connection. The comment in the code looks like this was 
> (is?) because of some race condition inside ATS. I noticed that there is a 
> config option (proxy.config.http.keep_alive_ post_out) which enables the 
> connection re-use for post requests, and it seems to work. Does anyone have 
> any knowledge/experience with this configuration option? Or anything about 
> this race condition?
> In addition to the possible bug, if you leave it on the default (new 
> connection per post) it returns the connection to the keep alive pool and I 
> notice 10x latency on all post requests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to