azixus / ARK_Ascended_Docker

Docker image to run an ARK Survival Ascended server on Linux
MIT License
61 stars 11 forks source link

Server is down #17

Closed xi67 closed 1 year ago

xi67 commented 1 year ago

Hi,

After docker compose up, it seems that the server is up :

# netstat -an | grep 77
udp        0      0 0.0.0.0:7790            0.0.0.0:*
udp6       0      0 :::7790                 :::*

But the status is down :

# ./manager.sh status
Server PID not found (server offline?)
# docker compose logs -f
asa_server_docker-asa_server-1  | -------- STARTING SERVER --------
asa_server_docker-asa_server-1  | tail: /opt/arkserver/ShooterGame/Saved/Logs/ShooterGame.log: file truncated
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]Log file open, 11/09/23 09:36:12
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]LogMemory: Platform Memory Stats for WindowsServer
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]LogMemory: Process Physical Memory: 331.27 MB used, 333.43 MB peak
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]LogMemory: Process Virtual Memory: 283.05 MB used, 283.05 MB peak
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]LogMemory: Physical Memory: 738.43 MB used,  7202.20 MB free, 7940.63 MB total
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]LogMemory: Virtual Memory: 757.04 MB used,  8159.59 MB free, 8916.63 MB total
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:728][  0]ARK Version: 26.11
asa_server_docker-asa_server-1  | [2023.11.09-09.36.13:468][  0]Primal Game Data Took 0.49 seconds
asa_server_docker-asa_server-1  | [2023.11.09-09.36.57:503][  0]LogMemory: Platform Memory Stats for WindowsServer
asa_server_docker-asa_server-1  | [2023.11.09-09.36.57:503][  0]LogMemory: Process Physical Memory: 640.66 MB used, 654.71 MB peak
asa_server_docker-asa_server-1  | [2023.11.09-09.36.57:503][  0]LogMemory: Process Virtual Memory: 568.36 MB used, 568.36 MB peak
asa_server_docker-asa_server-1  | [2023.11.09-09.36.57:503][  0]LogMemory: Physical Memory: 1169.78 MB used,  6770.85 MB free, 7940.63 MB total
asa_server_docker-asa_server-1  | [2023.11.09-09.36.57:503][  0]LogMemory: Virtual Memory: 1188.39 MB used,  7728.24 MB free, 8916.63 MB total

Any idea ?

Also i can't find the server on ARK

azixus commented 1 year ago

Hey, it looks like you don't have enough memory and the server dies before it's fully able to start. You need at least 11GB of memory to run the server on an empty map.

xi67 commented 1 year ago

Thanks for the response. It's seem not bette with 13GB RAM :

root-asa_server-1  | tail: /opt/arkserver/ShooterGame/Saved/Logs/ShooterGame.log: file truncated
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]Log file open, 11/09/23 10:32:21
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]LogMemory: Platform Memory Stats for WindowsServer
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]LogMemory: Process Physical Memory: 334.06 MB used, 335.47 MB peak
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]LogMemory: Process Virtual Memory: 286.49 MB used, 286.49 MB peak
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]LogMemory: Physical Memory: 751.42 MB used,  11909.19 MB free, 12660.61 MB total
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]LogMemory: Virtual Memory: 751.68 MB used,  12884.92 MB free, 13636.61 MB total
root-asa_server-1  | [2023.11.09-10.32.21:800][  0]ARK Version: 26.11
root-asa_server-1  | [2023.11.09-10.32.22:500][  0]Primal Game Data Took 0.48 seconds
^Ccanceled
root@vm-ark-ascended:~# ./manager.sh status
Server PID 42
Server listening on port 7777
Server is down
root@vm-ark-ascended:~# ./manager.sh status
Server PID not found (server offline?)
azixus commented 1 year ago

Do the logs look the same as before? If so, could you try to bump it a bit more just in case. Are you running the server with proxmox perhaps? We could try something else is that's the case.

xi67 commented 1 year ago

Yes it's on proxmox.

azixus commented 1 year ago

Ok, I'm not familiar with proxmox, but could you try the following:

If you are using Proxmox as your virtual host make sure to set the CPU Type to "host" in your VM elsewise you'll get errors with the server.

Credits to @loginator, https://github.com/Acekorneya/Ark-Survival-Ascended-Server/pull/5/

loginator commented 1 year ago

Thanks for mentioning if your configured CPU is the issue you should also see a crashlog telling you that the server tried calling an unknown function.

azixus commented 1 year ago

Hi @xi67, were you able to fix the issue with the aforementioned fix?

As it seems to be a hypervisor-specific issue, I'll close the issue for now.

xi67 commented 1 year ago

Yes you're trick is working maybe you should put this in a faq or something like this. Thanks

loginator commented 1 year ago

Info about hypervisors has been added to the readme already.