Handle leak

Home Forums General Report a Bug Handle leak

  • This topic is empty.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #29914
    mdj
    Participant

    Installed 3.0.8 on my XP (well, 2003 actually) the other day, running as service, and today, it was at 22K handles! I have restarted it, and now I can see in process explorer, how the handle count slowly but steadily climbs without even touching server. Procexp reveals lots of unnamed “Event” and “Semaphore” type handles.

    #35386
    bgbearcatfan
    Participant

    I can confirm this.

    I’ve had the memory usage skyrocket over 500 megs and eventually locks up the system, without any connections to the server

    #35387
    bgbearcatfan
    Participant

    would it be possible to have a link to the previous version, 3.0.7 as that handled fine.

    We cannot get cerberus back up and running with this leak.

    Nevemrind, 3.0.7 gives the same memory leak

    #35384
    mdj
    Participant

    Note, there is another thread http://www.cerberusftp.com/phpBB3/viewtopic.php?f=4&t=2419” class=”bbcode_url”>http://www.cerberusftp.com/phpBB3/viewtopic.php?f=4&t=2419 on a memory peek on startup on Vista/W7, I think that is what you are experiencing. This handle leak takes effect slowly over time.

    #35385
    imported_Serin
    Participant

    bgbearcatfan,

    We have a fix coming for the memory leak that affects a small number of users and is likely causing the problem you are seeing. I should have a fix out by the end of the week.

    The handle leak is new and I will investigate that immediately.

    #35389
    imported_Serin
    Participant

    Handle leak confirmed. I will have a fix out this weekend.

    #35388
    bgbearcatfan
    Participant

    Thanks Serin.. I appreciate the info and hard work..

    Sorry for posting in the wrong thread..

    #35390
    imported_Serin
    Participant

    I’ve posted 3.0.8.1 which should resolve the recurring handle leak. It may also resolve the CPU spike that some people see when first starting the server.

    #35391
    mdj
    Participant

    Yes, it seems much better now, the handle count is stable. – except… Enter the User Manager dialog and exit it again, 6 handles lost (I have 6 users configured, coincidence?). Enter the IP Manager dialog and exit it again, 2 handles lost.

    So, there is still slightly wet on the floor. :-)

    #35392
    imported_Serin
    Participant

    No, I know about the handle loss from opening and closing the User Manager. It is occurring because of the same library that caused the other handle leaks. I only had time to replace the critical sections of code (the ones that were getting called repeatedly every 30 seconds, and a few others). I will have all of the original XML parsing code replaced in the next version and that should resolve all handle leaks.

    Thanks for trying it out. Regarding version numbers, I don’t print out the 4th version number. I should probably change that for at least the “About” box. You can tell the full version by opening the “Update” box.

    #35394
    mdj
    Participant

    In the latest release (3.1.0.2) the leaks on exiting (yes, exiting actually) the user manager and ip manager are still there. Also, there are quite a few GDI handles leaked in all three managers, and also in the about box.

    #35393
    imported_Serin
    Participant

    Thanks mdj, I think I am aware of all of the current handle leaks. Many are left over from before and should be fixed within then next few releases.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.
Close Cart

Shopping Cart