James Peach created TS-4635:
-------------------------------
Summary: 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
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)