PDA

View Full Version : HM can't handle 24/7



Josey Wales
06-29-2009, 07:32 AM
HM has a problem working non stop for me. After a while it just stops importing. Restarting HM or closing Table Manager and then clicking on relaunch HUD get things back on track. I'm guessing it's a Table Manager problem, when closing it, it goes "can't write posprefs" (or something like that). When I relaunch the TableManager/HUD, the positions of the individual data for the players is reset and I have to move them again.

Sometimes it gets stuck while playing and I notice this because the HUD doesn't display current results but those of several hands ago. HM's Import tab sits idly and doesn't import anything although several tables are open. Closing and reopening table manager fixes things.

Is this widely known or is this the first time you heard of this?

HM 1.09 beta 7
Vista x64 SP2
Stars and FT

fozzy71
06-29-2009, 07:39 AM
First I have heard of anything like that. I am going to have to get some assistance from the other support guys, or developers before replying. I will be forwarding this on, and one of us should reply sometime later today.

You could try the newest version, 1.09 beta 9, in the meantime uf you wanted to. - http://www.holdemmanager.com/downloads/HmBetaUpdate.exe

Josey Wales
06-29-2009, 07:57 AM
This happens from the first HM I installed, several versions ago (while HM didn't have tournament support for graphs and stuff). I was thinking maybe it's x64 related, cuz paths are not the same for x86 and x64 Vistas and that's why it can't find/write this posprefs file?

Also, when I click on Exit while autoimport is running, HM crashes (exception something something).

fozzy71
06-29-2009, 11:26 AM
Are you running HM.exe + Hmhud.exe as an administrator? Have you turned off UAC?

Josey Wales
06-29-2009, 11:44 AM
Sure, everythings dandy administrator-wise. UAC was taken out back and shot the moment Vista was installed ;)

The problem is it doesn't happen all the time, but sometimes. However, it always occurs if I finish playing in the evening, don't shut the rig off and want to continue playing in the morning. Then I hafta kill Table Manager, click on relaunch HUD and everything is dandy.

If I can activate some debug mode and send you a report or something, I'll be happy to do that.

fozzy71
06-29-2009, 11:54 AM
Do you perform regular maintenance on your PostgreSQL DB? Here is a post I wrote the other day. Not sure if it will help your problem, but it should improve your overall performance.


- I would start by turning off the logging in your SQL and deleting all the logs that are wasting space:

*If you want some help with this part let me know*



- Start > My Computer > Tools > Folder Options > View > UnCheck 'Hide Extensions for known file types' > OK

- C:\Program Files\PostgreSQL\data\postgresql.conf > Right-Click > Open With.. > NotePad > Check 'Always use this program'

- Scroll about half way down to ~Lines 245 - 260:

- The last line of this block of code, for the 'logging_collector', must be changed from Off to On.


------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------

# - Where to Log -

log_destination = 'stderr' # Valid values are combinations of
# stderr, csvlog, syslog and eventlog,
# depending on platform. csvlog
# requires logging_collector to be on.

# This is used when logging to stderr:
logging_collector = off # Enable capturing of stderr and csvlog

File > Save; File > Close

Start > Programs > PostgreSQL 8.3 > Reload Configuration.

*edit:
- Start > My Computer > C:\Program Files\PostgreSQL\data\pg_log, or C:\Program Files (x86)\PostgreSQL\data\pg_log, if you have 64 bit Vista. Delete all files in that folder. And it might be a good idea to empty your recycle bin at that point, or use a 3rd party utility like CCleaner (http://www.ccleaner.com) to clean up all your junk/temporary files. You want to do this before you get to the vacuum and defrag process.


************************************************** *****************


- Vacuum:

http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=60


- If you get an error, then vacuum manually:

http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=163


************************************************** *****************


- You can follow this FAQ for other ways to make HEM run faster. One of the most important steps is the defrag. I personally use Defraggler (http://www.defraggler.com/) on my PC. Make sure you Stop the PostgreSQL service before you defrag, and Start it back up after, so it will defrag properly.

http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=162


************************************************** *****************




- You can also use the SQL Tuning Wizard :

http://www.holdemmanager.net/faq/afmmain.aspx?faqid=172


*****************************

Josey Wales
06-29-2009, 01:15 PM
Performance-wise everything is cool, I run a manual vacuum trough pgadmin every couple of weeks or so. I'll try out the new beta and get back to you.

Josey Wales
06-29-2009, 01:19 PM
BTW, here is what happens when I click on Exit while Autoimport is on.

Rvg72
06-29-2009, 05:20 PM
The first problem has been known to occur in exactly the situation you describe. The table manager is working, it is left on overnight or for a very extended period and then it has that issue you mentioned. We will continue to try and isolate the problem

Not entirely sure about the error on Exit

Roy

Josey Wales
06-30-2009, 05:41 AM
Here's them details :


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.ArrayList.ArrayListEnumeratorSi mple.MoveNext()
at System.Windows.Forms.Application.ExitInternal()
at System.Windows.Forms.Application.Exit(CancelEventA rgs e)
at System.Windows.Forms.Application.Exit()
at HoldemManager.Ԛ.ޙ(Object Ԥ, EventArgs ԥ)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Obje ct key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(M ouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Mes sage& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
HoldemManager
Assembly Version: 1.8.0.0
Win32 Version: 1.8.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/RVG%20Software/Holdem%20Manager/HoldemManager.exe
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
DevComponents.DotNetBar2
Assembly Version: 7.9.9.3
Win32 Version: 7.9.9.3
CodeBase: file:///C:/Program%20Files%20(x86)/RVG%20Software/Holdem%20Manager/DevComponents.DotNetBar2.DLL
----------------------------------------
HMClass
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/RVG%20Software/Holdem%20Manager/HMClass.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
DeployLX.Licensing.v3
Assembly Version: 3.1.2000.0
Win32 Version: 3.1.2000.19262
CodeBase: file:///C:/Program%20Files%20(x86)/RVG%20Software/Holdem%20Manager/DeployLX.Licensing.v3.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
cdsm7zb0
Assembly Version: 3.1.2000.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
HEMGUI
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/RVG%20Software/Holdem%20Manager/HEMGUI.DLL
----------------------------------------
ZedGraph
Assembly Version: 5.1.4.31904
Win32 Version: 5.1.4.31904
CodeBase: file:///C:/Program%20Files%20(x86)/RVG%20Software/Holdem%20Manager/ZedGraph.DLL
----------------------------------------
Softelvdm.SftTreeNET
Assembly Version: 2.0.12.0
Win32 Version: 2.0.12.0
CodeBase: file:///C:/Program%20Files%20(x86)/RVG%20Software/Holdem%20Manager/Softelvdm.SftTreeNET.DLL
----------------------------------------
Softelvdm.Controls
Assembly Version: 1.0.0.16
Win32 Version: 1.0.0.16
CodeBase: file:///C:/Program%20Files%20(x86)/RVG%20Software/Holdem%20Manager/Softelvdm.Controls.DLL
----------------------------------------
Npgsql
Assembly Version: 1.98.4.0
Win32 Version: 1.98.4.0
CodeBase: file:///C:/Program%20Files%20(x86)/RVG%20Software/Holdem%20Manager/Npgsql.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
Mono.Security
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/RVG%20Software/Holdem%20Manager/Mono.Security.DLL
----------------------------------------
Acid Library
Assembly Version: 1.3.2734.23020
Win32 Version: 1.3.2734.23020
CodeBase: file:///C:/Program%20Files%20(x86)/RVG%20Software/Holdem%20Manager/Acid%20Library.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Josey Wales
06-30-2009, 10:29 AM
happened today three times during an 6 hour session. stops importing and the last three hands display on top of the HUD shows hands from several hands ago. at no time was HM idle, I was playing non stop.