You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2016/10/18 23:58:58 UTC

[jira] [Updated] (TS-4635) Fix HostDB file descriptor handling

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

Bryan Call updated TS-4635:
---------------------------
    Summary: Fix HostDB file descriptor handling  (was: fix HostDB file descriptor handling)

> Fix HostDB file descriptor handling
> -----------------------------------
>
>                 Key: TS-4635
>                 URL: https://issues.apache.org/jira/browse/TS-4635
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HostDB
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 7.0.0
>
>
> Various file descriptor handling bugs syncing HostDB.
> 1. RefCountCacheSerializer::fd is initialized to 0 rather than -1
> 2. RefCountCacheSerializer::initialize_storage checks for fd <= 0 rather than -1
> 3. Any time the RefCountCacheSerializer is deleted it leaks the file descripto.
> 4. Leaks on error paths in RefCountCacheSerializer::finalize_sync()
> There is a fd leak somewhere:
> {noformat}
> [ET_NET 23444 nmadmin   32u   REG              202,1         12   524318 /n/trafficserver/var/host.db.syncing
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)