Housekeeping

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Housekeeping

Postby PJs Ronin » Wed Apr 18, 2012 2:14 am

I had just purged some cash hands and tournies (not a lot, perhaps 2% of total db size) and PT4 had done it's 'updating the cache' thing. I then added a couple of aliases (again, only a minor number of hands and prolly no tournies) and was poodlefaking around checking some reports to see what was being updated. I was also off doing some interwebs browsing on the Linux side of my system. Things started to get real slow.

Mouse cursor didn't like to move, mouse clicks took a long time to get a response, so I checked the XP VM and made sure PT4 wasn't importing anything and that I had no poker clients or other progs open in the VM. The Linux side was running Chrome (blank page), but I also run GKrellM to keep an eye on what's happening system wide. It showed that the CPU and HD were working pretty heavy.

We all know why the system was working hard, but it would be real handy if PT4 gave us a little message (say in the lower border bar) like "updating aliases" or "background housekeeping active" or even "sending all your chippies to PT4 developer's retirement fund".
Attachments
Screenshot-1.png
(905.04 KiB) Downloaded 1481 times
PJs Ronin
 
Posts: 978
Joined: Fri Dec 25, 2009 11:55 pm

Re: Housekeeping

Postby PJs Ronin » Wed Apr 18, 2012 2:32 am

Additional to the above:

This high system load has been going on for about 40 minutes. During the past 10-15 minutes I have on 5 occasions selected File > Exit and nothing has happened... PT4 continues whirring and buzzing. Someone who wasn't as anal as myself at monitoring what's going on might just grab a handful of task manager and slam PT4 down or reach for the BRS... and that might not be a good thing.
PJs Ronin
 
Posts: 978
Joined: Fri Dec 25, 2009 11:55 pm

Re: Housekeeping

Postby kraada » Wed Apr 18, 2012 8:44 am

We do everything we can in transactions so that if the program is terminated PostgreSQL can roll back the appropriate changes.

Please send us your PokerTracker4.log file in a ticket though that will help us figure out what is going on here.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Housekeeping

Postby PJs Ronin » Wed Apr 18, 2012 6:26 pm

This ended up going on for about 3-4 hours. PokerTracker4.exe got up to just under 1Gb mem usage (normal is about 130Mb)... and as luck would have it I wasn't running the logger version... FML.

I'll be going through the same process next month so will watch for this again.
PJs Ronin
 
Posts: 978
Joined: Fri Dec 25, 2009 11:55 pm

Re: Housekeeping

Postby PJs Ronin » Wed Apr 18, 2012 6:54 pm

Edit to the above. Started PT4 this morning and it's at it again pushing the CPU/HD to redic large numbers (I thought it got all of that out of its system last night). This time I have logging enabled... ticket and log file will be sent when it calms down.
PJs Ronin
 
Posts: 978
Joined: Fri Dec 25, 2009 11:55 pm

Re: Housekeeping

Postby PJs Ronin » Wed Apr 18, 2012 9:52 pm

While not totally freezing my system, seeing these numbers
Screenshot-4.png
(177.07 KiB) Downloaded 1430 times
got me to thinking.

CPUs don't max out and PT4 doesn't crank nearly a gig of mem just to do background housekeeping... least not on my system it doesn't. I have never seen mem usage that high before. I also noticed that PT4 was supposedly trying to import hands and was running a HUD, even tho I don't recall starting either of those functions.

Although interminably slow, PT4 finally let me get back to the 'Play Poker' tab and I saw this:
Screenshot-6.png
(115.57 KiB) Downloaded 1435 times

The Lovejoy file was of hands I played yesterday. I tried several times to stop the HH import but PT4 would not respond. I also noticed that the peak CPU load and HD usage was coming in cycles... I was getting the distinct impression PT4 was in a loop.

I took a chance and killed PT4 with TM, copied off the log files and then moved the Lovejoy file from the \PokerStars\HandHistory\ directory to the PT4 archive directory. Restarted PT4 and waited... and waited... and waited. No background 'housekeeping'.

Ticket #121043 raised with log files and the Lovejoy HH file.
PJs Ronin
 
Posts: 978
Joined: Fri Dec 25, 2009 11:55 pm

Re: Housekeeping

Postby PJs Ronin » Wed Apr 18, 2012 10:16 pm

30 minutes later I try to play poker and got this:
Screenshot.png
(590.04 KiB) Downloaded 1432 times


No HUD and CPU maxing out. Cannot stop getting hands while playing, PT4 doesn't react.

Time to try a new db methinks.
PJs Ronin
 
Posts: 978
Joined: Fri Dec 25, 2009 11:55 pm

Re: Housekeeping

Postby PJs Ronin » Wed Apr 18, 2012 10:50 pm

Rolled back to my previous db (was current as at mid 18 Apr 12) and did a manual import of all hands played on the 18th and today (my time). Got some duplicates (expected) and then started auto import and fired up a Pokerstars cash table. Played for several minutes and got this:
Screenshot-1.png
(494.53 KiB) Downloaded 1425 times

a working HUD, hands being imported and CPU/MEM all under control.

Yesterday, I decided to try and purge parts of my db (db has data from 01/01/2011) to try and keep the overall size under control. I didn't want to do this on my live db so I:
    ~ In PT4 I created a new db, but didn't add any data nor set active/default.
    ~ Went to the Linux side and in PGAdmin did a backup of my current db. No errors on completion.
    ~ Selected the new db and did a restore from the just made backup. No errors on completion.
    ~ Back to the VM and PT4 and made the new db active/default.
    ~ Checked a few reports and everything looked kosher.
    ~ Played some poker and everything looked fine.
    ~ Time to purge, so I selected all cash hands from 01/01/2011 until 31/03/2011 and purged... PT4 did it's cache update thing. Selected all tournies between 01/01/2011 and 31/03/2011 and purged. I seem to recall PT4 updating cache.
To clarify, I purged all tournies and cash hands for the first 3 months of my db.

After that, everything went downhill.
PJs Ronin
 
Posts: 978
Joined: Fri Dec 25, 2009 11:55 pm

Re: Housekeeping

Postby kraada » Thu Apr 19, 2012 11:00 am

Thank you for the detailed information - we will definitely look into this and make certain any problems we find are fixed.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Housekeeping

Postby kraada » Thu Apr 19, 2012 11:56 am

I've been told that this is related to the purging of tournaments and should be fixed for our next Beta release.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Next

Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 0 guests