Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Sign in to follow this  
lsutkeais

Server Shutdown

Recommended Posts

 

Hello Guys 

Im currently running a DayZ Server on my Windows Server 2016. I tried to shut down the server by using BEC. Sadly it cant kill the task. 

Even the Taskkill command taskkill /im DayZServer_x64.exe does not work. I have to use the /f command to kill the task.

Does anyone have any advice what to do?

 

Share this post


Link to post
Share on other sites
6 hours ago, lsutkeais said:

 

Hello Guys 

Im currently running a DayZ Server on my Windows Server 2016. I tried to shut down the server by using BEC. Sadly it cant kill the task. 

Even the Taskkill command taskkill /im DayZServer_x64.exe does not work. I have to use the /f command to kill the task.

Does anyone have any advice what to do?

 

Yeah, you definitely don't want to be forcing it to end as that will mess with your persistence and potentially wipe some of the things you've placed in the world like bases, cars, etc.

Have you checked the logs in both DayZ and the Windows Server logs as well?  Right after you issue the normal taskkill command, is anything being logged about what the server is doing at that moment?  When I was a running a server, it would sometimes take 6 to 15 seconds for the shutdown process to complete before the exe itself would disappear as a running process.  Are you by chance just not waiting long enough for it to finish?

Share this post


Link to post
Share on other sites

Try using OmegaManager to manage you server.  It will shut down everything gracefully. 

Share this post


Link to post
Share on other sites

Thanks for your help. I completly reinstalled everything. Now it works. 

Share this post


Link to post
Share on other sites

Ive noticed closing off the console using the x doesnt shutdown the server and process just hangs,.. ive always used /f command and had no dramas with persistence. I think devs should correct that action of hitting x on the console window should gracefully shut down the server.

Edited by ICEMAN-FMCS

Share this post


Link to post
Share on other sites

Best option to use task manager and #shutdown.

1-st: #shutdown  (by BEC or other software)

and after that (after 1 - 2 minutes call 2-nd command)

2-nd: taskkill /f /im dayz_server_x64.exe

 

Why??? 'Cause BE command make a point to server that it must close sockets and make append to Database (with closing transactions). That's why server is hanging in memory. And then taskkill will close all descriptors of process and "terminate" from memory.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×