Windows agent leaks handles

Bug #1062582 reported by Will Aoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Windows Agent
Fix Released
Medium
Didier Liroulet

Bug Description

The OCS Inventory agent for Windows leaks handles to TCP sockets at about a rate of one per minute.

I believe that this problem is distinct from #765893, although someone posting there came across the same problem as I'm seeing. Memory consumption stays relatively low, but handle count increases. This causes problems for systems that are left on for a long time: I discovered this while investigating a long-running computer where programs couldn't open new TCP sockets, but existing TCP connections and new ICMP communications worked.

I've observed this in 2.0.3.1 and 2.0.5. I may be able to poke at it with a debugger at some point during the next few weeks to see if I can figure out what's going on.

Revision history for this message
Will Aoki (waoki) wrote :
Revision history for this message
Will Aoki (waoki) wrote :

I'm not sure how I managed to create this bug for the Windows agent deployment too. It's supposed to be on the Windows agent.

affects: ocsinventory-deploy-tool → ocsinventory-windows-agent
Frank (frank-bourdeau)
Changed in ocsinventory-windows-agent:
importance: Undecided → Medium
assignee: nobody → Didier Liroulet (dliroulet)
Revision history for this message
Didier Liroulet (dliroulet) wrote :

Hi Will,

I going to check this.

Thanks for the report.

Changed in ocsinventory-windows-agent:
status: New → In Progress
Revision history for this message
Didier Liroulet (dliroulet) wrote :

I think I've finally found the problem.

Rev 491 do not produce any more handle leak on my dev platform.

Will be released in 2.1.1 .

Changed in ocsinventory-windows-agent:
status: In Progress → Fix Committed
Changed in ocsinventory-windows-agent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.