You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/08/27 01:55:52 UTC

[jira] [Commented] (TS-1469) Traffic Manager when autoconf fd > 32 will cause endless spins causing traffic_cop to kill server

    [ https://issues.apache.org/jira/browse/TS-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750768#comment-13750768 ] 

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

Commit 45afcfac1089910570f69060cc6b2b35d9d19ad0 in branch refs/heads/master from [~jpeach@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=45afcfa ]

TS-2154: Lua plugin asserts traffic_server on startup

The Lua plugin keep a number of per-instance hook tables. TS-1469
added a hook, but the Lua plugin was never updated, so we ended
passing a NULL continuation pointer to TSContDataSet() in
LuaPluginInstance::init(). Lets add the missing hook, and also add
a static assertion so that the next person do add a hook knows that
this requirement exists.

                
> Traffic Manager when autoconf fd > 32 will cause endless spins causing traffic_cop to kill server
> -------------------------------------------------------------------------------------------------
>
>                 Key: TS-1469
>                 URL: https://issues.apache.org/jira/browse/TS-1469
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Management
>    Affects Versions: 3.3.0, 3.2.0, 3.0.5
>            Reporter: Brian Geffon
>            Assignee: Brian Geffon
>             Fix For: 3.3.1
>
>
> WebIntrMain.cc uses a hard coded FD_SET Size of 32, so when the autoconf file descriptor is greater than 32 it will cause select to sleep forever since no timeout is specified. We had a few systems that would have continuous traffic_server restarts because they would (have a fd > 32) and would never accept the connection request for /synthetic.txt causing cop to kill mananger and server. But when Manager restarted is still got a high fd and it would happen again, while the whole time traffic_server is running just fine. This should be switched to FD_SETSIZE if available.
> Discovered by Thomas Jackson

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