Ark Multiple Processes Aren't Killed

Having problems with the panel? Have questions? Post here!
Post Reply
User avatar
PAL-18
Posts: 144
Joined: Tue Jan 03, 2012 8:09 pm

Ark Multiple Processes Aren't Killed

Post by PAL-18 » Mon May 08, 2017 11:49 pm

When Ark is configured to update mods on startup (by adding modids to game.ini), before it starts the server (the process is active but server hasn't started yet) it starts steamcmd which starts a console window.

Problem is that if the server is stopped or restarted before steamcmd has a chance to complete. The processes stay active and if the server is started again and stopped again then a second instance of these processes are not closed again. The main problem with this is the steamcmd process uses all available cpu.

Note: I have "Kill child processes" checked on the options page and it isn't fixing this issue.
Attachments
processes.png

Masher
Site Admin
Posts: 3433
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Hearland
Contact:

Re: Ark Multiple Processes Aren't Killed

Post by Masher » Tue May 09, 2017 5:53 am

When you stop the server, what is in the log (settings-->log tool)?
Masher
-----------
Please do not PM me unless asked to! We are a small company and if you have an issue or question it would be best to post it in the forums where it can help others in the future.

Need an affordable web control panel? Try UGCC.

User avatar
PAL-18
Posts: 144
Joined: Tue Jan 03, 2012 8:09 pm

Re: Ark Multiple Processes Aren't Killed

Post by PAL-18 » Tue May 09, 2017 5:53 pm

After stopping i just see 4 log lines:
  • Error while trying to gracefully shutdown ark server id12. Error connecting to host: No connection could be made because the target machine actively refused it x.x.x.x:xxxx
  • Ungracefully killing Ark experimental server process
  • Remote Stop Request Received for id: 12 SUCCESS
  • Server ID: 12 stopped by user: xxxxx

Masher
Site Admin
Posts: 3433
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Hearland
Contact:

Re: Ark Multiple Processes Aren't Killed

Post by Masher » Tue May 09, 2017 8:21 pm

Yep, looked at the code. Servers that support graceful shutdowns will never hit the kill children processes; will have a fix in the next update.
Masher
-----------
Please do not PM me unless asked to! We are a small company and if you have an issue or question it would be best to post it in the forums where it can help others in the future.

Need an affordable web control panel? Try UGCC.

Post Reply