• Critical
    • Performance improvement for the workers, prevention of system overload when scheduling thousands of workers.

      problem

      The worker queue is triggered very often (on worker queuing / finishing) producing everytime a new process and its called in a chained way so, one php process triggers the queue in a subprocess. So the second process inherits all opened file descriptors from the first one, what seems to be default and not changeable in a trivial way. That leads to increasing amount of open file descriptors and therefore strange problems: Not loadable Exception classes even that they exist and

      E1313 - The queried OpenTM2 - http://t5memory-hio.web.inetsolutions.cloud:4042/t5memory returns an error: cURL error 6: getaddrinfo() thread failed to start 

      solution

      Change the queue so that it is long running and waits for new notifications via fifo named pipe instead of polling all the time the worker DB.

      Can be enabled by setting worker triggerType processdaemon instead default process.

            tlauria Thomas Lauria
            tlauria Thomas Lauria
            Axel Becher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: