Too many open files?

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

Too many open files?

Postby lumst » Sun Aug 19, 2012 10:26 am

Hi,
PT3 under MacOS stops importing after one hour of hard playing, because I see in log file messages like these:
Code: Select all
2012/08/19 16:08:14.320: [B0103000][wxWidgets] Error: can't open file '/Users/user/Library/Application Support/PokerTracker/Logs/AutoImport_20120819.log' (error 24: Too many open files)
2012/08/19 16:08:14.321: [B0103000][wxWidgets] Error: can't open file '/Users/user/Library/Application Support/PokerTracker/PokerTracker.cfg' (error 24: Too many open files)
2012/08/19 16:08:14.323: [B0103000][ImportAuto] Adding message: Unable to begin feeder import process. Reason: Unsupported database type: pt31 ()

Is it some simple thing that could be tunes somewhere at operating system options?
However, it seems like file handles leak, so no matter of static limit, it will be reached.

After stop/start autoimport, it work normally.
If you need my logs, I could upload it in Support Ticket.
lumst
 
Posts: 53
Joined: Sat Apr 21, 2012 3:43 pm

Re: Too many open files?

Postby lumst » Sun Aug 19, 2012 10:56 am

Effect is stable, it was 2 times today already..

There's no need to keep HH file handle open, if last hand was 30 minutes ago.
A (tuneable) timeout should be implemented to close file handle and, if set, move processed file into archive folder.
Note: HM has such a timeout - its much better than to overflow open file handles amount.
lumst
 
Posts: 53
Joined: Sat Apr 21, 2012 3:43 pm

Re: Too many open files?

Postby lumst » Sun Aug 19, 2012 2:48 pm

And just it happens for the 3rd time.
Overall I played 620 tourneys today, and three times it was "Too many open files" error in logs, and I had import successfully stopped/started. No PT3 restart was required.
It means each 200 tourneys I have to restart import - rather inconvenient.
lumst
 
Posts: 53
Joined: Sat Apr 21, 2012 3:43 pm

Re: Too many open files?

Postby WhiteRider » Mon Aug 20, 2012 3:19 am

I will make sure that our lead Mac developer sees this, but I think there is a known issue handling large numbers of files in Mac OS.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Too many open files?

Postby lumst » Mon Aug 20, 2012 1:51 pm

Thanx.
They just dont need to be opened forever.
lumst
 
Posts: 53
Joined: Sat Apr 21, 2012 3:43 pm

Re: Too many open files?

Postby ttwduke » Fri Aug 24, 2012 8:02 am

i used to use pt3 with pokerstars without any issues but had a period playing ongame and stopped using it. I have now returned to pokerstars but it didn't work. i have updated to pt v3.12.1 but when trying to import i get the same error as before i updated.
Unable to begin feeder import process. Reason: Unsupported database type: PokerTracker 3 Database ()
looked thru the forums for answers but am a little stuck. i have postgreSQL 8.4 but do not know how to update to v9 if necessary.
thanks for any help.
ttwduke
 
Posts: 2
Joined: Wed Mar 02, 2011 6:07 am

Re: Too many open files?

Postby kraada » Fri Aug 24, 2012 10:36 am

Are you also on a Mac as lumst is, or are you using Windows?

Also, please upgrade to our latest beta verison - 3.13.9 - available on our download page - downgrading can cause this kind of error.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 6 guests