Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server crash #2904

Closed
poco8537 opened this issue Nov 2, 2024 · 24 comments
Closed

Server crash #2904

poco8537 opened this issue Nov 2, 2024 · 24 comments

Comments

@poco8537
Copy link
Contributor

poco8537 commented Nov 2, 2024

What happened?

A server crash occurred. There were 455 players connected. Is it possible to analyze the dump?

Expected result

normal server operation

Reproduction steps

  1. Open the server.
  2. Wait for the crash.

Importancy

Crash

Area(s)

FXServer

Specific version(s)

FXServer-master SERVER v1.0.0.10012 win32

Additional information

No response

@poco8537 poco8537 added bug triage Needs a preliminary assessment to determine the urgency and required action labels Nov 2, 2024
@github-actions github-actions bot added the crash label Nov 2, 2024
@poco8537
Copy link
Contributor Author

poco8537 commented Nov 2, 2024

@FabianTerhorst
Copy link
Contributor

Please update to the latest server version.

@poco8537
Copy link
Contributor Author

poco8537 commented Nov 2, 2024

image
Are you referring to version 7290? Is there an issue with the server version currently in use?

@FabianTerhorst
Copy link
Contributor

With latest version I'm referring to the latest version available at https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/ .

@poco8537 poco8537 closed this as completed Nov 3, 2024
@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Nov 3, 2024
@poco8537 poco8537 reopened this Nov 4, 2024
@github-actions github-actions bot added the triage Needs a preliminary assessment to determine the urgency and required action label Nov 4, 2024
@poco8537
Copy link
Contributor Author

poco8537 commented Nov 4, 2024

Same crash occurred in builds 7290 and 10778
e7109599-7748-496e-8d4e-e31a314399a1.dmp

@poco8537
Copy link
Contributor Author

poco8537 commented Nov 4, 2024

The server uptime was 3 hours, and there were over 600 active players. Another crash occurred. Is there a way to analyze this crash? (server build 7290)
7385bbab-6ea4-45c4-83cb-b8072a4e8b4a.dmp

@FabianTerhorst
Copy link
Contributor

I checked the dump, but its just a heap corruption. Can you post your server specs and do you use server setters?

@poco8537
Copy link
Contributor Author

poco8537 commented Nov 5, 2024

using an i9-13900K CPU, 128GB RAM, and Windows Server 2019 as the operating system.

@prikolium-cfx
Copy link
Contributor

i9-13900K

Thanks for your report. That's sad, but most likely your i9-13900K faced with crystal degradation that happens to 13/14 series of Intels. You can read more about it here https://www.theverge.com/2024/7/26/24206529/intel-13th-14th-gen-crashing-instability-cpu-voltage-q-a

@prikolium-cfx
Copy link
Contributor

So I would recommend you to swap your CPU to 12 series or AMD. To smoothly run server you don't need such CPU, it's enough to have 8 cores with high frequency.

@poco8537
Copy link
Contributor Author

poco8537 commented Nov 6, 2024

FXserver is using 117GB of memory, and although I stopped all resources, there is no change in memory usage. This issue didn’t occur on version 7290, but it’s happening on version 10778.image

@prikolium-cfx
Copy link
Contributor

FXserver is using 117GB of memory, and although I stopped all resources, there is no change in memory usage. This issue didn’t occur on version 7290, but it’s happening on version 10778.image

I can't give you more advice till you use potentially non properly working CPU.

@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Nov 6, 2024
@poco8537
Copy link
Contributor Author

poco8537 commented Nov 6, 2024

I upgraded my CPU to the 9950X and RAM to DDR5 192GB today. The active player count is over 700, and while my uplink can handle up to 3Gbps, it's currently using less than 1Gbps. However, players are experiencing long download times for resources. Is this a limitation of FXServer's file server?

@poco8537
Copy link
Contributor Author

poco8537 commented Nov 6, 2024

image

@prikolium-cfx
Copy link
Contributor

prikolium-cfx commented Nov 6, 2024

I upgraded my CPU to the 9950X and RAM to DDR5 192GB today. The active player count is over 700, and while my uplink can handle up to 3Gbps, it's currently using less than 1Gbps. However, players are experiencing long download times for resources. Is this a limitation of FXServer's file server?

Probably yes. I would recommend you to use something as a reverse proxy with caching for resource downloading, for example nginx

@poco8537
Copy link
Contributor Author

poco8537 commented Nov 6, 2024

The server uptime is 8 hours, with current RAM usage at 108 GB and CPU usage at 40%. Server and sync thread hitching continues to occur. In FXServer version 7290, RAM usage didn’t increase this much, but in the latest build, memory usage keeps accumulating.

@FabianTerhorst
Copy link
Contributor

Please do a memory dump from task manager when your server has less then 10gb ram usage.

@dokkusitdown
Copy link

dokkusitdown commented Nov 6, 2024

Hello, I'm the server administrator. After starting the server, memory usage exceeds 10GB within about 5 minutes and continues to rise, often reaching around 30GB. In the past, memory usage would often stabilize around 30GB, but now it continues to increase the longer the server is running. Would taking a memory dump when usage is below 10GB still be meaningful in this case?

@FabianTerhorst
Copy link
Contributor

FabianTerhorst commented Nov 6, 2024

Ok, make the dump a minute after the server is started. Size doesn't matter.

@dokkusitdown
Copy link

We are currently shutting down the server following the maintenance notice. We will send the memory dump as soon as possible. Thank you.

@dokkusitdown
Copy link

We have generated the dump file after opening the server. Could you please let us know an email address where we can send it?

@dokkusitdown
Copy link

image

After shutting down the server, disconnecting all users, and stopping all resources, we checked the memory usage, but it still shows 118GB. It doesn’t seem to be an issue with our resources. The server uptime is 8 hours.

@FabianTerhorst
Copy link
Contributor

Would a discord id also work?

@dokkusitdown
Copy link

Yes Thank you
Discord Id : yumipapa
<@267305288544157698>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants