Comments (12)
hey guys,
I was recently doing some testing on ubuntu 20.04 using the bash dashboard setup and was able to get this working:
First I changed the ownership of the worldserver executable to root:
sudo chown root:root env/dist/bin/worldserver
Then set the SUID bit on the worldserver executable:
sudo chmod u+s env/dist/bin/worldserver
Now I can just run the bash dashboard command to start the worldserver as a regular user:
./acore.sh run-worldserver
Can you guys give this a try and see if it works for you as well?
from azerothcore-wotlk.
Even as root, I get this message Can't set worldserver process priority class, error: Permission denied
@Yehonal
from azerothcore-wotlk.
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.
You must run server with root privileges to allow process priority configuration
it's not a bug
from azerothcore-wotlk.
This error occured in docker container
from azerothcore-wotlk.
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.
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.
doesn't help xD
from azerothcore-wotlk.
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.
Is this fixed?
from azerothcore-wotlk.
@gengarshadowball on Docker yes, not sure if it still affects the traditional setups
from azerothcore-wotlk.
@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)
- [SSC] Priestess Spirit not spawning HOT 1
- [SSC] Coilfang Fathom-Witch not using Shadow Nova HOT 1
- [SSC] Lady Vashj Elementals walk into the center and despawn HOT 1
- [TK] Kaelthas Mindcontrol should equal a threat drop for the affected person HOT 1
- [TK] Alar Phase 2 should trigger SPELL_HEAL not SPELL_CAST_START for 34342 HOT 2
- [TK] Solarian trash not linked properly HOT 1
- Feature: Wotlk Classic like dungeon lockouts
- [Kara] Attumen always selecting Nightmares HP amount on merge HOT 1
- [Kara] Nightbane phase handling HOT 1
- [SSC] Leotheras demon form always runs into melee range after threat change HOT 1
- [TK] Bloodwarder Marshals cast WW twice HOT 1
- [TK] Kaelthas stops mindcontrolling during P5 transition HOT 1
- [PVP] NPCs in alterac valley cannot be healed by players HOT 1
- [TK] Mindcontrolled trash mobs abilities can be spammed without GCD HOT 1
- [Quest] "You Are Rakh'likh, Demon" mob pathing issue
- Feature: Wotlk classic like arena point calculation as option
- [TBC Vendors] Wrong vendor inventories: Not selling "Wicked Arrow" and "Impact Shot" HOT 5
- Warrior T3 Set Bonus: Hit bonus is detrimental
- acore.sh init fails: functions.sh: line 76: dbasm_import: command not found HOT 1
- Problems encountered during compilation. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azerothcore-wotlk.