Giter VIP home page Giter VIP logo

Comments (12)

locus313 avatar locus313 commented on May 2, 2024 2

hey guys,
I was recently doing some testing on ubuntu 20.04 using the bash dashboard setup and was able to get this working:

image

First I changed the ownership of the worldserver executable to root:

sudo chown root:root env/dist/bin/worldserver

image

Then set the SUID bit on the worldserver executable:

sudo chmod u+s env/dist/bin/worldserver

image

Now I can just run the bash dashboard command to start the worldserver as a regular user:

./acore.sh run-worldserver

image

Can you guys give this a try and see if it works for you as well?

from azerothcore-wotlk.

BarbzYHOOL avatar BarbzYHOOL commented on May 2, 2024 1

Even as root, I get this message Can't set worldserver process priority class, error: Permission denied @Yehonal

from azerothcore-wotlk.

locus313 avatar locus313 commented on May 2, 2024 1

adding "privileged: true" to the docker-compose.yml under the ac-worldserver section can address this issue for docker.

AC>Starting up Auction House Listing thread...
worldserver process priority class set to -15
Max allowed socket connections 1048576
AzerothCore rev. 5edab2eaa76f+ 2020-08-12 23:51:27 -0700 (master branch) (Unix, Release) (worldserver-daemon) ready...
```

from azerothcore-wotlk.

Yehonal avatar Yehonal commented on May 2, 2024

You must run server with root privileges to allow process priority configuration

it's not a bug

from azerothcore-wotlk.

HeroPD avatar HeroPD commented on May 2, 2024

This error occured in docker container

from azerothcore-wotlk.

 avatar commented on May 2, 2024

Don't know much about docker, but on Ubuntu I had to grant permission to the user which runs AC to reduce the nice value for it's processes:
Edit /etc/security/limits.conf and add something like this (here as example for the user "ac_user"):

ac_user               -       nice            -15

from azerothcore-wotlk.

Viste avatar Viste commented on May 2, 2024

It's just my opinion:
nice it's not a priority, but rather a recommendation to the kernel.
And I don't see the point in this(high low prio) functionality on Linux, at all.

from azerothcore-wotlk.

BarbzYHOOL avatar BarbzYHOOL commented on May 2, 2024

doesn't help xD

from azerothcore-wotlk.

BarbzYHOOL avatar BarbzYHOOL commented on May 2, 2024

Tried Stoabrogga's solution on a non-root user, same error:

AC>Starting up Auction House Listing thread...
Can't set worldserver process priority class, error: Permission denied
Starting up anti-freeze thread (50 seconds max stuck time)...

from azerothcore-wotlk.

 avatar commented on May 2, 2024

Is this fixed?

from azerothcore-wotlk.

FrancescoBorzi avatar FrancescoBorzi commented on May 2, 2024

@gengarshadowball on Docker yes, not sure if it still affects the traditional setups

from azerothcore-wotlk.

Kitzunu avatar Kitzunu commented on May 2, 2024

@gengarshadowball on Docker yes, not sure if it still affects the traditional setups

If Windows is a traditional setup, then I can tell you that this is not an issue there

worldserver process priority class set to HIGH
Starting up Auction House Listing thread...
Max allowed socket connections 1024
AzerothCore rev. 3c786b52e9a6+ 2021-03-26 16:55:30 +0100 (master branch) (Win64, Debug) (worldserver-daemon) ready...

from azerothcore-wotlk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.