notpivan
notpivan
AAdmincraft
Created by notpivan on 4/18/2025 in #questions
Stacktrace Error probably due to LuckPerms on Pterodactyl?
Hi. So, I'm having these stacktrace errors on my console on my Pterodactyl Panel (provided by my host when buying the server).: [01:09:06 WARN]: Exception in thread "Thread-5" java.lang.NoClassDefFoundError: org/h2/api/ErrorCode [01:09:06 WARN]: at org.h2.message.DbException.getJdbcSQLException(DbException.java:475) [01:09:06 WARN]: at org.h2.message.DbException.get(DbException.java:212) [01:09:06 WARN]: at org.h2.mvstore.db.Store.close(Store.java:402) [01:09:06 WARN]: at org.h2.engine.Database.closeOpenFilesAndUnlock(Database.java:1261) [01:09:06 WARN]: at org.h2.engine.Database.closeImpl(Database.java:1225) [01:09:06 WARN]: at org.h2.engine.Database.close(Database.java:1144) [01:09:06 WARN]: at org.h2.engine.OnExitDatabaseCloser.onShutdown(OnExitDatabaseCloser.java:85) [01:09:06 WARN]: at org.h2.engine.OnExitDatabaseCloser.run(OnExitDatabaseCloser.java:114) [01:09:06 WARN]: Caused by: java.lang.ClassNotFoundException: org.h2.api.ErrorCode [01:09:06 WARN]: at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) [01:09:06 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592) [01:09:06 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) [01:09:06 WARN]: ... 8 more This ONLY appears on server shutdown and restarts (ofc in the shutdown process). I'm pretty sure the issue is caused by LuckPerms. It doesn't happen on my local server (hosted on my local Windows PC with same exact setup and plugins setup the same exact way). It only happens in the Pterodactyl environment (it seems). I'm also having some other inconsistencies regarding Pl-Hide-Pro and CMI command handling on the Pterodactyl hosted server vs. my local server. On the Pterodactyl one, it seems Pl-Hide-Pro has a lower priority than CMI or other plugins when the users perform them, since it shows the CMI "No permission" message when performing a blocked command, instead of the Pl-Hide "Unknown command" message. Is it environment related? Why am I facing these inconsistencies and (at this point) bugs and errors with this plugins?
28 replies
AAdmincraft
Created by notpivan on 4/18/2025 in #questions
Minimum Memory -Xms to allocate
Quick question if anyone can answer: my hosting provider (using Pterodactyl) forces me to use -Xms256M and won’t make me use more for the minimum memory. They let use aikar flags and change how much % of the Maximum Memory (12GB) using, but not the minimum. Is it an issue and am I losing some performance by not setting my minimum memory the same as the maximum, or is it just not that big of a deal? I’m using Purpur 1.21.5. 12GB Ram 4 Cores available of a Ryzen 9 7900X3D
10 replies