[jira] [Commented] (TS-1919) Eliminate CacheLookupHttpConfig

2013-06-01 Thread JIRA

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

Igor Galić commented on TS-1919:


If it breaks binary compatibility between clusters, I'd announce it in 3.4 and 
change it in 3.6 (or whatever the version after 3.4 will be).

 Eliminate CacheLookupHttpConfig
 ---

 Key: TS-1919
 URL: https://issues.apache.org/jira/browse/TS-1919
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
 Fix For: 3.3.5


 We have a notion of creating (and transmitting) a very tiny subset of 
 HttpConfigParams, in a struct named CacheLookupHttpConfig. As it turns out, 
 this is generally not used, and as far as I can tell, cluster config provides 
 the same / similar functionality (assuring that all nodes in the cluster uses 
 the same config). One complication with this CacheLookupHttpConfig struct is 
 that it sort of violates modularity, in that the I/O core, clustering and 
 HTTPSM share this partial HTTP config in a non-opaque way.
 I have a patch that eliminates this (I'll post it later), but there are two 
 thoughts / questions I'd like to discuss.
 1) Do we feel it adequate to use the cluster config mechanism of distributing 
 / sharing configurations across the cluster? Or do we really think that it's 
 necessary to transfer the configs as part of every Cluster response message?
 2) If we agree to eliminate the CacheLookupHttpConfig in favor of just using 
 HttpConfigParam's (which are synchronized between cluster nodes), how 
 important is it to preserve compatibility in the Cluster protocol? Right now, 
 my patch does not do this (I'd break clustering between e.g. ATS v3.2 and ATS 
 v3.4).
 For 2), we have a few options, the cleanest probably involves knowing the 
 version of the Cluster message (does that exist today?). Before I go down 
 that route, I'd like to ask the people using clustering if they feel it 
 important to retain compatibility such that you can run a cluster with a mix 
 of v3.2 and v3.4 nodes.

--
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


[jira] [Created] (TS-1932) can not make asf-dist after merge of the docs

2013-06-01 Thread Zhao Yongming (JIRA)
Zhao Yongming created TS-1932:
-

 Summary: can not make asf-dist after merge of the docs
 Key: TS-1932
 URL: https://issues.apache.org/jira/browse/TS-1932
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Reporter: Zhao Yongming


{code}
rm -rf -- trafficserver-3.3.3-dev/autom4te.cache trafficserver-3.3.3-dev/.git 
trafficserver-3.3.3-dev/.gitignore
tardir=trafficserver-3.3.3-dev  ${TAR-tar} chof - $tardir | bzip2 -9 -c 
trafficserver-3.3.3-dev.tar.bz2
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/adding-statistics/viewing-statistics-using-traffic-line.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/http-hooks-and-transactions/intercepting-http-transactions.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/plugin-management/reading-trafficserver-settings-and-statistics.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/getting-started/plugin-registration-and-version-checking.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/release-marshal-buffer-handles.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/duplicate-mime-fields-are-not-coalesced.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/mime-fields-always-belong-to-an-associated-mime-header.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/http-transformation-plugin/sample-null-transformation-plugin.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/http-transformation-plugin/sample-buffered-null-transformation-plugin.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/working-with-http-headers.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/implementing-the-handler-and-getting-a-handle-to-the-transaction.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/setting-a-transaction-hook.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/accessing-the-transaction-being-processed.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/working-with-http-header-functions.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/setting-up-a-transaction-hook.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/setting-a-global-hook.en.rst:
 file name is too long (max 99); not dumped
tar: 
trafficserver-3.3.3-dev/doc/source/sdk/how-to-create-trafficserver-plugins/roadmap-for-creating-plugins.en.rst:
 file name is too long (max 99); not dumped
tar: Exiting with failure status due to previous errors
[root@fc18150196 trafficserver]#

{code}

--
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


[jira] [Updated] (TS-1932) can not make asf-dist after merge of the docs

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-1932:
--

 Priority: Blocker  (was: Major)
Fix Version/s: 3.3.3
 Assignee: James Peach

 can not make asf-dist after merge of the docs
 -

 Key: TS-1932
 URL: https://issues.apache.org/jira/browse/TS-1932
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Reporter: Zhao Yongming
Assignee: James Peach
Priority: Blocker
 Fix For: 3.3.3


 {code}
 rm -rf -- trafficserver-3.3.3-dev/autom4te.cache trafficserver-3.3.3-dev/.git 
 trafficserver-3.3.3-dev/.gitignore
 tardir=trafficserver-3.3.3-dev  ${TAR-tar} chof - $tardir | bzip2 -9 -c 
 trafficserver-3.3.3-dev.tar.bz2
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/adding-statistics/viewing-statistics-using-traffic-line.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-hooks-and-transactions/intercepting-http-transactions.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/plugin-management/reading-trafficserver-settings-and-statistics.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/getting-started/plugin-registration-and-version-checking.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/release-marshal-buffer-handles.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/duplicate-mime-fields-are-not-coalesced.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/mime-fields-always-belong-to-an-associated-mime-header.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-transformation-plugin/sample-null-transformation-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-transformation-plugin/sample-buffered-null-transformation-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/working-with-http-headers.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/implementing-the-handler-and-getting-a-handle-to-the-transaction.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/setting-a-transaction-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/accessing-the-transaction-being-processed.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/working-with-http-header-functions.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/setting-up-a-transaction-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/setting-a-global-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/how-to-create-trafficserver-plugins/roadmap-for-creating-plugins.en.rst:
  file name is too long (max 99); not dumped
 tar: Exiting with failure status due to previous errors
 [root@fc18150196 trafficserver]#
 {code}

--
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


[jira] [Commented] (TS-1809) remove HTTP_CACHE build option

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom commented on TS-1809:
---

Moving this, and TS-1919, out for v3.5.0.

 remove HTTP_CACHE build option
 --

 Key: TS-1809
 URL: https://issues.apache.org/jira/browse/TS-1809
 Project: Traffic Server
  Issue Type: Improvement
  Components: Build
Reporter: James Peach
Assignee: Leif Hedstrom
 Fix For: 3.5.0


 The HTTP_CACHE build option is probably not useful anymore. It's almost 
 certainly broken and clutters up a lot of code. Let's remove it.

--
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


[jira] [Updated] (TS-1809) remove HTTP_CACHE build option

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-1809:
--

Fix Version/s: (was: 3.3.5)
   3.5.0

 remove HTTP_CACHE build option
 --

 Key: TS-1809
 URL: https://issues.apache.org/jira/browse/TS-1809
 Project: Traffic Server
  Issue Type: Improvement
  Components: Build
Reporter: James Peach
Assignee: Leif Hedstrom
 Fix For: 3.5.0


 The HTTP_CACHE build option is probably not useful anymore. It's almost 
 certainly broken and clutters up a lot of code. Let's remove it.

--
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


[jira] [Commented] (TS-1932) can not make asf-dist after merge of the docs

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom commented on TS-1932:
---

Marking this blocker, because we can't make a distribution now (which I was 
hoping to do pretty soon).

 can not make asf-dist after merge of the docs
 -

 Key: TS-1932
 URL: https://issues.apache.org/jira/browse/TS-1932
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Reporter: Zhao Yongming
Assignee: James Peach
Priority: Blocker
 Fix For: 3.3.3


 {code}
 rm -rf -- trafficserver-3.3.3-dev/autom4te.cache trafficserver-3.3.3-dev/.git 
 trafficserver-3.3.3-dev/.gitignore
 tardir=trafficserver-3.3.3-dev  ${TAR-tar} chof - $tardir | bzip2 -9 -c 
 trafficserver-3.3.3-dev.tar.bz2
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/adding-statistics/viewing-statistics-using-traffic-line.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-hooks-and-transactions/intercepting-http-transactions.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/plugin-management/reading-trafficserver-settings-and-statistics.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/getting-started/plugin-registration-and-version-checking.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/release-marshal-buffer-handles.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/duplicate-mime-fields-are-not-coalesced.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/mime-fields-always-belong-to-an-associated-mime-header.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-transformation-plugin/sample-null-transformation-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-transformation-plugin/sample-buffered-null-transformation-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/working-with-http-headers.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/implementing-the-handler-and-getting-a-handle-to-the-transaction.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/setting-a-transaction-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/accessing-the-transaction-being-processed.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/working-with-http-header-functions.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/setting-up-a-transaction-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/setting-a-global-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/how-to-create-trafficserver-plugins/roadmap-for-creating-plugins.en.rst:
  file name is too long (max 99); not dumped
 tar: Exiting with failure status due to previous errors
 [root@fc18150196 trafficserver]#
 {code}

--
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


[jira] [Updated] (TS-1919) Eliminate CacheLookupHttpConfig

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-1919:
--

Fix Version/s: (was: 3.3.5)
   3.5.0

 Eliminate CacheLookupHttpConfig
 ---

 Key: TS-1919
 URL: https://issues.apache.org/jira/browse/TS-1919
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
 Fix For: 3.5.0


 We have a notion of creating (and transmitting) a very tiny subset of 
 HttpConfigParams, in a struct named CacheLookupHttpConfig. As it turns out, 
 this is generally not used, and as far as I can tell, cluster config provides 
 the same / similar functionality (assuring that all nodes in the cluster uses 
 the same config). One complication with this CacheLookupHttpConfig struct is 
 that it sort of violates modularity, in that the I/O core, clustering and 
 HTTPSM share this partial HTTP config in a non-opaque way.
 I have a patch that eliminates this (I'll post it later), but there are two 
 thoughts / questions I'd like to discuss.
 1) Do we feel it adequate to use the cluster config mechanism of distributing 
 / sharing configurations across the cluster? Or do we really think that it's 
 necessary to transfer the configs as part of every Cluster response message?
 2) If we agree to eliminate the CacheLookupHttpConfig in favor of just using 
 HttpConfigParam's (which are synchronized between cluster nodes), how 
 important is it to preserve compatibility in the Cluster protocol? Right now, 
 my patch does not do this (I'd break clustering between e.g. ATS v3.2 and ATS 
 v3.4).
 For 2), we have a few options, the cleanest probably involves knowing the 
 version of the Cluster message (does that exist today?). Before I go down 
 that route, I'd like to ask the people using clustering if they feel it 
 important to retain compatibility such that you can run a cluster with a mix 
 of v3.2 and v3.4 nodes.

--
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


[jira] [Updated] (TS-1866) Clean up some of the unsupported hardware architecture tests in configure.ac

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-1866:
--

Fix Version/s: (was: 3.3.5)
   3.5.0

 Clean up some of the unsupported hardware architecture tests in configure.ac
 

 Key: TS-1866
 URL: https://issues.apache.org/jira/browse/TS-1866
 Project: Traffic Server
  Issue Type: Improvement
  Components: Build
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
 Fix For: 3.5.0




--
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


[jira] [Commented] (TS-1919) Eliminate CacheLookupHttpConfig

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom commented on TS-1919:
---

It breaks compatibility within a cluster. Moving it out to v3.5.0.

 Eliminate CacheLookupHttpConfig
 ---

 Key: TS-1919
 URL: https://issues.apache.org/jira/browse/TS-1919
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
 Fix For: 3.5.0


 We have a notion of creating (and transmitting) a very tiny subset of 
 HttpConfigParams, in a struct named CacheLookupHttpConfig. As it turns out, 
 this is generally not used, and as far as I can tell, cluster config provides 
 the same / similar functionality (assuring that all nodes in the cluster uses 
 the same config). One complication with this CacheLookupHttpConfig struct is 
 that it sort of violates modularity, in that the I/O core, clustering and 
 HTTPSM share this partial HTTP config in a non-opaque way.
 I have a patch that eliminates this (I'll post it later), but there are two 
 thoughts / questions I'd like to discuss.
 1) Do we feel it adequate to use the cluster config mechanism of distributing 
 / sharing configurations across the cluster? Or do we really think that it's 
 necessary to transfer the configs as part of every Cluster response message?
 2) If we agree to eliminate the CacheLookupHttpConfig in favor of just using 
 HttpConfigParam's (which are synchronized between cluster nodes), how 
 important is it to preserve compatibility in the Cluster protocol? Right now, 
 my patch does not do this (I'd break clustering between e.g. ATS v3.2 and ATS 
 v3.4).
 For 2), we have a few options, the cleanest probably involves knowing the 
 version of the Cluster message (does that exist today?). Before I go down 
 that route, I'd like to ask the people using clustering if they feel it 
 important to retain compatibility such that you can run a cluster with a mix 
 of v3.2 and v3.4 nodes.

--
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


[jira] [Commented] (TS-1919) Eliminate CacheLookupHttpConfig

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom commented on TS-1919:
---

I forgot, this also affects performance in non-clustering mode, since we avoid 
allocating and populating the CacheLookupHttpConfig on every request.

 Eliminate CacheLookupHttpConfig
 ---

 Key: TS-1919
 URL: https://issues.apache.org/jira/browse/TS-1919
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
 Fix For: 3.5.0


 We have a notion of creating (and transmitting) a very tiny subset of 
 HttpConfigParams, in a struct named CacheLookupHttpConfig. As it turns out, 
 this is generally not used, and as far as I can tell, cluster config provides 
 the same / similar functionality (assuring that all nodes in the cluster uses 
 the same config). One complication with this CacheLookupHttpConfig struct is 
 that it sort of violates modularity, in that the I/O core, clustering and 
 HTTPSM share this partial HTTP config in a non-opaque way.
 I have a patch that eliminates this (I'll post it later), but there are two 
 thoughts / questions I'd like to discuss.
 1) Do we feel it adequate to use the cluster config mechanism of distributing 
 / sharing configurations across the cluster? Or do we really think that it's 
 necessary to transfer the configs as part of every Cluster response message?
 2) If we agree to eliminate the CacheLookupHttpConfig in favor of just using 
 HttpConfigParam's (which are synchronized between cluster nodes), how 
 important is it to preserve compatibility in the Cluster protocol? Right now, 
 my patch does not do this (I'd break clustering between e.g. ATS v3.2 and ATS 
 v3.4).
 For 2), we have a few options, the cleanest probably involves knowing the 
 version of the Cluster message (does that exist today?). Before I go down 
 that route, I'd like to ask the people using clustering if they feel it 
 important to retain compatibility such that you can run a cluster with a mix 
 of v3.2 and v3.4 nodes.

--
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


[jira] [Updated] (TS-1033) Add some missing WKS's to HdrToken.

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-1033:
--

Fix Version/s: (was: 3.3.5)
   3.5.0

 Add some missing WKS's to HdrToken.
 -

 Key: TS-1033
 URL: https://issues.apache.org/jira/browse/TS-1033
 Project: Traffic Server
  Issue Type: Improvement
  Components: HTTP
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
  Labels: A
 Fix For: 3.5.0


 And of course various other places (including InkAPI).

--
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


[jira] [Updated] (TS-1833) Deprecate TSMimeHdrFieldValueStringInsert() (and family)

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-1833:
--

Fix Version/s: (was: 3.3.5)
   3.5.0

 Deprecate TSMimeHdrFieldValueStringInsert() (and family)
 

 Key: TS-1833
 URL: https://issues.apache.org/jira/browse/TS-1833
 Project: Traffic Server
  Issue Type: Improvement
  Components: TS API
Reporter: Leif Hedstrom
Assignee: Leif Hedstrom
 Fix For: 3.5.0


 It seems to be that TSMimeHdrFieldValueStringInsert() is really just a subset 
 of TSMimeHdrFieldValueStringSet(). This just makes for confusing APIs, i.e. 
 which one do I use when? The alternative would be to remove the idx 
 argument to the TSMimeHdrFieldValueStringSet() method, but that would then 
 break API and ABI compatibility.
 Also, as James found out, the docs are less than clear. Set() needs to be 
 called with an idx of -1 for it to actually be a Set() operation. With idx 
 =0, TSMimeHdrFieldValueStringSet() is actually identical to 
 TSMimeHdrFieldValueStringInsert()

--
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


[jira] [Updated] (TS-1540) better handle of the over connection warnings

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-1540:
--

Fix Version/s: (was: 3.3.5)
   3.5.1

 better handle of the over connection warnings
 -

 Key: TS-1540
 URL: https://issues.apache.org/jira/browse/TS-1540
 Project: Traffic Server
  Issue Type: Improvement
  Components: HTTP
Affects Versions: 3.3.0
 Environment: taobao own issue here
Reporter: Zhao Yongming
Assignee: Leif Hedstrom
 Fix For: 3.5.1


 on a high load server, we get many WARNINGs in the traffic.out, which result 
 into about 500iops disk write, we may need to decrease the logging speed or 
 convert it to some stats instead.
 {code}
 [Oct 18 12:30:29.015] Server {0x2b0b5e24d700} WARNING: [874028856] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.015] Server {0x2b0b5e44f700} WARNING: [874058392] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.015] Server {0x2b0b5e752700} WARNING: [874102720] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.015] Server {0x2b0b5e853700} WARNING: [873849436] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.015] Server {0x2b0b5d1b8c00} WARNING: [874091635] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.015] Server {0x2b0b5e954700} WARNING: [874102614] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.015] Server {0x2b0b5e34e700} WARNING: [874008652] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.016] Server {0x2b0b5e550700} WARNING: [874102763] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.016] Server {0x2b0b5e550700} WARNING: [874099447] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.016] Server {0x2b0b5d1b8c00} WARNING: [874124453] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e853700} WARNING: [874119636] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e44f700} WARNING: [874119708] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e853700} WARNING: [874034770] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e954700} WARNING: [874107245] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e44f700} WARNING: [874024156] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e24d700} WARNING: [874118129] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e44f700} WARNING: [874123046] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e954700} WARNING: [874121399] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e651700} WARNING: [873939682] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e550700} WARNING: [874043351] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e651700} WARNING: [874116643] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e34e700} WARNING: [874072524] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e752700} WARNING: [874031734] over the 
 number of connection for this host: 253840494
 [Oct 18 12:30:29.020] Server {0x2b0b5e651700} WARNING: [874107262] over the 
 number of connection for this host: 253840494
 {code}

--
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


[jira] [Commented] (TS-1746) Crash report: UnixNetVConnection::reenable ink_atomiclist_push ink_atomic_cas

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom commented on TS-1746:
---

Is this still an issue? It seems to work now, right ?  If so, should we close 
this as INVALID, since (I think?) this was fixed on another bug?

 Crash report:  UnixNetVConnection::reenable  ink_atomiclist_push  
 ink_atomic_cas
 --

 Key: TS-1746
 URL: https://issues.apache.org/jira/browse/TS-1746
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Reporter: Zhao Yongming
Assignee: Brian Geffon
 Fix For: 3.3.3


 I think the recent changes cause this crash, and here is the stack trace:
 {code}
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x72492700 (LWP 23610)]
 0x77bb30a5 in ink_atomic_cas__int128 (mem=0x73cae288, 
 prev=0x0001, 
 next=0x7fffd4014501)
 at ink_atomic.h:153
 153   return __sync_bool_compare_and_swap(mem, prev, next);
 (gdb) bt
 #0  0x77bb30a5 in ink_atomic_cas__int128 (mem=0x73cae288, 
 prev=0x0001, 
 next=0x7fffd4014501)
 at ink_atomic.h:153
 #1  0x77bb2e29 in ink_atomiclist_push (l=0x73cae288, 
 item=0x7fffd4014500) at ink_queue.cc:481
 #2  0x006d8961 in AtomicSLLUnixNetVConnection, 
 UnixNetVConnection::Link_read_enable_link::push (this=0x73cae288, 
 c=0x7fffd4014500)
 at ../../lib/ts/List.h:477
 #3  0x006d6767 in UnixNetVConnection::reenable (this=0x7fffd4014500, 
 vio=0x7fffd4014610) at UnixNetVConnection.cc:721
 #4  0x005195d5 in VIO::reenable (this=0x7fffd4014610) at 
 ../iocore/eventsystem/P_VIO.h:124
 #5  0x005c73b1 in HttpTunnel::consumer_handler (this=0x7fffdbefb888, 
 event=101, c=0x7fffdbefb8c8) at HttpTunnel.cc:1237
 #6  0x005c7c1f in HttpTunnel::main_handler (this=0x7fffdbefb888, 
 event=101, data=0x7fffc4008870) at HttpTunnel.cc:1481
 #7  0x004f8aa6 in Continuation::handleEvent (this=0x7fffdbefb888, 
 event=101, data=0x7fffc4008870) at ../iocore/eventsystem/I_Continuation.h:146
 #8  0x0050a612 in TSContCall (contp=0x7fffdbefb888, 
 event=TS_EVENT_VCONN_WRITE_READY, edata=0x7fffc4008870) at InkAPI.cc:4400
 #9  0x0055f302 in handle_transform (contp=0x7fffc40087c0) at 
 InkAPITest.cc:6435
 #10 0x0055f4be in transformtest_transform (contp=0x7fffc40087c0, 
 event=TS_EVENT_IMMEDIATE, edata=0x1166920) at InkAPITest.cc:6501
 #11 0x00501922 in INKVConnInternal::handle_event 
 (this=0x7fffc40087c0, event=1, edata=0x1166920) at InkAPI.cc:1045
 #12 0x004f8aa6 in Continuation::handleEvent (this=0x7fffc40087c0, 
 event=1, data=0x1166920) at ../iocore/eventsystem/I_Continuation.h:146
 #13 0x006f823d in EThread::process_event (this=0x73aa9010, 
 e=0x1166920, calling_code=1) at UnixEThread.cc:142
 #14 0x006f8491 in EThread::execute (this=0x73aa9010) at 
 UnixEThread.cc:193
 #15 0x006f744c in spawn_thread_internal (a=0x1090810) at Thread.cc:88
 #16 0x7793dea7 in start_thread () from /lib64/libpthread.so.0
 #17 0x751c114d in clone () from /lib64/libc.so.6
 (gdb) l
 148 // ink_atomic_cas(mem, prev, next)
 149 // Atomically store the value @next into the pointer @mem, but only 
 if the current value at @mem is @prev.
 150 // Returns true if @next was successfully stored.
 151 template typename T static inline bool
 152 ink_atomic_cas(volatile T * mem, T prev, T next) {
 153   return __sync_bool_compare_and_swap(mem, prev, next);
 154 }
 155
 156 // ink_atomic_increment(ptr, count)
 157 // Increment @ptr by @count, returning the previous value.
 (gdb) f 1
 #1  0x77bb2e29 in ink_atomiclist_push (l=0x73cae288, 
 item=0x7fffd4014500) at ink_queue.cc:481
 481result = ink_atomic_cas((__int128_t*)  l-head, head.data, 
 item_pair.data);
 (gdb) p head.data
 $1 = 0x0001
 (gdb) p head
 $2 = {s = {pointer = 0x1, version = 0}, data = 
 0x0001}
 (gdb) 
 {code}

--
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


[jira] [Resolved] (TS-1653) Crash report: HostDBContinuation::probeEvent MutexTryLock

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom resolved TS-1653.
---

Resolution: Fixed

Resolving this.

 Crash report: HostDBContinuation::probeEvent MutexTryLock
 -

 Key: TS-1653
 URL: https://issues.apache.org/jira/browse/TS-1653
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Reporter: Zhao Yongming
Assignee: weijin
 Fix For: 3.3.3


 {code}
 Core was generated by `/usr/bin/traffic_server -M --httpport 8080:fd=7'.
 Program terminated with signal 11, Segmentation fault.
 #0  Mutex_trylock (this=0x2b994a800ce0, am=0x0, t=0x2b9948fea010) at 
 ../iocore/eventsystem/I_Lock.h:170
 170 if (m-thread_holding != t) {
 Missing separate debuginfos, use: debuginfo-install 
 expat-2.0.1-11.el6_2.x86_64 glibc-2.12-1.47.el6_2.9.x86_64 
 keyutils-libs-1.4-3.el6.x86_64 krb5-libs-1.9-22.el6_2.1.x86_64 
 libcom_err-1.41.12-11.el6.x86_64 libgcc-4.4.6-3.el6.x86_64 
 libselinux-2.0.94-5.2.el6.x86_64 libstdc++-4.4.6-3.el6.x86_64 
 openssl-1.0.0-20.el6_2.4.x86_64 pcre-7.8-3.1.el6.x86_64 
 tcl-8.5.7-6.el6.x86_64 xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64 
 zlib-1.2.3-27.el6.x86_64
 (gdb) bt
 #0  Mutex_trylock (this=0x2b994a800ce0, am=0x0, t=0x2b9948fea010) at 
 ../iocore/eventsystem/I_Lock.h:170
 #1  MutexTryLock::MutexTryLock (this=0x2b994a800ce0, am=0x0, 
 t=0x2b9948fea010) at ../iocore/eventsystem/I_Lock.h:385
 #2  0x005b38dc in HostDBContinuation::probeEvent 
 (this=0x2b997329df10, event=value optimized out, e=0x2b99b8050030) at 
 HostDB.cc:1762
 #3  0x0065a1b4 in handleEvent (this=0x2b9948fea010, e=0x2b99b8050030, 
 calling_code=2) at I_Continuation.h:146
 #4  EThread::process_event (this=0x2b9948fea010, e=0x2b99b8050030, 
 calling_code=2) at UnixEThread.cc:142
 #5  0x0065ad83 in EThread::execute (this=0x2b9948fea010) at 
 UnixEThread.cc:221
 #6  0x006594d2 in spawn_thread_internal (a=0x2fb8350) at Thread.cc:88
 #7  0x003e878077f1 in start_thread () from /lib64/libpthread.so.0
 #8  0x003e86ce5ccd in clone () from /lib64/libc.so.6
 (gdb) f 2
 #2  0x005b38dc in HostDBContinuation::probeEvent 
 (this=0x2b997329df10, event=value optimized out, e=0x2b99b8050030) at 
 HostDB.cc:1762
 1762MUTEX_TRY_LOCK_FOR(lock, action.mutex, t, action.continuation);
 (gdb) p action.mutex
 $1 = {m_ptr = 0x0}
 (gdb) p t
 $2 = value optimized out
 (gdb) p action
 $3 = {_vptr.Action = 0x6601d0, continuation = 0x0, mutex = {m_ptr = 0x0}, 
 cancelled = 1}
 (gdb) 
 {code}

--
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


[jira] [Resolved] (TS-1746) Crash report: UnixNetVConnection::reenable ink_atomiclist_push ink_atomic_cas

2013-06-01 Thread James Peach (JIRA)

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

James Peach resolved TS-1746.
-

Resolution: Fixed

Yes, this was fixed in one of the related bugs.

 Crash report:  UnixNetVConnection::reenable  ink_atomiclist_push  
 ink_atomic_cas
 --

 Key: TS-1746
 URL: https://issues.apache.org/jira/browse/TS-1746
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Reporter: Zhao Yongming
Assignee: Brian Geffon
 Fix For: 3.3.3


 I think the recent changes cause this crash, and here is the stack trace:
 {code}
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x72492700 (LWP 23610)]
 0x77bb30a5 in ink_atomic_cas__int128 (mem=0x73cae288, 
 prev=0x0001, 
 next=0x7fffd4014501)
 at ink_atomic.h:153
 153   return __sync_bool_compare_and_swap(mem, prev, next);
 (gdb) bt
 #0  0x77bb30a5 in ink_atomic_cas__int128 (mem=0x73cae288, 
 prev=0x0001, 
 next=0x7fffd4014501)
 at ink_atomic.h:153
 #1  0x77bb2e29 in ink_atomiclist_push (l=0x73cae288, 
 item=0x7fffd4014500) at ink_queue.cc:481
 #2  0x006d8961 in AtomicSLLUnixNetVConnection, 
 UnixNetVConnection::Link_read_enable_link::push (this=0x73cae288, 
 c=0x7fffd4014500)
 at ../../lib/ts/List.h:477
 #3  0x006d6767 in UnixNetVConnection::reenable (this=0x7fffd4014500, 
 vio=0x7fffd4014610) at UnixNetVConnection.cc:721
 #4  0x005195d5 in VIO::reenable (this=0x7fffd4014610) at 
 ../iocore/eventsystem/P_VIO.h:124
 #5  0x005c73b1 in HttpTunnel::consumer_handler (this=0x7fffdbefb888, 
 event=101, c=0x7fffdbefb8c8) at HttpTunnel.cc:1237
 #6  0x005c7c1f in HttpTunnel::main_handler (this=0x7fffdbefb888, 
 event=101, data=0x7fffc4008870) at HttpTunnel.cc:1481
 #7  0x004f8aa6 in Continuation::handleEvent (this=0x7fffdbefb888, 
 event=101, data=0x7fffc4008870) at ../iocore/eventsystem/I_Continuation.h:146
 #8  0x0050a612 in TSContCall (contp=0x7fffdbefb888, 
 event=TS_EVENT_VCONN_WRITE_READY, edata=0x7fffc4008870) at InkAPI.cc:4400
 #9  0x0055f302 in handle_transform (contp=0x7fffc40087c0) at 
 InkAPITest.cc:6435
 #10 0x0055f4be in transformtest_transform (contp=0x7fffc40087c0, 
 event=TS_EVENT_IMMEDIATE, edata=0x1166920) at InkAPITest.cc:6501
 #11 0x00501922 in INKVConnInternal::handle_event 
 (this=0x7fffc40087c0, event=1, edata=0x1166920) at InkAPI.cc:1045
 #12 0x004f8aa6 in Continuation::handleEvent (this=0x7fffc40087c0, 
 event=1, data=0x1166920) at ../iocore/eventsystem/I_Continuation.h:146
 #13 0x006f823d in EThread::process_event (this=0x73aa9010, 
 e=0x1166920, calling_code=1) at UnixEThread.cc:142
 #14 0x006f8491 in EThread::execute (this=0x73aa9010) at 
 UnixEThread.cc:193
 #15 0x006f744c in spawn_thread_internal (a=0x1090810) at Thread.cc:88
 #16 0x7793dea7 in start_thread () from /lib64/libpthread.so.0
 #17 0x751c114d in clone () from /lib64/libc.so.6
 (gdb) l
 148 // ink_atomic_cas(mem, prev, next)
 149 // Atomically store the value @next into the pointer @mem, but only 
 if the current value at @mem is @prev.
 150 // Returns true if @next was successfully stored.
 151 template typename T static inline bool
 152 ink_atomic_cas(volatile T * mem, T prev, T next) {
 153   return __sync_bool_compare_and_swap(mem, prev, next);
 154 }
 155
 156 // ink_atomic_increment(ptr, count)
 157 // Increment @ptr by @count, returning the previous value.
 (gdb) f 1
 #1  0x77bb2e29 in ink_atomiclist_push (l=0x73cae288, 
 item=0x7fffd4014500) at ink_queue.cc:481
 481result = ink_atomic_cas((__int128_t*)  l-head, head.data, 
 item_pair.data);
 (gdb) p head.data
 $1 = 0x0001
 (gdb) p head
 $2 = {s = {pointer = 0x1, version = 0}, data = 
 0x0001}
 (gdb) 
 {code}

--
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


[jira] [Resolved] (TS-1932) can not make asf-dist after merge of the docs

2013-06-01 Thread James Peach (JIRA)

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

James Peach resolved TS-1932.
-

Resolution: Fixed

Fixed.

 can not make asf-dist after merge of the docs
 -

 Key: TS-1932
 URL: https://issues.apache.org/jira/browse/TS-1932
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Reporter: Zhao Yongming
Assignee: James Peach
Priority: Blocker
 Fix For: 3.3.3


 {code}
 rm -rf -- trafficserver-3.3.3-dev/autom4te.cache trafficserver-3.3.3-dev/.git 
 trafficserver-3.3.3-dev/.gitignore
 tardir=trafficserver-3.3.3-dev  ${TAR-tar} chof - $tardir | bzip2 -9 -c 
 trafficserver-3.3.3-dev.tar.bz2
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/adding-statistics/viewing-statistics-using-traffic-line.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-hooks-and-transactions/intercepting-http-transactions.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/plugin-management/reading-trafficserver-settings-and-statistics.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/getting-started/plugin-registration-and-version-checking.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/release-marshal-buffer-handles.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/duplicate-mime-fields-are-not-coalesced.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/mime-fields-always-belong-to-an-associated-mime-header.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-transformation-plugin/sample-null-transformation-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-transformation-plugin/sample-buffered-null-transformation-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/working-with-http-headers.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/implementing-the-handler-and-getting-a-handle-to-the-transaction.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/setting-a-transaction-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/accessing-the-transaction-being-processed.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/working-with-http-header-functions.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/setting-up-a-transaction-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/setting-a-global-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/how-to-create-trafficserver-plugins/roadmap-for-creating-plugins.en.rst:
  file name is too long (max 99); not dumped
 tar: Exiting with failure status due to previous errors
 [root@fc18150196 trafficserver]#
 {code}

--
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


[jira] [Commented] (TS-1932) can not make asf-dist after merge of the docs

2013-06-01 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on TS-1932:
-

Commit 7b175f03ac13b751b53eb1a692448d6044309371 in branch refs/heads/master 
from [~jpe...@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=7b175f0 ]

TS-1932: use modern-ish tar format for asf-dist


 can not make asf-dist after merge of the docs
 -

 Key: TS-1932
 URL: https://issues.apache.org/jira/browse/TS-1932
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Reporter: Zhao Yongming
Assignee: James Peach
Priority: Blocker
 Fix For: 3.3.3


 {code}
 rm -rf -- trafficserver-3.3.3-dev/autom4te.cache trafficserver-3.3.3-dev/.git 
 trafficserver-3.3.3-dev/.gitignore
 tardir=trafficserver-3.3.3-dev  ${TAR-tar} chof - $tardir | bzip2 -9 -c 
 trafficserver-3.3.3-dev.tar.bz2
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/adding-statistics/viewing-statistics-using-traffic-line.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-hooks-and-transactions/intercepting-http-transactions.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/plugin-management/reading-trafficserver-settings-and-statistics.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/getting-started/plugin-registration-and-version-checking.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/release-marshal-buffer-handles.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/duplicate-mime-fields-are-not-coalesced.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-headers/guide-to-trafficserver-http-header-system/mime-fields-always-belong-to-an-associated-mime-header.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-transformation-plugin/sample-null-transformation-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/http-transformation-plugin/sample-buffered-null-transformation-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/working-with-http-headers.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/implementing-the-handler-and-getting-a-handle-to-the-transaction.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin/setting-a-transaction-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/basic-authorization-plugin.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/accessing-the-transaction-being-processed.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/working-with-http-header-functions.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/setting-up-a-transaction-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/header-based-plugin-examples/blacklist-plugin/setting-a-global-hook.en.rst:
  file name is too long (max 99); not dumped
 tar: 
 trafficserver-3.3.3-dev/doc/source/sdk/how-to-create-trafficserver-plugins/roadmap-for-creating-plugins.en.rst:
  file name is too long (max 99); not dumped
 tar: Exiting with failure status due to previous errors
 [root@fc18150196 trafficserver]#
 {code}

--
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


[jira] [Commented] (TS-1923) 3.2.x - Fix resolve_logfield_string()

2013-06-01 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on TS-1923:
-

Commit 325aa13e1be53dacb76b0162d1242539837c627c in branch refs/heads/3.2.x from 
[~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=325aa13 ]

Voted on TS-1923.


 3.2.x - Fix resolve_logfield_string()
 -

 Key: TS-1923
 URL: https://issues.apache.org/jira/browse/TS-1923
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Affects Versions: 3.2.4
Reporter: Yunkai Zhang
Assignee: Igor Galić
 Fix For: 3.2.5

 Attachments: 0001-Fix-resolve_logfield_string.patch


 When ATS receives a malicious request which URL is too long to hold by
 internal_msg_buffer, the internal_msg_buffer_size might be set to 0.
 As a result, the appended memory which allocated by ats_malloc() would
 be mistaken for the memory from ink_freelist, and would be free to
 ink_freelist finally.
 As this memory is larger than the one in ink_freelist, and all memory in
 the origin ink_freelist would not be reclaimed, so it wouldn't cause
 segment-fault, that is why we didn't notice it in the past.
 But after we use reclaimabe-freelist, this bug would cause segment-fault
 when use it to get inner meta-data or free it back to OS by unmmap().
 ===
 Now, we found the root cause which would lead to internal_msg_buffer_size to 0
 while internal_msg_buffer is NOT NULL.
 That is resolve_logfiled_string() function. Let's fix it.

--
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


[jira] [Commented] (TS-1453) remove InactivityCop and enable define INACTIVITY_TIMEOUT

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom commented on TS-1453:
---

Bin Chen: Any thoughts on John's comments? I'd like to land this for v3.3.3 if 
possible (and assuming it's safe from a performance perspective without the 
time wheel, which I think needs more work).

 remove InactivityCop and enable define INACTIVITY_TIMEOUT
 -

 Key: TS-1453
 URL: https://issues.apache.org/jira/browse/TS-1453
 Project: Traffic Server
  Issue Type: Sub-task
  Components: Core
Affects Versions: 3.2.0
Reporter: Bin Chen
Assignee: Bin Chen
 Fix For: 3.3.3

 Attachments: TS-1453.patch


 when we have O(1), then we can be enable define INACTIVITY_TIMEOUT

--
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


[jira] [Updated] (TS-1933) Uninformative warnings from traffic_manager on startup

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-1933:
--

Fix Version/s: 3.3.4

 Uninformative warnings from traffic_manager on startup
 --

 Key: TS-1933
 URL: https://issues.apache.org/jira/browse/TS-1933
 Project: Traffic Server
  Issue Type: Bug
  Components: Management
Reporter: Leif Hedstrom
 Fix For: 3.3.4


 During startup, traffic_manager always seems to produce these errors:
 {code}
 [Jun  1 14:59:46.577] Manager {0x7f9690c497e0} ERROR: [TrafficManager] == 
 Cleaning up and reissuing signal #2
 [Jun  1 14:59:46.578] Manager {0x7f9690c497e0} ERROR:  (last system error 2: 
 No such file or directory)
 [Jun  1 14:59:46.607] Manager {0x7f9690c497e0} ERROR: [TrafficManager] == 
 signal #2
 [Jun  1 14:59:46.607] Manager {0x7f9690c497e0} ERROR:  (last system error 2: 
 No such file or directory)
 {code}
 They seem harmless, but annoying.

--
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


[jira] [Created] (TS-1933) Uninformative warnings from traffic_manager on startup

2013-06-01 Thread Leif Hedstrom (JIRA)
Leif Hedstrom created TS-1933:
-

 Summary: Uninformative warnings from traffic_manager on startup
 Key: TS-1933
 URL: https://issues.apache.org/jira/browse/TS-1933
 Project: Traffic Server
  Issue Type: Bug
  Components: Management
Reporter: Leif Hedstrom


During startup, traffic_manager always seems to produce these errors:

{code}
[Jun  1 14:59:46.577] Manager {0x7f9690c497e0} ERROR: [TrafficManager] == 
Cleaning up and reissuing signal #2
[Jun  1 14:59:46.578] Manager {0x7f9690c497e0} ERROR:  (last system error 2: No 
such file or directory)
[Jun  1 14:59:46.607] Manager {0x7f9690c497e0} ERROR: [TrafficManager] == 
signal #2
[Jun  1 14:59:46.607] Manager {0x7f9690c497e0} ERROR:  (last system error 2: No 
such file or directory)
{code}

They seem harmless, but annoying.

--
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


[jira] [Commented] (TS-1648) Segmentation fault in dir_clear_range()

2013-06-01 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom commented on TS-1648:
---

Seems reasonable to me. I've tested it, and don't see any problems with it 
(although, I also never experienced this problem).

 Segmentation fault in dir_clear_range()
 ---

 Key: TS-1648
 URL: https://issues.apache.org/jira/browse/TS-1648
 Project: Traffic Server
  Issue Type: Bug
  Components: Cache
Affects Versions: 3.3.0, 3.2.0
 Environment: reverse proxy
Reporter: Tomasz Kuzemko
Assignee: John Plevyak
  Labels: A
 Fix For: 3.3.3

 Attachments: 
 0001-Fix-for-TS-1648-Segmentation-fault-in-dir_clear_rang.patch, 
 cachedir_int64-jp-1.patch


 I use ATS as a reverse proxy. I have a fairly large disk cache consisting of 
 2x 10TB raw disks. I do not use cache compression. After a few days of 
 running (this is a dev machine - not handling any traffic) ATS begins to 
 crash with a segfault shortly after start:
 {code}
 [Jan 11 16:11:00.690] Server {0x72bb8700} DEBUG: (rusage) took rusage 
 snap 1357917060690487000
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x720ad700 (LWP 17292)]
 0x00696a71 in dir_clear_range (start=640, end=17024, vol=0x16057d0) 
 at CacheDir.cc:382
 382   CacheDir.cc: No such file or directory.
   in CacheDir.cc
 (gdb) p i
 $1 = 214748365
 (gdb) l
 377   in CacheDir.cc
 (gdb) p dir_index(vol, i)
 $2 = (Dir *) 0x7ff997a04002
 (gdb) p dir_index(vol, i-1)
 $3 = (Dir *) 0x7ffa97a03ff8
 (gdb) p *dir_index(vol, i-1)
 $4 = {w = {0, 0, 0, 0, 0}}
 (gdb) p *dir_index(vol, i-2)
 $5 = {w = {0, 0, 52431, 52423, 0}}
 (gdb) p *dir_index(vol, i)
 Cannot access memory at address 0x7ff997a04002
 (gdb) p *dir_index(vol, i+2)
 Cannot access memory at address 0x7ff997a04016
 (gdb) p *dir_index(vol, i+1)
 Cannot access memory at address 0x7ff997a0400c
 (gdb) p vol-buckets * DIR_DEPTH * vol-segments
 $6 = 1246953472
 (gdb) bt
 #0  0x00696a71 in dir_clear_range (start=640, end=17024, 
 vol=0x16057d0) at CacheDir.cc:382
 #1  0x0068aba2 in Vol::handle_recover_from_data (this=0x16057d0, 
 event=3900, data=0x16058a0) at Cache.cc:1384
 #2  0x004e8e1c in Continuation::handleEvent (this=0x16057d0, 
 event=3900, data=0x16058a0) at ../iocore/eventsystem/I_Continuation.h:146
 #3  0x00692385 in AIOCallbackInternal::io_complete (this=0x16058a0, 
 event=1, data=0x135afc0) at ../../iocore/aio/P_AIO.h:80
 #4  0x004e8e1c in Continuation::handleEvent (this=0x16058a0, event=1, 
 data=0x135afc0) at ../iocore/eventsystem/I_Continuation.h:146
 #5  0x00700fec in EThread::process_event (this=0x736c4010, 
 e=0x135afc0, calling_code=1) at UnixEThread.cc:142
 #6  0x007011ff in EThread::execute (this=0x736c4010) at 
 UnixEThread.cc:191
 #7  0x006ff8c2 in spawn_thread_internal (a=0x1356040) at Thread.cc:88
 #8  0x7797e8ca in start_thread () from /lib/libpthread.so.0
 #9  0x755c6b6d in clone () from /lib/libc.so.6
 #10 0x in ?? ()
 {code}
 This is fixed by running traffic_server -Kk to clear the cache. But after a 
 few days the issue reappears.
 I will keep the current faulty setup as-is in case you need me to provide 
 more data. I tried to make a core dump but it took a couple of GB even after 
 gzip (I can however provide it on request).
 *Edit*
 OS is Debian GNU/Linux 6.0.6 with custom built kernel 
 3.2.13-grsec--grs-ipv6-64

--
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