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

Dimthread make my server freeze randomly #77

Open
MarijnIsN00B opened this issue Oct 24, 2022 · 1 comment
Open

Dimthread make my server freeze randomly #77

MarijnIsN00B opened this issue Oct 24, 2022 · 1 comment

Comments

@MarijnIsN00B
Copy link

I have a 1.19.2 fabric server with Dimensional Threading installed and I noticed that the server would have a small freeze every so often, so I used the spark profiler to see what it could be and I think "so.pthread_cond_wait" is making it freeze which is something Dimthread related.
Any idea why this happens or/and how to fix it?

Any help would be greatly appreciated!

@CaveNightingale
Copy link

Work as intended. DimensionalThreading need to wait until all worlds finish their world ticking in each game tick. That's why pthread_cond_wait is there. To find out which world is lagging, try to profile world threads. For example

/spark profiler --start --thread dimthread_overworld
/spark profiler --stop

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

No branches or pull requests

2 participants