public static function checkAutoGC()
    {
        if ((Daemon::$config->autogc->value > 0)
            && (Daemon::$process->counterGC > 0)
            && (Daemon::$process->counterGC >= Daemon::$config->autogc->value)
        ) {
            Daemon::$process->counterGC = 0;
            return true;
        }
        return false;
    }