bit-tech.net

Go Back   bit-tech.net Forums > Technology > Custom PC and bit-tech Folding Team

Reply
 
Thread Tools
Old 24th Apr 2009, 11:20   #1
uncle_fungus
P/T Folding@home developer
 
uncle_fungus's Avatar
 
Join Date: Mar 2009
Location: York, UK
Posts: 174
uncle_fungus has yet to learn the way of the Dremel
FahMon release announcements

FahMon is an open-source tool (GPL license) that allows you to quickly check the progress of your Folding@Home client (or clients if you have several), avoiding you having to open different files and/or to go to the Internet (for example to know how much your current work unit is worth). Other monitoring tools exist (such as Electron Microscope, FahSpy and InCrease), so if you don't like FahMon, have a look at them!

FahMon is entirely coded in C++ and uses the wxWidgets library, which allows FahMon to exist both for Linux, Windows and OS X. It is designed to be really easy to use, and you should thus not encounter any major problems.



FahMon homepage.

Last edited by uncle_fungus; 24th Apr 2009 at 11:26.
uncle_fungus is offline   Reply With Quote
Old 24th Apr 2009, 11:26   #2
uncle_fungus
P/T Folding@home developer
 
uncle_fungus's Avatar
 
Join Date: Mar 2009
Location: York, UK
Posts: 174
uncle_fungus has yet to learn the way of the Dremel
FahMon 2.3.99.1 Released

FahMon 2.3.99.1 Released

FahMon 2.3.99.1 is now available for download here: http://fahmon.net/download.html

What's new in this release

* Fixed a nasty crash-bug which affected Windows users monitoring linux clients. This also cleans up some behaviour that affects all platforms

As always if you find any bugs in FahMon please report them using trac

Complete changelog:
Code:
v2.3.99.1 (06/04/09)

    General

      Monitoring

      * Added more rigorous checks to file handling to ensure that invalid file
        access attempts don't crash FahMon (particularly on Windows).

      Other

      * Updated German translation.
uncle_fungus is offline   Reply With Quote
Old 24th Apr 2009, 12:00   #3
JackOfAll
Hypermodder
 
JackOfAll's Avatar
 
Join Date: Apr 2009
Location: London, UK
Posts: 671
JackOfAll has yet to learn the way of the Dremel
uncle_fungus,

Are you aware of a bug in 2.3.99.1? The app occasionally commits suicide on one of my Linux machines. I caught some blurb on the ssh console about glibc memory corruption. Something to do with a double linked list. I'll generate a bug report if I catch it again.
__________________
Folding on Linux: Fedora 10 & 11 x86_64 / nVidia 180.60 driver / CUDA 2.1

JackOfAll is offline   Reply With Quote
Old 24th Apr 2009, 12:15   #4
uncle_fungus
P/T Folding@home developer
 
uncle_fungus's Avatar
 
Join Date: Mar 2009
Location: York, UK
Posts: 174
uncle_fungus has yet to learn the way of the Dremel
Quote:
Originally Posted by JackOfAll View Post
uncle_fungus,

Are you aware of a bug in 2.3.99.1? The app occasionally commits suicide on one of my Linux machines. I caught some blurb on the ssh console about glibc memory corruption. Something to do with a double linked list. I'll generate a bug report if I catch it again.
Yes, I have seen this before on one of my boxes. There are some unfortunate thread-safety issues still lingering in the codebase which I'm in the process of working through. When this is done, this bug should be fixed, in addition to the random string replacement bug.

Edit: Thanks for the sticky btw
uncle_fungus is offline   Reply With Quote
Old 24th Apr 2009, 14:33   #5
JackOfAll
Hypermodder
 
JackOfAll's Avatar
 
Join Date: Apr 2009
Location: London, UK
Posts: 671
JackOfAll has yet to learn the way of the Dremel
uncle_fungus,

MT issues - what fun!

I doubt this helps but anyway, from .xsession-errors ....

Code:
*** glibc detected *** /usr/bin/fahmon: double free or corruption (fasttop): 0x0000000001efaa10 ***
======= Backtrace: =========
/lib64/libc.so.6[0x34e0a77ec8]
/lib64/libc.so.6(cfree+0x76)[0x34e0a7a486]
/usr/bin/fahmon[0x42c241]
/usr/bin/fahmon[0x44f572]
/usr/lib64/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x89)[0x304c2f5969]
/usr/lib64/libwx_baseu-2.8.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0xa4)[0x304c2f6b44]
/usr/lib64/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xc7)[0x304c2f6c37]
/usr/lib64/libwx_gtk2u_core-2.8.so.0(_ZN11wxTimerBase6NotifyEv+0x66)[0x37f6ce8e86]
/usr/lib64/libwx_gtk2u_core-2.8.so.0[0x37f6beee1b]
/lib64/libglib-2.0.so.0[0x7f6a8218cf7b]
/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x23b)[0x7f6a8218c7bb]
/lib64/libglib-2.0.so.0[0x7f6a8218ff8d]
/lib64/libglib-2.0.so.0(g_main_loop_run+0x1cd)[0x7f6a821904bd]
/usr/lib64/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x37f47238a7]
/usr/lib64/libwx_gtk2u_core-2.8.so.0(_ZN11wxEventLoop3RunEv+0x48)[0x37f6be6768]
/usr/lib64/libwx_gtk2u_core-2.8.so.0(_ZN9wxAppBase8MainLoopEv+0x4b)[0x37f6c6fafb]
/usr/lib64/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPw+0x4d)[0x304c299b8d]
/usr/bin/fahmon[0x445822]
/lib64/libc.so.6(__libc_start_main+0xe6)[0x34e0a1e576]
/usr/bin/fahmon[0x415849]
__________________
Folding on Linux: Fedora 10 & 11 x86_64 / nVidia 180.60 driver / CUDA 2.1

JackOfAll is offline   Reply With Quote
Old 24th Apr 2009, 14:49   #6
uncle_fungus
P/T Folding@home developer
 
uncle_fungus's Avatar
 
Join Date: Mar 2009
Location: York, UK
Posts: 174
uncle_fungus has yet to learn the way of the Dremel
Quote:
Originally Posted by JackOfAll View Post
uncle_fungus,

MT issues - what fun!
Fun indeed

Quote:
Originally Posted by JackOfAll View Post
Code:
/usr/bin/fahmon[0x42c241]
/usr/bin/fahmon[0x44f572]
/usr/bin/fahmon[0x415849]
Could you try running addr2line on those addresses to see if they resolve to real functions in fahmon (assuming you didn't strip the binary first)?

Code:
addr2line -e /usr/src/fahmon 0x42c241
addr2line -e /usr/src/fahmon 0x44f572
addr2line -e /usr/src/fahmon 0x415849
uncle_fungus is offline   Reply With Quote
Old 24th Apr 2009, 15:14   #7
JackOfAll
Hypermodder
 
JackOfAll's Avatar
 
Join Date: Apr 2009
Location: London, UK
Posts: 671
JackOfAll has yet to learn the way of the Dremel
Quote:
Originally Posted by uncle_fungus View Post
Code:
addr2line -e /usr/src/fahmon 0x42c241
addr2line -e /usr/src/fahmon 0x44f572
addr2line -e /usr/src/fahmon 0x415849
Binary is stripped, but I got the debuginfo package installed, so gdb ......

Code:
(gdb) list *0x42c241
0x42c241 is in ClientsManager::ReloadThreaded(unsigned int) (clientsManager.cpp:287).

(gdb) list *0x44f572
0x44f572 is in MainDialog::OnAutoReloadTimer(wxTimerEvent&) (mainDialog.cpp:1317).

(gdb) list *0x415849
No source file for address 0x415849.
__________________
Folding on Linux: Fedora 10 & 11 x86_64 / nVidia 180.60 driver / CUDA 2.1

JackOfAll is offline   Reply With Quote
Old 24th Apr 2009, 15:18   #8
uncle_fungus
P/T Folding@home developer
 
uncle_fungus's Avatar
 
Join Date: Mar 2009
Location: York, UK
Posts: 174
uncle_fungus has yet to learn the way of the Dremel
Excellent, that's the kind of backtrace I expected from a thread-safety related crash, so that's "good".

If you fancy checking out some bleeding edge code, I'll hopefully be committing some code changes to SVN this evening, and they might help things a little.
uncle_fungus is offline   Reply With Quote
Old 24th Apr 2009, 15:56   #9
JackOfAll
Hypermodder
 
JackOfAll's Avatar
 
Join Date: Apr 2009
Location: London, UK
Posts: 671
JackOfAll has yet to learn the way of the Dremel
Quote:
Originally Posted by uncle_fungus View Post
If you fancy checking out some bleeding edge code, I'll hopefully be committing some code changes to SVN this evening, and they might help things a little.
Sure, I'll grab the latest code from SVN tomorrow.
__________________
Folding on Linux: Fedora 10 & 11 x86_64 / nVidia 180.60 driver / CUDA 2.1

JackOfAll is offline   Reply With Quote
Old 24th Apr 2009, 17:28   #10
uncle_fungus
P/T Folding@home developer
 
uncle_fungus's Avatar
 
Join Date: Mar 2009
Location: York, UK
Posts: 174
uncle_fungus has yet to learn the way of the Dremel
Also, if you feel like trying to make FahMon crash, start it with the -s or --stress flag. This enables a forced refresh every 0.5 seconds (currently) which should hopefully highlight any issues much faster (and doesn't require you to blu-tak the F6 button down )
uncle_fungus is offline   Reply With Quote
Old 7th May 2009, 15:00   #11
JackOfAll
Hypermodder
 
JackOfAll's Avatar
 
Join Date: Apr 2009
Location: London, UK
Posts: 671
JackOfAll has yet to learn the way of the Dremel
I discovered the "reload clients in series" option after spending 2 days keep modifying clients after their names and directories become "string" corrupted! Maybe that should be the default?
__________________
Folding on Linux: Fedora 10 & 11 x86_64 / nVidia 180.60 driver / CUDA 2.1

JackOfAll is offline   Reply With Quote
Old 7th May 2009, 15:05   #12
uncle_fungus
P/T Folding@home developer
 
uncle_fungus's Avatar
 
Join Date: Mar 2009
Location: York, UK
Posts: 174
uncle_fungus has yet to learn the way of the Dremel
It may well have to be if I can't get this stupid thread safety issue fixed. At least that way there are only ever a max of 2 threads running (GUI + reload).
uncle_fungus is offline   Reply With Quote
Old 7th May 2009, 15:17   #13
JackOfAll
Hypermodder
 
JackOfAll's Avatar
 
Join Date: Apr 2009
Location: London, UK
Posts: 671
JackOfAll has yet to learn the way of the Dremel
One other thing uncle_fungus - prior to the setting the "reload series" option, one thing I noticed when fahmon crashed due to threading issues while I have several other machines nfs mounted to get at their folding dirs. I suppose all bets are off at the point that a process crashes reading an nfs dir that is hard mounted, but for some reason the mounts were hung forever. I couldn't access them anymore and it was taking multiple "unmount -force" before a remount. I started to use the "intr" option when hard mounting the shares, which at least resulted in the shares not being hung following a crash. All of which is not strictly relevant to fahmon, but I thought I'd mention it.
__________________
Folding on Linux: Fedora 10 & 11 x86_64 / nVidia 180.60 driver / CUDA 2.1

JackOfAll is offline   Reply With Quote
Old 7th May 2009, 16:24   #14
uncle_fungus
P/T Folding@home developer
 
uncle_fungus's Avatar
 
Join Date: Mar 2009
Location: York, UK
Posts: 174
uncle_fungus has yet to learn the way of the Dremel
I did notice the nfs issue when I had some nfs shares. The same thing can happend with cifs shares too unfortunately, but that's just due to the filesystem and I don't think its something I can do anything about in FahMon.

You can usually get said broken shares to unmount with a forced lazy unmount (umount -lf).
uncle_fungus is offline   Reply With Quote
Old 4th Oct 2009, 14:14   #15
leexgx
CPC hang out zone (i Fix pcs i do )
 
leexgx's Avatar
 
Join Date: Jun 2006
Location: uk
Posts: 1,244
leexgx has yet to learn the way of the Dremelleexgx has yet to learn the way of the Dremelleexgx has yet to learn the way of the Dremelleexgx has yet to learn the way of the Dremelleexgx has yet to learn the way of the Dremelleexgx has yet to learn the way of the Dremel
when i leave FAHmon open for an 1-2hr on my system it makes my remote computer crash thats running GPU clients (Thread stuck in driver error)
__________________
i7-920 (4Ghz) <> Titian ferna <> Rampage extreme III<> GTX480 <> 6gb 3x2gb OCZ Gold 1600 <> SSD M225 256gb / segate .11 1.5TB <> X-Fi Titanium Fatal1ty <> TK 1000w Toughpower <win7 x64> GreenFrog Computers Warrington
leexgx is offline   Reply With Quote
Old 11th Oct 2009, 20:33   #16
leexgx
CPC hang out zone (i Fix pcs i do )
 
leexgx's Avatar
 
Join Date: Jun 2006
Location: uk
Posts: 1,244
leexgx has yet to learn the way of the Dremelleexgx has yet to learn the way of the Dremelleexgx has yet to learn the way of the Dremelleexgx has yet to learn the way of the Dremelleexgx has yet to learn the way of the Dremelleexgx has yet to learn the way of the Dremel
other issue as well, can you make fahmon can you set option to only use config file not registry as i use fahmon on my pen stick when i run it off my usb pen stick it does an debug crash (it then merges the dir path from an other client in the list so 2 clients have the same dir path but 2 dif titles )

when FAHmon is open for 1hr or more it some times merges the title name into the dir path that then makes it no longer update or it puts the dir path in the title (that norm results in an crash in fahmon and saving the invalid dir name)
__________________
i7-920 (4Ghz) <> Titian ferna <> Rampage extreme III<> GTX480 <> 6gb 3x2gb OCZ Gold 1600 <> SSD M225 256gb / segate .11 1.5TB <> X-Fi Titanium Fatal1ty <> TK 1000w Toughpower <win7 x64> GreenFrog Computers Warrington
leexgx is offline   Reply With Quote
Old 25th Jan 2010, 19:49   #17
DocJonz
Another CPC refugee .....
 
DocJonz's Avatar
 
Join Date: Apr 2009
Location: The North
Posts: 760
DocJonz - it's over 9000!!!!!!!!1!1!1!!!DocJonz - it's over 9000!!!!!!!!1!1!1!!!DocJonz - it's over 9000!!!!!!!!1!1!1!!!DocJonz - it's over 9000!!!!!!!!1!1!1!!!DocJonz - it's over 9000!!!!!!!!1!1!1!!!DocJonz - it's over 9000!!!!!!!!1!1!1!!!DocJonz - it's over 9000!!!!!!!!1!1!1!!!DocJonz - it's over 9000!!!!!!!!1!1!1!!!DocJonz - it's over 9000!!!!!!!!1!1!1!!!DocJonz - it's over 9000!!!!!!!!1!1!1!!!DocJonz - it's over 9000!!!!!!!!1!1!1!!!
uncle_fungus - looks like some more-than-normal tweaking of FahMon is going to be required to try to take account of the new points system for the a3 cores??
__________________
Folding stats
Folding Farm Stats (HFM): http://www.docjonz.net/summary.html
DocJonz is online now   Reply With Quote
Old 19th May 2010, 23:04   #18
Phalanx
Needs more dragons and stuff.
 
Phalanx's Avatar
 
Join Date: Apr 2010
Location: Surrey, UK
Posts: 3,712
Phalanx is the Cheesecake. Relix smiles down upon them.Phalanx is the Cheesecake. Relix smiles down upon them.Phalanx is the Cheesecake. Relix smiles down upon them.Phalanx is the Cheesecake. Relix smiles down upon them.Phalanx is the Cheesecake. Relix smiles down upon them.Phalanx is the Cheesecake. Relix smiles down upon them.Phalanx is the Cheesecake. Relix smiles down upon them.Phalanx is the Cheesecake. Relix smiles down upon them.Phalanx is the Cheesecake. Relix smiles down upon them.Phalanx is the Cheesecake. Relix smiles down upon them.Phalanx is the Cheesecake. Relix smiles down upon them.
I tried to install FahMon today and while it installed fine, when I shared the folders with the clients in it from my folding server, I added them in and they simply sat there without updating saying "Hung" with a red box on the left. No matter the fact I knew they were updating, it wouldn't update the FahMon setup with them, so I uninstalled the program
__________________
XBOX Live!: Ph4lanx | Steam: Catachan
I'm an author! ChrisDamico.co.uk
Phalanx is offline   Reply With Quote
Old 10th Jun 2010, 09:10   #19
songzila
Minimodder
 
Join Date: Jun 2010
Posts: 38
songzila has yet to learn the way of the Dremel
thanks for the tool
songzila is offline   Reply With Quote
Old 14th Sep 2010, 09:42   #20
Votick
My CPU's hot but my core runs cold.
 
Votick's Avatar
 
Join Date: May 2009
Location: Cambridgeshire
Posts: 1,908
Votick is a Super Spamming SaiyanVotick is a Super Spamming SaiyanVotick is a Super Spamming SaiyanVotick is a Super Spamming SaiyanVotick is a Super Spamming SaiyanVotick is a Super Spamming SaiyanVotick is a Super Spamming SaiyanVotick is a Super Spamming SaiyanVotick is a Super Spamming SaiyanVotick is a Super Spamming SaiyanVotick is a Super Spamming Saiyan
Any fahmon update comming soon?

I prefer Fahmon over HFM.

But would like to see my bonus's.
__________________

http://stats.bish.pro/
Votick is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:08.
Powered by: vBulletin Version 3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.