1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

gc_collect_cycles hangs

Discussion in 'Development' started by udwarf, Mar 27, 2018.

  1. udwarf

    udwarf Silverfish

    Messages:
    21
    :mad::mad::mad::mad:
    I spent days searching why my server is hanging and finally found that it almost always hangs on gc_collect_cycles() call!
    It's surely because one of the tricky plugin, but how can it be that such function hangs!?!
    Could it be a PHP bug? I'm on PHP 7.2.3. Anyway, I just would like to share this discovery
    :mad::mad::mad::mad:

    For now I'm simply commented out all gc_collect_cycles() calls and hope that server survives, considering that server automatically restarted every two hours
     
  2. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Could you provide more information? It doesn't seem to get reproduced on most people's servers.
     
  3. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.