[jira] [Created] (TS-869) The stat code for ram_cache miss is lost

2011-07-06 Thread mohan_zl (JIRA)
The stat code for ram_cache miss is lost


 Key: TS-869
 URL: https://issues.apache.org/jira/browse/TS-869
 Project: Traffic Server
  Issue Type: Bug
Reporter: mohan_zl


Use echo show:cache-stats | traffic_shell, i found the Misses for RAM CACHE 
is always -1.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (TS-869) The stat code for ram_cache miss is lost

2011-07-06 Thread mohan_zl (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mohan_zl updated TS-869:


Attachment: ram_cache_miss.patch

The patch have fixed this problem.

 The stat code for ram_cache miss is lost
 

 Key: TS-869
 URL: https://issues.apache.org/jira/browse/TS-869
 Project: Traffic Server
  Issue Type: Bug
Reporter: mohan_zl
 Attachments: ram_cache_miss.patch


 Use echo show:cache-stats | traffic_shell, i found the Misses for RAM CACHE 
 is always -1.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (TS-870) Something wrong with the evacuate relevant codes in cache

2011-07-06 Thread mohan_zl (JIRA)
Something wrong with the evacuate relevant codes in cache
-

 Key: TS-870
 URL: https://issues.apache.org/jira/browse/TS-870
 Project: Traffic Server
  Issue Type: Bug
Reporter: mohan_zl




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-870) Something wrong with the evacuate relevant codes in cache

2011-07-06 Thread mohan_zl (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13060434#comment-13060434
 ] 

mohan_zl commented on TS-870:
-

Try to fix this problem, the default behavior is not use the evacuate feature 
in cache.

 Something wrong with the evacuate relevant codes in cache
 -

 Key: TS-870
 URL: https://issues.apache.org/jira/browse/TS-870
 Project: Traffic Server
  Issue Type: Bug
Reporter: mohan_zl
 Attachments: TS-evacuate-correct.patch




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-869) The stat code for ram_cache miss is lost

2011-07-06 Thread mohan_zl (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13060436#comment-13060436
 ] 

mohan_zl commented on TS-869:
-

The attached patch fixes this problem.

 The stat code for ram_cache miss is lost
 

 Key: TS-869
 URL: https://issues.apache.org/jira/browse/TS-869
 Project: Traffic Server
  Issue Type: Bug
Reporter: mohan_zl
 Attachments: ram_cache_miss.patch


 Use echo show:cache-stats | traffic_shell, i found the Misses for RAM CACHE 
 is always -1.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (TS-869) The stat code for ram_cache miss is lost

2011-07-06 Thread mohan_zl (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mohan_zl updated TS-869:


Comment: was deleted

(was: The attached patch fixes this problem.)

 The stat code for ram_cache miss is lost
 

 Key: TS-869
 URL: https://issues.apache.org/jira/browse/TS-869
 Project: Traffic Server
  Issue Type: Bug
Reporter: mohan_zl
 Attachments: ram_cache_miss.patch


 Use echo show:cache-stats | traffic_shell, i found the Misses for RAM CACHE 
 is always -1.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (TS-871) Subversion (1.7) with serf fails with ATS in forward mode

2011-07-06 Thread JIRA
Subversion (1.7) with serf fails with ATS in forward mode
-

 Key: TS-871
 URL: https://issues.apache.org/jira/browse/TS-871
 Project: Traffic Server
  Issue Type: Bug
  Components: HTTP
Affects Versions: 3.1.1
Reporter: Igor Galić


When accessing a remote subversion repository via http or https with svn 1.7, 
it will currently timeout:
{noformat}
igalic@tynix ~/src/asf % svn co 
http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http/
svn: E020014: Unable to connect to a repository at URL 
'http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http'
svn: E020014: Unspecified error message: 504 Connection Timed Out
1 igalic@tynix ~/src/asf %
{noformat}

I have started traffic_server -Thttp and captured the output, which I'm 
attaching.
There's also a capture from the network.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (TS-871) Subversion (1.7) with serf fails with ATS in forward mode

2011-07-06 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/TS-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Galić updated TS-871:
--

Attachment: serf_proxy.cap

tshark -w serf_proxy.cap -i lo port 8080

 Subversion (1.7) with serf fails with ATS in forward mode
 -

 Key: TS-871
 URL: https://issues.apache.org/jira/browse/TS-871
 Project: Traffic Server
  Issue Type: Bug
  Components: HTTP
Affects Versions: 3.1.1
Reporter: Igor Galić
 Attachments: ats_Thttp.debug.txt, serf_proxy.cap


 When accessing a remote subversion repository via http or https with svn 1.7, 
 it will currently timeout:
 {noformat}
 igalic@tynix ~/src/asf % svn co 
 http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http/
 svn: E020014: Unable to connect to a repository at URL 
 'http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http'
 svn: E020014: Unspecified error message: 504 Connection Timed Out
 1 igalic@tynix ~/src/asf %
 {noformat}
 I have started traffic_server -Thttp and captured the output, which I'm 
 attaching.
 There's also a capture from the network.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (TS-871) Subversion (1.7) with serf fails with ATS in forward mode

2011-07-06 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/TS-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Galić updated TS-871:
--

Attachment: ats_Thttp.debug.txt

traffic_server -Thttp

 Subversion (1.7) with serf fails with ATS in forward mode
 -

 Key: TS-871
 URL: https://issues.apache.org/jira/browse/TS-871
 Project: Traffic Server
  Issue Type: Bug
  Components: HTTP
Affects Versions: 3.1.1
Reporter: Igor Galić
 Attachments: ats_Thttp.debug.txt, serf_proxy.cap


 When accessing a remote subversion repository via http or https with svn 1.7, 
 it will currently timeout:
 {noformat}
 igalic@tynix ~/src/asf % svn co 
 http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http/
 svn: E020014: Unable to connect to a repository at URL 
 'http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http'
 svn: E020014: Unspecified error message: 504 Connection Timed Out
 1 igalic@tynix ~/src/asf %
 {noformat}
 I have started traffic_server -Thttp and captured the output, which I'm 
 attaching.
 There's also a capture from the network.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-837) ATS fails to compile with gcc 4.6.1 with --enable-debug

2011-07-06 Thread Kingsley Foreman (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13060950#comment-13060950
 ] 

Kingsley Foreman commented on TS-837:
-

Im also seeing this error while trying to compile with debug under ubuntu 10.04 
and gcc version 4.4.3

 ATS fails to compile with gcc 4.6.1 with --enable-debug
 ---

 Key: TS-837
 URL: https://issues.apache.org/jira/browse/TS-837
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.0, 3.0.0
 Environment: Linux, Debian, Amd64 + GCC 4.6.1
Reporter: Igor Galić
 Fix For: 3.1.0


 {noformat}
 In file included from ../../proxy/ControlMatcher.h:104:0,
  from ../../proxy/ParentSelection.h:37,
  from P_Socks.h:30,
  from P_Net.h:106,
  from Connection.cc:34:
 ../../proxy/hdrs/HTTP.h: In member function 'INK_MD5 
 HTTPInfo::object_key_get()':
 ../../proxy/hdrs/HTTP.h:1375:24: error: dereferencing type-punned pointer 
 will break strict-aliasing rules [-Werror=strict-aliasing]
 ../../proxy/hdrs/HTTP.h: In member function 'int64_t 
 HTTPInfo::object_size_get()':
 ../../proxy/hdrs/HTTP.h:1405:24: error: dereferencing type-punned pointer 
 will break strict-aliasing rules [-Werror=strict-aliasing]
 ../../proxy/hdrs/HTTP.h: In member function 'void 
 HTTPInfo::object_size_set(int64_t)':
 ../../proxy/hdrs/HTTP.h:1422:51: error: dereferencing type-punned pointer 
 will break strict-aliasing rules [-Werror=strict-aliasing]
 cc1plus: all warnings being treated as errors
 *** [Connection.o] Error 1
 make[2]: Leaving directory `/netsrc/trafficserver-3.0.0/iocore/net'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/netsrc/trafficserver-3.0.0/iocore'
 make: *** [all-recursive] Error 1
 {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (TS-871) Subversion (1.7) with serf fails with ATS in forward and reverse proxy mode

2011-07-06 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/TS-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Galić updated TS-871:
--

Attachment: revats_Thttp.debug.txt

ATS configured in reverse proxy mode:
map http://svn.apache.org/ http://svn.eu.apache.org/
reverse_map  http://svn.eu.apache.org/ http://svn.apache.org/
map https://svn.apache.org/ https://svn.eu.apache.org/
reverse_map  https://svn.eu.apache.org/ https://svn.apache.org/

with 127.0.1.3   svn.apache.org
in /etc/hosts

 Subversion (1.7) with serf fails with ATS in forward and reverse proxy mode
 ---

 Key: TS-871
 URL: https://issues.apache.org/jira/browse/TS-871
 Project: Traffic Server
  Issue Type: Bug
  Components: HTTP
Affects Versions: 3.1.1
Reporter: Igor Galić
 Attachments: ats_Thttp.debug.notime.txt, ats_Thttp.debug.txt, 
 revats_Thttp.debug.txt, serf_proxy.cap


 When accessing a remote subversion repository via http or https with svn 1.7, 
 it will currently timeout:
 {noformat}
 igalic@tynix ~/src/asf % svn co 
 http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http/
 svn: E020014: Unable to connect to a repository at URL 
 'http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http'
 svn: E020014: Unspecified error message: 504 Connection Timed Out
 1 igalic@tynix ~/src/asf %
 {noformat}
 I have started traffic_server -Thttp and captured the output, which I'm 
 attaching.
 There's also a capture from the network.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (TS-871) Subversion (1.7) with serf fails with ATS in forward and reverse proxy mode

2011-07-06 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/TS-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Galić updated TS-871:
--

Attachment: serf_revproxy.cap

pcap of the before traffic_server capture

 Subversion (1.7) with serf fails with ATS in forward and reverse proxy mode
 ---

 Key: TS-871
 URL: https://issues.apache.org/jira/browse/TS-871
 Project: Traffic Server
  Issue Type: Bug
  Components: HTTP
Affects Versions: 3.1.1
Reporter: Igor Galić
 Attachments: ats_Thttp.debug.notime.txt, ats_Thttp.debug.txt, 
 revats_Thttp.debug.notime.txt, revats_Thttp.debug.txt, serf_proxy.cap, 
 serf_revproxy.cap


 When accessing a remote subversion repository via http or https with svn 1.7, 
 it will currently timeout:
 {noformat}
 igalic@tynix ~/src/asf % svn co 
 http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http/
 svn: E020014: Unable to connect to a repository at URL 
 'http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http'
 svn: E020014: Unspecified error message: 504 Connection Timed Out
 1 igalic@tynix ~/src/asf %
 {noformat}
 I have started traffic_server -Thttp and captured the output, which I'm 
 attaching.
 There's also a capture from the network.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-871) Subversion (1.7) with serf fails with ATS in forward and reverse proxy mode

2011-07-06 Thread JIRA

[ 
https://issues.apache.org/jira/browse/TS-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13060962#comment-13060962
 ] 

Igor Galić commented on TS-871:
---

It should be said that it doesn't make much sense to compare this with how 
svn's other http lib: neon, behaves. Neon encapsulates the whole request in one 
transaction, while serf does gazillion of requests.

 Subversion (1.7) with serf fails with ATS in forward and reverse proxy mode
 ---

 Key: TS-871
 URL: https://issues.apache.org/jira/browse/TS-871
 Project: Traffic Server
  Issue Type: Bug
  Components: HTTP
Affects Versions: 3.1.1
Reporter: Igor Galić
 Attachments: ats_Thttp.debug.notime.txt, ats_Thttp.debug.txt, 
 revats_Thttp.debug.notime.txt, revats_Thttp.debug.txt, serf_proxy.cap, 
 serf_revproxy.cap


 When accessing a remote subversion repository via http or https with svn 1.7, 
 it will currently timeout:
 {noformat}
 igalic@tynix ~/src/asf % svn co 
 http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http/
 svn: E020014: Unable to connect to a repository at URL 
 'http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http'
 svn: E020014: Unspecified error message: 504 Connection Timed Out
 1 igalic@tynix ~/src/asf %
 {noformat}
 I have started traffic_server -Thttp and captured the output, which I'm 
 attaching.
 There's also a capture from the network.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-871) Subversion (1.7) with serf fails with ATS in forward and reverse proxy mode

2011-07-06 Thread Leif Hedstrom (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13060971#comment-13060971
 ] 

Leif Hedstrom commented on TS-871:
--

This seems to reproduce it:

{code}
loki (19:05) 641/0 $ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OPTIONS http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http 
HTTP/1.1
Host: svn.apache.org
User-Agent: SVN/1.7.0-dev serf/1.0.0
Content-Type: text/xml
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
Transfer-Encoding: chunked

83
?xml version=1.0 encoding=utf-8?D:options 
xmlns:D=DAV:D:activity-collection-set/D:activity-collection-set/D:options
0
{code}

 Subversion (1.7) with serf fails with ATS in forward and reverse proxy mode
 ---

 Key: TS-871
 URL: https://issues.apache.org/jira/browse/TS-871
 Project: Traffic Server
  Issue Type: Bug
  Components: HTTP
Affects Versions: 3.1.1
Reporter: Igor Galić
 Attachments: ats_Thttp.debug.notime.txt, ats_Thttp.debug.txt, 
 revats_Thttp.debug.notime.txt, revats_Thttp.debug.txt, serf_proxy.cap, 
 serf_revproxy.cap


 When accessing a remote subversion repository via http or https with svn 1.7, 
 it will currently timeout:
 {noformat}
 igalic@tynix ~/src/asf % svn co 
 http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http/
 svn: E020014: Unable to connect to a repository at URL 
 'http://svn.apache.org/repos/asf/trafficserver/plugins/stats_over_http'
 svn: E020014: Unspecified error message: 504 Connection Timed Out
 1 igalic@tynix ~/src/asf %
 {noformat}
 I have started traffic_server -Thttp and captured the output, which I'm 
 attaching.
 There's also a capture from the network.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira