# Restart pbs due to submitting too many jobs

**URL:** <https://community.openpbs.org/t/restart-pbs-due-to-submitting-too-many-jobs/4026>\
**Category:** Users/Site Administrators\
**Created:** [November 11, 2024, 8:48pm UTC](https://community.openpbs.org/t/restart-pbs-due-to-submitting-too-many-jobs/4026 "2024-11-11T20:48:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/tom/32/765_2.png) [@tom](https://community.openpbs.org/u/tom)\
**Post date:** [November 11, 2024, 8:48pm UTC](https://community.openpbs.org/t/restart-pbs-due-to-submitting-too-many-jobs/4026/1 "2024-11-11T20:48:02Z")

</div>

Hi All,  
I accidentally submitted 1000 job arrays of length 1000 (big mistake) in our group cluster. When I noticed this, the scheduler seemed to be overflowing, and I could not even do qstat. The pbs\_server occupied nearly 80% of the CPU. I tried several methods to remove all the jobs, but all failed. My group manager stopped this process by killing the pbs\_server with root access. Now our problem is that when we restart the compute cluster, although pbs\_server is running (we restarted that too), qstat gives the following error:  
qstat: cannot connect to server XXX (errno=111) Connection refused  
qstat: Error (111 - Connection refused)  
Neither me or my group leader are professional cluster manager, so my question is what could be wrong here…should we reinstall PBS and torque to solve this? Also, does kill pbs\_server removed all the submitted jobs?  
our system is Rocks 7.0 (Manzanita).  
Thanks for any helps or suggestions!

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [November 12, 2024, 7:40am UTC](https://community.openpbs.org/t/restart-pbs-due-to-submitting-too-many-jobs/4026/2 "2024-11-12T07:40:37Z")

</div>

Hi,

Please check the below

1. pbs\_server service is up and running
2. strace the qstat command to find out the reason
3. firewall, selinux, DNS are all intact and not down
4. check the pbs server logs

Please refer  
[Pbsnodes: cannot connect to server , error=111 and Failed to start PBS dataservice](https://community.openpbs.org/t/pbsnodes-cannot-connect-to-server-error-111-and-failed-to-start-pbs-dataservice/2215)

Thank you
