Hi Jan, We have patched this and it ran smoothly for a month, then the problem happens again. :( I am getting the same handler errors again. Any other thoughts? Regards, Leon -----Original Message----- From: Jan Willamowius [mailto:jan@xxxxxxxxxxxxxx] Sent: Friday, 7 December 2012 10:20 PM To: GNU Gatekeeper Users Cc: Leon Li Subject: Re: Gnugk hang Hi Leon, I have an experimental fix to plug the handle leak. If you are able to compile a new executable from the CVS, you can apply the attached patch. Please let me know if it makes a difference, because I can't reproduce the leak here. Thanks, Jan Leon Li wrote: > Thanks Jan, > > Regards, > Leon > > > -----Original Message----- > From: Jan Willamowius [mailto:jan@xxxxxxxxxxxxxx] > Sent: Thursday, 6 December 2012 10:10 PM > To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: Gnugk hang > > Hi Leon, > > what you are seeing is that GnuGk runs out of file handles. > This issue has already been reported in the "FIFO gnugk 3.1" thread. > > I believe this is caused by a bug in PTLib 2.10.x where threads marked as auto-delete aren't deleted at all. > > Currently there is no real fix availabe, but I'm on it. In the meantime, you can simply raise the number of file handles available to GnuGk so the leakage won't cause a crash (eg. "ulimit -n 32768 before starting GnuGk"). > > Regards, > Jan > > Leon Li wrote: > > Hi, > > > > Our gnugk died this morning with the following errors repeatly. > > > > 2012/12/05 17:26:27.544 1 osutil.cxx(191) PWLib File handle high water mark within 5% of maximum: 974 Thread unblock pipe > > 2012/12/05 17:30:35.906 0 assert.cxx(108) PWLib Assertion fail: Operating System error, file ptlib/unix/tlibthrd.cxx, line 416, Error=24 > > > > 2012/12/05 17:30:46.540 0 assert.cxx(108) PWLib Assertion fail: Operating System error, file ptlib/unix/tlibthrd.cxx, line 416, Error=24 > > 2012/12/05 17:30:46.540 1 osutil.cxx(191) PWLib File handle high water mark within 5% of maximum: 9514960 Thread unblock pipe > > > > Wondering what this means. Thanks in advance. > > > > We are using v3.1.0. > > > > Regards, > > Leon > > > -- > Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ -- Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/