[jira] [Created] (TS-1196) the via metrix in PURGE response should be documented

2012-04-10 Thread Zhao Yongming (Created) (JIRA)
the via metrix in PURGE response should be documented
-

 Key: TS-1196
 URL: https://issues.apache.org/jira/browse/TS-1196
 Project: Traffic Server
  Issue Type: Task
  Components: Documentation
Affects Versions: 3.1.3
Reporter: Zhao Yongming
Assignee: Zhao Yongming
Priority: Minor


{code}
[yonghao@cache161.cn50 trafficserver]$ echo -ne PURGE 
http://img01.taobaocdn.com/bao/uploaded/i1/000/160/T1RoNcXn5Qj0JX.jpg_60x60.jpg
 HTTP/1.0\r\n\r\n | nc -i 1 cache162.cn50 81
HTTP/1.0 200 Ok
Date: Tue, 10 Apr 2012 07:10:30 GMT
Via: http/1.1 cn50 (ApacheTrafficServer/3.0.2 [cRs f ])
Content-Length: 0
{code}

what does the cR mean? we should document it down!

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




[jira] [Updated] (TS-1130) ink_time_t is 64bit on x86_64

2012-04-10 Thread weijin (Updated) (JIRA)

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

weijin updated TS-1130:
---

Attachment: TS-1130.diff

time_t in x86_64 is 64 bit. If we use the 64 bit atomic operation on time_t 
variables.

 ink_time_t is 64bit on x86_64
 -

 Key: TS-1130
 URL: https://issues.apache.org/jira/browse/TS-1130
 Project: Traffic Server
  Issue Type: Sub-task
  Components: Core
Reporter: Zhao Yongming
Assignee: weijin
 Fix For: 3.1.4

 Attachments: TS-1130.diff


 Weijin: paste your patch here, :D

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




[jira] [Commented] (TS-1130) ink_time_t is 64bit on x86_64

2012-04-10 Thread weijin (Commented) (JIRA)

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

weijin commented on TS-1130:


We found in some 64 bit systems, the ink_atomic_cas on time_t variable can lead 
very strange problems, such as endless loop.   

 ink_time_t is 64bit on x86_64
 -

 Key: TS-1130
 URL: https://issues.apache.org/jira/browse/TS-1130
 Project: Traffic Server
  Issue Type: Sub-task
  Components: Core
Reporter: Zhao Yongming
Assignee: weijin
 Fix For: 3.1.4

 Attachments: TS-1130.diff


 Weijin: paste your patch here, :D

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




[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-10 Thread Jan-Frode Myklebust (Commented) (JIRA)

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

Jan-Frode Myklebust commented on TS-1185:
-

We have the same problem on fedora-17, where gcc-4.7 is the default compiler.

 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell

 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

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




[jira] [Created] (TS-1197) Build fails when building outside the source tree

2012-04-10 Thread Yossi Gottlieb (Created) (JIRA)
Build fails when building outside the source tree
-

 Key: TS-1197
 URL: https://issues.apache.org/jira/browse/TS-1197
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Affects Versions: 3.1.3
Reporter: Yossi Gottlieb
Priority: Minor
 Fix For: 3.1.4


Currently some Makefiles assume $(builddir) == $(srcdir), which is an incorrect 
assumption.

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




[jira] [Updated] (TS-1197) Build fails when building outside the source tree

2012-04-10 Thread Yossi Gottlieb (Updated) (JIRA)

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

Yossi Gottlieb updated TS-1197:
---

Attachment: ats_build_fix.diff

 Build fails when building outside the source tree
 -

 Key: TS-1197
 URL: https://issues.apache.org/jira/browse/TS-1197
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Affects Versions: 3.1.3
Reporter: Yossi Gottlieb
Priority: Minor
 Fix For: 3.1.4

 Attachments: ats_build_fix.diff


 Currently some Makefiles assume $(builddir) == $(srcdir), which is an 
 incorrect assumption.

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




[jira] [Updated] (TS-1196) the via metrix in PURGE response should be documented

2012-04-10 Thread Leif Hedstrom (Updated) (JIRA)

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

Leif Hedstrom updated TS-1196:
--

Fix Version/s: 3.3.0

 the via metrix in PURGE response should be documented
 -

 Key: TS-1196
 URL: https://issues.apache.org/jira/browse/TS-1196
 Project: Traffic Server
  Issue Type: Task
  Components: Documentation
Affects Versions: 3.1.3
Reporter: Zhao Yongming
Assignee: Zhao Yongming
Priority: Minor
 Fix For: 3.3.0


 {code}
 [yonghao@cache161.cn50 trafficserver]$ echo -ne PURGE 
 http://img01.taobaocdn.com/bao/uploaded/i1/000/160/T1RoNcXn5Qj0JX.jpg_60x60.jpg
  HTTP/1.0\r\n\r\n | nc -i 1 cache162.cn50 81
 HTTP/1.0 200 Ok
 Date: Tue, 10 Apr 2012 07:10:30 GMT
 Via: http/1.1 cn50 (ApacheTrafficServer/3.0.2 [cRs f ])
 Content-Length: 0
 {code}
 what does the cR mean? we should document it down!

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




[jira] [Updated] (TS-1184) Additional whitespace in proxy.config.admin.user_id value results in error

2012-04-10 Thread Leif Hedstrom (Updated) (JIRA)

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

Leif Hedstrom updated TS-1184:
--

Fix Version/s: 3.3.0
 Assignee: Leif Hedstrom

Kurt, I'm targeting this for 3.3.0. We're trying to close in on 3.2.0 :).

Thanks for the bug report. Fwiw, I think we should modify the config parser to 
ignore trailing white spaces. It seems like an easy fix, but we have to make 
sure there are no configs that actually needs a trailing space in the value.

 Additional whitespace in proxy.config.admin.user_id value results in error
 --

 Key: TS-1184
 URL: https://issues.apache.org/jira/browse/TS-1184
 Project: Traffic Server
  Issue Type: Bug
  Components: Configuration
Affects Versions: 3.0.4
Reporter: Kurt Payne
Assignee: Leif Hedstrom
Priority: Minor
 Fix For: 3.3.0


 Config looked like this:
 {noformat}
 CONFIG proxy.config.alarm_email STRING nobody 
 {noformat}
 The username had a trailing space.  ATS fails to start, and the following 
 messages appear in {{/var/log/messages:}}
 {noformat}
 Apr  3 10:46:33 blitz traffic_cop[5498]: --- Cop Starting [Version: Apache 
 Traffic Server - traffic_cop - 3.0.4 - (build # 3310 on Apr  3 2012 at 
 10:16:46)] ---
 Apr  3 10:46:33 blitz traffic_cop[5498]: can't get passwd entry for the admin 
 user
 Apr  3 10:46:33 blitz traffic_cop[5498]: can't get passwd entry for the admin 
 user
 Apr  3 10:46:33 blitz traffic_cop[5498]: traffic_manager not running, making 
 sure traffic_server is dead
 Apr  3 10:46:33 blitz traffic_cop[5498]: spawning traffic_manager
 Apr  3 10:46:33 blitz traffic_manager[5500]: NOTE: --- Manager Starting ---
 Apr  3 10:46:33 blitz traffic_manager[5500]: NOTE: Manager Version: Apache 
 Traffic Server - traffic_manager - 3.0.4 - (build # 3310 on Apr  3 2012 at 
 10:16:03)
 Apr  3 10:46:33 blitz traffic_manager[5500]: NOTE: 
 RLIMIT_NOFILE(7):cur(3),max(3)
 Apr  3 10:46:33 blitz traffic_manager[5500]: {140630387636192} STATUS: opened 
 /usr/local/var/log/trafficserver/manager.log
 Apr  3 10:46:35 blitz traffic_server[5509]: NOTE: --- Server Starting ---
 Apr  3 10:46:35 blitz traffic_server[5509]: NOTE: Server Version: Apache 
 Traffic Server - traffic_server - 3.0.4 - (build # 3310 on Apr  3 2012 at 
 10:16:30)
 Apr  3 10:46:35 blitz traffic_server[5509]: {47289782682464} STATUS: opened 
 /usr/local/var/log/trafficserver/diags.log
 {noformat}

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




[jira] [Assigned] (TS-1197) Build fails when building outside the source tree

2012-04-10 Thread Assigned

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

Igor Galić reassigned TS-1197:
--

Assignee: Igor Galić

 Build fails when building outside the source tree
 -

 Key: TS-1197
 URL: https://issues.apache.org/jira/browse/TS-1197
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Affects Versions: 3.1.3
Reporter: Yossi Gottlieb
Assignee: Igor Galić
Priority: Minor
 Fix For: 3.1.4

 Attachments: ats_build_fix.diff


 Currently some Makefiles assume $(builddir) == $(srcdir), which is an 
 incorrect assumption.

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




[jira] [Commented] (TS-1197) Build fails when building outside the source tree

2012-04-10 Thread Yossi Gottlieb (Commented) (JIRA)

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

Yossi Gottlieb commented on TS-1197:


Yes, my mistake. I was not aware SVN is no longer synchronized.

 Build fails when building outside the source tree
 -

 Key: TS-1197
 URL: https://issues.apache.org/jira/browse/TS-1197
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Affects Versions: 3.1.3
Reporter: Yossi Gottlieb
Assignee: Igor Galić
Priority: Minor
 Fix For: 3.1.4

 Attachments: ats_build_fix.diff


 Currently some Makefiles assume $(builddir) == $(srcdir), which is an 
 incorrect assumption.

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




[jira] [Commented] (TS-1197) Build fails when building outside the source tree

2012-04-10 Thread Commented

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

Igor Galić commented on TS-1197:


Which reminds me, we should either get rid of the Svn repo, or make sure it's 
synchronized from Git.

I also wonder what happened to our GitHub mirror -- is that up-to-date?

 Build fails when building outside the source tree
 -

 Key: TS-1197
 URL: https://issues.apache.org/jira/browse/TS-1197
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Affects Versions: 3.1.3
Reporter: Yossi Gottlieb
Assignee: Igor Galić
Priority: Minor
 Attachments: ats_build_fix.diff


 Currently some Makefiles assume $(builddir) == $(srcdir), which is an 
 incorrect assumption.

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




[jira] [Resolved] (TS-785) Building outside of the tree does not work

2012-04-10 Thread Resolved

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

Igor Galić resolved TS-785.
---

Resolution: Fixed

Fixed in TS-1144

 Building outside of the tree does not work
 --

 Key: TS-785
 URL: https://issues.apache.org/jira/browse/TS-785
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Reporter: Igor Galić
  Labels: build
 Fix For: 3.3.0


 {noformat}
 igalic@bawnb976 ~/Projects/asf/ats-build % ../trafficserver/configure 
 --prefix=/opt/dev 
   
 ...
 igalic@bawnb976 ~/Projects/asf/ats-build % make
 Making all in proxy/api/ts
 make[1]: Entering directory `/home/igalic/Projects/asf/ats-build/proxy/api/ts'
 make[1]: Nothing to be done for `all'.
 make[1]: Leaving directory `/home/igalic/Projects/asf/ats-build/proxy/api/ts'
 Making all in iocore
 make[1]: Entering directory `/home/igalic/Projects/asf/ats-build/iocore'
 Making all in eventsystem
 make[2]: Entering directory 
 `/home/igalic/Projects/asf/ats-build/iocore/eventsystem'
 g++ -DHAVE_CONFIG_H  -I. -I../../../trafficserver/iocore/eventsystem 
 -I../../lib/ts  -I../../../trafficserver/lib/records -D_LARGEFILE64_SOURCE=1 
 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dlinux 
 -I/usr/include/tcl8.4  -mtune=native -march=native -Wall -O3 -march=i586 -g 
 -pipe -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT EventSystem.o -MD -MP -MF .deps/EventSystem.Tpo -c 
 -o EventSystem.o ../../../trafficserver/iocore/eventsystem/EventSystem.cc
 In file included from 
 ../../../trafficserver/iocore/eventsystem/EventSystem.cc:31:0:
 ../../../trafficserver/iocore/eventsystem/P_EventSystem.h:39:19: fatal error: 
 libts.h: No such file or directory
 compilation terminated.
 make[2]: *** [EventSystem.o] Error 1
 make[2]: Leaving directory 
 `/home/igalic/Projects/asf/ats-build/iocore/eventsystem'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/igalic/Projects/asf/ats-build/iocore'
 make: *** [all-recursive] Error 1
 2 igalic@bawnb976 ~/Projects/asf/ats-build %
 {noformat}

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




[jira] [Closed] (TS-785) Building outside of the tree does not work

2012-04-10 Thread Closed

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

Igor Galić closed TS-785.
-


 Building outside of the tree does not work
 --

 Key: TS-785
 URL: https://issues.apache.org/jira/browse/TS-785
 Project: Traffic Server
  Issue Type: Bug
  Components: Build
Reporter: Igor Galić
  Labels: build
 Fix For: 3.3.0


 {noformat}
 igalic@bawnb976 ~/Projects/asf/ats-build % ../trafficserver/configure 
 --prefix=/opt/dev 
   
 ...
 igalic@bawnb976 ~/Projects/asf/ats-build % make
 Making all in proxy/api/ts
 make[1]: Entering directory `/home/igalic/Projects/asf/ats-build/proxy/api/ts'
 make[1]: Nothing to be done for `all'.
 make[1]: Leaving directory `/home/igalic/Projects/asf/ats-build/proxy/api/ts'
 Making all in iocore
 make[1]: Entering directory `/home/igalic/Projects/asf/ats-build/iocore'
 Making all in eventsystem
 make[2]: Entering directory 
 `/home/igalic/Projects/asf/ats-build/iocore/eventsystem'
 g++ -DHAVE_CONFIG_H  -I. -I../../../trafficserver/iocore/eventsystem 
 -I../../lib/ts  -I../../../trafficserver/lib/records -D_LARGEFILE64_SOURCE=1 
 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dlinux 
 -I/usr/include/tcl8.4  -mtune=native -march=native -Wall -O3 -march=i586 -g 
 -pipe -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT EventSystem.o -MD -MP -MF .deps/EventSystem.Tpo -c 
 -o EventSystem.o ../../../trafficserver/iocore/eventsystem/EventSystem.cc
 In file included from 
 ../../../trafficserver/iocore/eventsystem/EventSystem.cc:31:0:
 ../../../trafficserver/iocore/eventsystem/P_EventSystem.h:39:19: fatal error: 
 libts.h: No such file or directory
 compilation terminated.
 make[2]: *** [EventSystem.o] Error 1
 make[2]: Leaving directory 
 `/home/igalic/Projects/asf/ats-build/iocore/eventsystem'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/igalic/Projects/asf/ats-build/iocore'
 make: *** [all-recursive] Error 1
 2 igalic@bawnb976 ~/Projects/asf/ats-build %
 {noformat}

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




[jira] [Commented] (TS-1164) a race condition in cache init

2012-04-10 Thread Zhao Yongming (Commented) (JIRA)

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

Zhao Yongming commented on TS-1164:
---

in git master: 1df0305b798a725dbbc1b44a1522936a425de8eb

  a race condition in cache init
 ---

 Key: TS-1164
 URL: https://issues.apache.org/jira/browse/TS-1164
 Project: Traffic Server
  Issue Type: Bug
  Components: Cache
Affects Versions: 3.1.1, 3.0.0
 Environment: all
Reporter: weijin
Assignee: weijin
 Fix For: 3.1.4

 Attachments: taorui-cache.diff


 there is a race condition in CacheProcessor::diskInitialized, which may lead 
 to cache can not be enabled.  

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




[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-10 Thread Leif Hedstrom (Commented) (JIRA)

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

Leif Hedstrom commented on TS-1185:
---

I installed Fedora Core 17, with gcc-4.7, and it builds without problem Any 
more details you can share? Special configure options, compiler options, 
platform (32-bit vs 64-bit etc.).

It seems the fixes ought to be trivial, but it'd be nice to be able to 
reproduce it.

 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell
Assignee: Leif Hedstrom
 Fix For: 3.1.4


 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

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




[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-10 Thread Leif Hedstrom (Commented) (JIRA)

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

Leif Hedstrom commented on TS-1185:
---

Eh, I checked the code, and this was changed by Igor in February:

commit fe1da80b94d368343174ada8b137a0c4ae1c387e
Author: Igor Galić iga...@apache.org
Commit: Igor Galić iga...@apache.org

TS-1116 fix clang warnings and errors, especially with make check


Are you sure this is still a problem on trunk?

 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell
Assignee: Leif Hedstrom
 Fix For: 3.1.4


 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

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




[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-10 Thread Jan-Frode Myklebust (Commented) (JIRA)

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

Jan-Frode Myklebust commented on TS-1185:
-


I cherry-picked commit cea3c71360a066a24b39e36ee116e83ea1db1bc8 and 
9e3459a1006ad2e4381d20fe5374a11994dccf88 and now it builds fine:

http://koji.fedoraproject.org/koji/taskinfo?taskID=3978895

 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell
Assignee: Leif Hedstrom
 Fix For: 3.1.4


 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

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




[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-10 Thread Jan-Frode Myklebust (Commented) (JIRA)

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

Jan-Frode Myklebust commented on TS-1185:
-

Arno Toell: does the trafficserver-gcc47.patch work for you?

 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell
Assignee: Leif Hedstrom
 Fix For: 3.1.4

 Attachments: trafficserver-gcc47.patch


 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

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




[jira] [Created] (TS-1199) Out of memory: Kill process 1490 ([ET_NET 0]) score 963 or sacrifice child Killed process 1490, UID 99, ([ET_NET 0]) total-vm:10837656kB, anon-rss:7834172kB, file-rss:180kB

2012-04-10 Thread bettydramit (Created) (JIRA)
Out of memory: Kill process 1490 ([ET_NET 0]) score 963 or sacrifice child 
Killed process 1490, UID 99, ([ET_NET 0]) total-vm:10837656kB, 
anon-rss:7834172kB, file-rss:180kB 
-

 Key: TS-1199
 URL: https://issues.apache.org/jira/browse/TS-1199
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Affects Versions: 3.0.3
 Environment: centos 6 x86_64
Reporter: bettydramit


Out of memory: Kill process 1490 ([ET_NET 0]) score 963 or sacrifice child
Killed process 1490, UID 99, ([ET_NET 0]) total-vm:10837656kB, 
anon-rss:7834172kB, file-rss:180kB


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