Server times out loading mods
Server times out loading mods
Hi all from a newbie
Running Minetest 5.4.0 - dev 10.13.6 on MacBook Pro with MacOS Big Sur 11.5.
With a few mods I was able to host a server for my grandchildren to play with me when they visit on an old Windows laptop set up with Minetest and on my home network - this was working with no problems in single player or as multiplayer.
Did a bit of “googling” and entered more mods and worked well in single player mode. Then attempted to host the world with the additional mods and server would continually timeout. Ended up reducing the number of mods and the server game would then load.
Is their any way to increase the time that the server takes to load mods before it times out?
Appreciate any advice/help on the above or is it something that I have to live with?
Running Minetest 5.4.0 - dev 10.13.6 on MacBook Pro with MacOS Big Sur 11.5.
With a few mods I was able to host a server for my grandchildren to play with me when they visit on an old Windows laptop set up with Minetest and on my home network - this was working with no problems in single player or as multiplayer.
Did a bit of “googling” and entered more mods and worked well in single player mode. Then attempted to host the world with the additional mods and server would continually timeout. Ended up reducing the number of mods and the server game would then load.
Is their any way to increase the time that the server takes to load mods before it times out?
Appreciate any advice/help on the above or is it something that I have to live with?
- Festus1965
- Member
- Posts: 4181
- Joined: Sun Jan 03, 2016 11:58
- GitHub: Festus1965
- In-game: Festus1965 Thomas Thailand Explorer
- Location: Thailand ChiangMai
- Contact:
Re: Server times out loading mods
check the basic system / free memory before and when minetest is running.
maybe also check luamemory in game after that.
maybe also check luamemory in game after that.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)
If urgend, you find me in Roblox (as CNXThomas)
Re: Server times out loading mods
Festus1965 - Thanks for replying
MacBook usage before MT loaded - 4.41GB of 16GB
MacBook usage after MT loaded - 5.2GB of 16GB
Not sure how to check luamemory in game.
When too many mods get “Connection timed out” and the MT server says it is “shutting down”.
As it is all internal to the MacBook not sure what it means re connection timing out. MacBook is connected to my home network via wifi and wondering if that was the problem?
MacBook usage before MT loaded - 4.41GB of 16GB
MacBook usage after MT loaded - 5.2GB of 16GB
Not sure how to check luamemory in game.
When too many mods get “Connection timed out” and the MT server says it is “shutting down”.
As it is all internal to the MacBook not sure what it means re connection timing out. MacBook is connected to my home network via wifi and wondering if that was the problem?
- Festus1965
- Member
- Posts: 4181
- Joined: Sun Jan 03, 2016 11:58
- GitHub: Festus1965
- In-game: Festus1965 Thomas Thailand Explorer
- Location: Thailand ChiangMai
- Contact:
Re: Server times out loading mods
the free mem might be checked regular (repeating loop in terminal ? every ??? minutes)
* during loading when fail
* during running, when gamer login,
to see where the stop is, and if it too less or another reason,
below: luamem or network
and some time ago I wrote three mods to check and even clean up luamem
here: http://gitea.minetest.one/explore/repos ... e&q=luajit
mhh under Ubuntu we have iptop or similar ... to small or too bussy on the internal
* during loading when fail
* during running, when gamer login,
to see where the stop is, and if it too less or another reason,
below: luamem or network
find out what mod load latest and use this code at the end of the init.lua
Code: Select all
print("[Mod] ??? - end with "..math.floor(collectgarbage("count")).." KB")
here: http://gitea.minetest.one/explore/repos ... e&q=luajit
oh that one can be part of not big enough network, mean Lan Home
mhh under Ubuntu we have iptop or similar ... to small or too bussy on the internal
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)
If urgend, you find me in Roblox (as CNXThomas)
Re: Server times out loading mods
You should check your server log, I am not sure where it would be located on MacOS, and search the ERROR keyword, most likely one or some mods are incompatible or have bugs in their code which crash your server and make it restart constantly, hence when you try to connect you get a timeout. Also, you should try using Minetest 5.4.1 since 5.4.0 is not the latest version anymore so there should be no reason to use an old development build.
If you find ERROR messages post them here.
If you find ERROR messages post them here.
Re: Server times out loading mods
RE:
NOTE: Although the files have a .jpg extension they are actually TEXT files so open with a text editor. The system kept saying wrong extension with .txt but would accept the .jpg extension.
RE 5.4.1 the Homebrew installation process uses 5.4.0 as the latest stable version.
I have two debug texts for the same situation. First one depicts a failure (debugF) and the second depicts success (debugS). Success followed reloading server with no change to mods.You should check your server log, I am not sure where it would be located on MacOS, and search the ERROR keyword, most likely one or some mods are incompatible or have bugs in their code which crash your server and make it restart constantly, hence when you try to connect you get a timeout. Also, you should try using Minetest 5.4.1 since 5.4.0 is not the latest version anymore so there should be no reason to use an old development build.
If you find ERROR messages post them here.
NOTE: Although the files have a .jpg extension they are actually TEXT files so open with a text editor. The system kept saying wrong extension with .txt but would accept the .jpg extension.
RE 5.4.1 the Homebrew installation process uses 5.4.0 as the latest stable version.
Last edited by Sasori on Tue Jul 27, 2021 02:41, edited 1 time in total.
Re: Server times out loading mods
Oh heck
looks like the attachments are not there.
Tried to post files in quotes - debugF awaiting moderator but debugS too large
Any advice on how to add text files to a post would be appreciated.
looks like the attachments are not there.
Tried to post files in quotes - debugF awaiting moderator but debugS too large
Any advice on how to add text files to a post would be appreciated.
Re: Server times out loading mods
Try a paste bin site, I use paste.gg for that purpose as it requires no sign ups and shiz.
Re: Server times out loading mods
Thank you Mimeminer for the advice
Hopefully the debug files are accessible at:
https://paste.gg/p/anonymous/8bf6d724e6 ... 8c24901e97
To Moderator - please delete the post with the debugF
Hopefully the debug files are accessible at:
https://paste.gg/p/anonymous/8bf6d724e6 ... 8c24901e97
To Moderator - please delete the post with the debugF
Re: Server times out loading mods
Aww you are very welcome! :)
Sadly though it does not state an error in between the time it happening so as it said on the thread it must be the mod(s).Hopefully the debug files are accessible at:
https://paste.gg/p/anonymous/8bf6d724e6 ... 8c24901e97
To Moderator - please delete the post with the debugF
If profiling yourself does not adjusts, another thing you can attempt is to try to run half the mods and see if the errors happens. If it does then split that half again. Otherwise try with the other half. Then in either cases would do this over and over again until you left with one mod left.
Re: Server times out loading mods
I read the debug log, here is the problem:Sasori wrote: ↑Tue Jul 27, 2021 02:54Thank you Mimeminer for the advice
Hopefully the debug files are accessible at:
https://paste.gg/p/anonymous/8bf6d724e6 ... 8c24901e97
To Moderator - please delete the post with the debugF
2021-07-27 11:13:52: ERROR[Main]: Invalid field use_texture_alpha (expected boolean got string).\
If you read some more lines you will see it references signs_mod, that may be the culprit, however it says it is getting a string but expecting a boolean, since 5.4.0 support for string values was added, and older versions of the engine used booleans only. Are you still using the 5.4.0 development version ? Depending on how early your version is it may not have support for that feature, try updating to 5.4.1 stable if possible.
- Festus1965
- Member
- Posts: 4181
- Joined: Sun Jan 03, 2016 11:58
- GitHub: Festus1965
- In-game: Festus1965 Thomas Thailand Explorer
- Location: Thailand ChiangMai
- Contact:
Re: Server times out loading mods
That one is automatic taking another not boolean value when running / starting - as I had see when tested 5.4.1 ... that might not be it.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)
If urgend, you find me in Roblox (as CNXThomas)
Re: Server times out loading mods
Wait, how are you starting the server ?
Are you running it from the GUI button which says "Host server" or from the command line ?
One of the main reasons there is a 5.4.1 version is because there was a bug in 5.4.0 which caused servers started from the GUI to issue the "Connection timeout" message as you stated, that most likely is your problem, you have two possible solutions:
1)Update to 5.4.1
2)Run the server from the command line instead of the GUI
Are you running it from the GUI button which says "Host server" or from the command line ?
One of the main reasons there is a 5.4.1 version is because there was a bug in 5.4.0 which caused servers started from the GUI to issue the "Connection timeout" message as you stated, that most likely is your problem, you have two possible solutions:
1)Update to 5.4.1
2)Run the server from the command line instead of the GUI
Who is online
Users browsing this forum: No registered users and 28 guests