Accumulated jobs

Discussion in 'General' started by Emsanator, Aug 12, 2023.

  1. Emsanator

    Emsanator Member

    Hello,
    Following our most recent system updates (3.2.11), I have observed a persistent backlog in our job tasks. As of now, we have 10 pending tasks that have remained unprocessed for approximately a week. Despite server multiple reboots, the number of pending tasks has not reduced. I suspect that the last two updates might have introduced a bottleneck which is causing this issue.

    What is your suggestion for a solution?
    Thank you
    2023-08-12_17-44-26.png 2023-08-12_17-33-44.png 2023-08-12_17-40-49.png
     
    Last edited: Aug 12, 2023
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's quite unlikely. It's just that one of your systems is unable to process all jobs due to a misconfiguration or one system is not picking up new jobs at all e.g. because its not able to connect to master anymore or has been shut down or server.sh root cronjob has been disabled. So we have most likely a system or config problem of your systems and not an issue in ISPConfig. You can use either debug mode in ISPConfig and check oll systems, or look into the sys_datalog and server table of the master. Records are pending when the updated column in the server table for that server is lower than datalog_id from sys_datalog where server_id must be either 0 or match the ID of the server. So if you know then which server fails to pick up or process changes, you can then enable debug log for that server node and run server.sh on the shell of that server to see in details why it fails. See also: https://www.faqforge.com/linux/debugging-ispconfig-3-server-actions-in-case-of-a-failure/
     
  3. Emsanator

    Emsanator Member

    I created a log but it only gave these error logs. Can these give an idea?

     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You manually enabled a old and unmaintained plugin which should not be enabled. Disable it by running:

    rm -f /usr/local/ispconfig/server/plugins-enabled/nginx_reverseproxy_plugin.inc.php
     
  5. Emsanator

    Emsanator Member

    I deleted the file and restarted the server. This time, the red circle indicating the number of pending jobs is now blinking. But the number of jobs still did not decrease.

    I present it to you in case you need to log again.
    @till
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Run server.sh again and post the result that you get on the screen. Also which PHP version do you use on that system and which ISPConfig version is installed on that node.
     
  7. Emsanator

    Emsanator Member

    Execution of "server.sh", it appears that the pending tasks have been successfully completed, thank you for your help @till !

    PHP: 8.1
    ISPconfig: 3.2.11
     
    till likes this.
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Please enable server.sh in root crontab again if you have not done that yet.
     
  9. momo1240

    momo1240 Member

    Hello there,
    I was looking for a way to enable nginx reverse proxy in ispconfig
    Till talked about nginx_reverseproxy_plugin.inc.php in a post in the forum . Plugin available here https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1703
    But from what I've read, the plugin is described as old and unmaintained. I was wondering if it will be removed from the next update and if yes, is there an alternative to this plugin
    thank you guys
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    That's not the case. It is so new that it has not even been added to the main version.
     
  11. momo1240

    momo1240 Member

    Thank you for your reply Till
    I'm a little bit confused
    I'm using the last version 3.2.11 . Is the plugin present in /usr/local/ispconfig/server/plugins-available/nginx_reverseproxy_plugin.inc.php the same as https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1703 or the one described as old and unmaintained in this post.
    thanks again
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

  13. momo1240

    momo1240 Member

    Got it Till
    thank you
    hope it will be available in next releases
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    We are working on getting it integrated, but there are still some missing parts like integrating it into the installer.
     
  15. momo1240

    momo1240 Member

Share This Page