{
  "port": 15004,
  "protocol": "both",
  "service": "PBS/TORQUE pbs_sched",
  "oneLiner": "Where a PBS or TORQUE batch server contacts its scheduler.",
  "whatItIs": "pbs_server looks for the scheduler on the loopback address at port 15004 unless started with -S; pbs_sched binds it. It completes the 15001-15005 block that TORQUE and PBS use (server, MOM, MOM resource manager, scheduler, trqauthd). Seeing it open means an HPC head node. The port is unassigned at IANA — the number comes from the PBS source, not a registration.",
  "exposure": {
    "verdict": "never",
    "note": "Normally a loopback-only conversation between two daemons on the head node; a scheduler port answering from outside the cluster is a misconfiguration."
  },
  "checkCommand": "sudo lsof -nP -iTCP:15004 -sTCP:LISTEN",
  "links": [
    {
      "title": "TORQUE — pbs_server(8) man page (scheduler on port 15004)",
      "url": "https://github.com/adaptivecomputing/torque",
      "kind": "github"
    },
    {
      "title": "OpenPBS source repository",
      "url": "https://github.com/openpbs/openpbs",
      "kind": "github"
    },
    {
      "title": "IANA Service Name and Transport Protocol Port Number Registry",
      "url": "https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml",
      "kind": "iana"
    }
  ]
}
