[
https://issues.apache.org/jira/browse/TS-4102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15074758#comment-15074758
]
James Fang edited comment on TS-4102 at 12/30/15 8:01 AM:
----------------------------------------------------------
Thanks Kit, you're really helpful.
I followed your advice, and although i can't start ATS with 256 Lua VM in
times, but
i can found traffic.out keeps appending.
My fault, i was misleading via the traffic.out output.
I see traffic.out stop appending, and guessed the programming is dead-loop,
But what really cause traffic.out stop appending is stdout is buffered ...
I think this can be closed now.
Thanks again, you're really an ATS ninja.
was (Author: jamesf):
Thanks Kit, you're really helpful.
I followed your advice, and
My fault, i was misleading via the traffic.out output.
I see traffic.out stop appending, and guessed the programming is dead-loop,
But what really cause traffic.out stop appending is stdout is buffered ...
I think this can be closed now.
Thanks again, you're really an ATS ninja.
> sha1.lua cause ts_lua dead loop
> -------------------------------
>
> Key: TS-4102
> URL: https://issues.apache.org/jira/browse/TS-4102
> Project: Traffic Server
> Issue Type: Bug
> Components: Lua, Plugins
> Reporter: James Fang
> Assignee: Kit Chan
> Fix For: sometime
>
>
> Requiring sha1 from https://luarocks.org/modules/kikito/sha1
> in global hook mode would cause ts_lua to dead-loop and 100% cpu util, then
> killed by TM & restarted.
> This creates a "start -> high cpu dead-loop -> killed" dead end.
> By chaning "local PRELOAD_CACHE = true" in sha1.lua to "local PRELOAD_CACHE =
> false", ts_lua will started successfully.
> i am not sure if this is a bug of luajit/sha1/ts_lua, but requires sha1 from
> bare luajit command-line without disable PRELOAD_CACHE works fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)