Open handles remain open

Case number:671071-992452
Topic:Game: Other
Opened by:Bletchley Park
Opened on:Saturday, April 21, 2012 - 07:27
Last modified:Friday, May 25, 2012 - 17:31

I find that foldit opens handles and leaves them open. After two weeks of running my machine I have 540.000+ handles... That cannot be right. The number only goes up, never down. Could you please check for a deallocation of handles issue ? After a while the system also tends to get sluggish, this may be related.

(Sat, 04/21/2012 - 07:27  |  8 comments)

Joined: 05/19/2009
Groups: Contenders

The count is now well over 1 million handles...

B_2's picture
User offline. Last seen 7 years 15 weeks ago. Offline
Joined: 11/29/2008
Groups: None

If your client hasn't crashed by now, consider yourself lucky.

beta_helix's picture
User offline. Last seen 1 week 6 days ago. Offline
Joined: 05/09/2008
Groups: None


spdenne's picture
User offline. Last seen 19 weeks 21 hours ago. Offline
Joined: 10/01/2011
Groups: Void Crushers

On Windows 7, the most prolific handle type that Foldit holds, is a Thread handle

Joined: 05/19/2009
Groups: Contenders

I have checked and can confirm that the handles are being allocated by Foldit. The machine also does get slow after a while. Currently there are 410.000 handles generated in 23 hours. The only remedy I have found so far is to stop the clients, exit them and then restart them. There is no need to restart Windows, just the clients. In task manager you can see the count drop heavily when a client is stopped. Easily by over 100.000 per client. Is it possible that every 'move' in the client allocates a handle ?

brow42's picture
User offline. Last seen 2 weeks 3 days ago. Offline
Joined: 09/19/2011
Groups: None

I remember when programs just crashed when they hit 10,000 handles in Windows 2000.

Joined: 06/17/2010

It is 400`000 after 2 days and rising...

I think there is something in calling game_library.dll - it leaves open handle on close.

Joined: 11/10/2007
Groups: Window Group
Status: Open » Closed

This should be fixed and will go out in the next update.


Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons