Trunk: Crash in TSContCreate

2015-07-24 Thread Nick Kew
The stream-editor plugin was developed and tested against TS 5.2.x. Against trunk, it builds just fine, but I've only just tried to run it, and I'm getting a crash from a completely unexpected place: a malloc under TSContCreate. The dump is: Program received signal SIGSEGV, Segmentation fault. m

[GitHub] trafficserver pull request: TS-3779: Add per-host error pages to b...

2015-07-24 Thread jacksontj
Github user jacksontj commented on the pull request: https://github.com/apache/trafficserver/pull/257#issuecomment-124564250 @bgaff Wouldn't this be better implemented as an overrideable config for body factory root? In a lot of cases remap's domain is a regex (at least for us), so th

Re: Another cross thread race condition and thoughts on server VC migration

2015-07-24 Thread Sudheer Vinukonda
I agree with Leif as well - the "cost" in constantly reshuffling VC's across threads may outweigh the extra latency in using per-thread pool. If we do not want cross-thread communication, it seems like using per-thread pool is a more cleaner solution. Would it makes sense to spend time to invest

Re: Another cross thread race condition and thoughts on server VC migration

2015-07-24 Thread Alan Carroll
It's unclear to me that you wouldn't get better NUMA affinity with the migration. The logic spends much more time messing with the IOBuffers than with the socket buffers and if the socket is migrated the IOBuffers will be thread local whereas currently they are not. That is, IOBuffers for server

Re: Another cross thread race condition and thoughts on server VC migration

2015-07-24 Thread Susan Hinrichs
On 7/24/2015 2:11 AM, Leif Hedstrom wrote: On Jul 24, 2015, at 3:16 AM, Susan Hinrichs wrote: Hello, Another latent cross-thread race condition has become very active in our environment (TS-3797). Given that we just spent time within the last month squashing another cross thread race con

Re: Another cross thread race condition and thoughts on server VC migration

2015-07-24 Thread Leif Hedstrom
> On Jul 24, 2015, at 9:17 AM, Leif Hedstrom wrote: > >> >> On Jul 24, 2015, at 9:11 AM, Leif Hedstrom wrote: >> >>> >>> On Jul 24, 2015, at 3:16 AM, Susan Hinrichs >>> wrote: >>> >>> Hello, >>> >>> Another latent cross-thread race condition has become very active in our >>> environment

Re: Another cross thread race condition and thoughts on server VC migration

2015-07-24 Thread Leif Hedstrom
> On Jul 24, 2015, at 9:11 AM, Leif Hedstrom wrote: > >> >> On Jul 24, 2015, at 3:16 AM, Susan Hinrichs >> wrote: >> >> Hello, >> >> Another latent cross-thread race condition has become very active in our >> environment (TS-3797). Given that we just spent time within the last month >> s

Re: Another cross thread race condition and thoughts on server VC migration

2015-07-24 Thread Leif Hedstrom
> On Jul 24, 2015, at 3:16 AM, Susan Hinrichs > wrote: > > Hello, > > Another latent cross-thread race condition has become very active in our > environment (TS-3797). Given that we just spent time within the last month > squashing another cross thread race condition (TS-3486) that was acti