[Server] Xanadu

mystik
Member
Posts: 64
Joined: Tue Oct 28, 2014 22:16
GitHub: jasonjayr
In-game: mystik

Re: Xanadu Server

by mystik » Post

afflatus wrote: A restart script is not the solution, it's a temporary workaround so we can all continue playing. Polling servers.minetest.net/list seems like taking a sledgehammer to a small moving target, I prefer amadin's idea of pinging the port directly, but it's a question of what works ultimately.

AFA restarts are concerned I run my own server via systemctl, so I would use systemctl restart, which I trust does the right thing. If minetest-server is running from a script you don't have much choice but to kill it. I don't know what the possibilities are of corrupting the db this way. That would be good to know.
I may investigate this, but a patch to call sd_notify() in the main loop is arguably the right(tm) way to catch hangs of this nature, and with a sensible WatchdogSec= parameter, it can allow systemd to properly sense a hang, and trigger a restart. But to re-iterate your point -- this is a workaround, not a fix.

auouymous
Member
Posts: 186
Joined: Sun Dec 07, 2014 09:39
GitHub: auouymous
IRC: air
In-game: auouymous

Re: Xanadu Server

by auouymous » Post

mystik wrote:this is a workaround, not a fix.
Not sure where the idea of it being a fix came from, the server would still stall and be down for up to 30 minutes when it does. This just increases the server's currently poor uptime.

User avatar
~Xhole
Member
Posts: 28
Joined: Sun Apr 03, 2016 04:24
IRC: x
In-game: Xhole
Location: Paradise

Re: Xanadu Server

by ~Xhole » Post

I just wanted to chat with my frands :(: ........lol will try later
~X~

amadin
Member
Posts: 548
Joined: Tue Jun 16, 2015 16:23

Re: Xanadu Server

by amadin » Post

... You may write script wich will restart server every 3 hours (with "killall -9 minetestserver" or "killall -s KILL minetestserver") if you don't want use Auouymous's script.
Last edited by amadin on Fri Jun 03, 2016 13:34, edited 3 times in total.

User avatar
Phiwari123
Member
Posts: 114
Joined: Sat Aug 02, 2014 07:50
In-game: Phiwari123
Location: Germany

Re: Xanadu Server

by Phiwari123 » Post

The last few days the server crashed whenever i joined, so I guess i will take a break from Minetest until the problem is solved.

auouymous
Member
Posts: 186
Joined: Sun Dec 07, 2014 09:39
GitHub: auouymous
IRC: air
In-game: auouymous

Re: Xanadu Server

by auouymous » Post

amadin wrote:Tenplus1 why you not added script from Auouymous? You may write script wich will restart server every 3 hours (with "killall -9 minetestserver" or "killall -s KILL minetestserver") if you don't want use Auouymous's script.
That is a VERY BAD idea. It would cause rollbacks and increase chances of data corruption.

User avatar
Milan*
Member
Posts: 252
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant
Location: Germany
Contact:

Re: Xanadu Server

by Milan* » Post

just for interest: why no recording for youtube?
Illuna Minetestservers | Mastodon | [ matrix ] | I may host you a Minetestserver, just contact me.

User avatar
Glorfindel
Member
Posts: 137
Joined: Tue Jul 07, 2015 20:05
GitHub: the1glorfindel
IRC: Glorfindel DoomWeaver
In-game: Glorfindel

Re: Xanadu Server

by Glorfindel » Post

Milan* wrote:just for interest: why no recording for youtube?
I have never heard a reason for this rule, but I don't record so I don't care one way or the other

amadin
Member
Posts: 548
Joined: Tue Jun 16, 2015 16:23

Re: Xanadu Server

by amadin » Post

auouymous wrote:
amadin wrote:Tenplus1 why you not added script from Auouymous? You may write script wich will restart server every 3 hours (with "killall -9 minetestserver" or "killall -s KILL minetestserver") if you don't want use Auouymous's script.
That is a VERY BAD idea. It would cause rollbacks and increase chances of data corruption.
It was just simply example, script may run "killall -s TERM minetestserver" then after 60 seconds checking process tree for "minetestserver" and if "minetestserver" still running then run "killall -s KILL minetestserver". TERM signal is analog ctrl+c and it safely shutdown server. After minetestserver was killed script must wait 120 seconds and run minetestserver again. I can publish this script here if needed.

User avatar
Texan
Member
Posts: 57
Joined: Sat Jul 25, 2015 16:02
In-game: Texan
Location: Texas... duh

Re: Xanadu Server

by Texan » Post

The "No YouTube Recording Without Permission" I believe, is there for other players' privacy. I, for one, do not want people simultaneously recording my gaming environment and chat, especially without my knowing. It would pretty much be someone recording me and my conversations with my friends. Of course, we do not share personal information in-game, but to have our chat and builds posted on the internet for whoever to see... I don't think it is right. This rule also could help the server avoid a whole lot of disputes between players who enjoy the private environment, versus the players who record it.
-- Texan :)

amadin
Member
Posts: 548
Joined: Tue Jun 16, 2015 16:23

Re: Xanadu Server

by amadin » Post

1. I propose to make crafting "Smartshop" more expensive, because: in real life, this requires a lot of money and a lot of time, so that players will not sell resources for next to nothing. Also propose replace "locked chest" by "barter shop" in "Smartshop" recipe.
2. I propose add sound for using /spawn and /home wich will hear for nearest players. Will be good if you add visual effect for this commands (change player screen color for 1 second or some effects near player model).
Last edited by amadin on Fri Jun 03, 2016 14:13, edited 1 time in total.

User avatar
Glorfindel
Member
Posts: 137
Joined: Tue Jul 07, 2015 20:05
GitHub: the1glorfindel
IRC: Glorfindel DoomWeaver
In-game: Glorfindel

Re: Xanadu Server

by Glorfindel » Post

Why should it cost more to be able to sell stuff?

If you don't like being able to get stuff cheaply I believe you are in the minority.

amadin
Member
Posts: 548
Joined: Tue Jun 16, 2015 16:23

Re: Xanadu Server

by amadin » Post

Glorfindel wrote:Why should it cost more to be able to sell stuff?

If you don't like being able to get stuff cheaply I believe you are in the minority.
Because game is more interesting if player get most resources and things by himself.

User avatar
Glorfindel
Member
Posts: 137
Joined: Tue Jul 07, 2015 20:05
GitHub: the1glorfindel
IRC: Glorfindel DoomWeaver
In-game: Glorfindel

Re: Xanadu Server

by Glorfindel » Post

amadin wrote:
Glorfindel wrote:Why should it cost more to be able to sell stuff?

If you don't like being able to get stuff cheaply I believe you are in the minority.
Because game is more interesting if player get most resources and things by himself.
I see. Well, feel free to not use the shops :) but I prefer to be able to buy a stack or two for a build rather than spending hours collecting materials myself.

amadin
Member
Posts: 548
Joined: Tue Jun 16, 2015 16:23

Re: Xanadu Server

by amadin » Post

Glorfindel wrote:
amadin wrote:
Glorfindel wrote:Why should it cost more to be able to sell stuff?

If you don't like being able to get stuff cheaply I believe you are in the minority.
Because game is more interesting if player get most resources and things by himself.
I see. Well, feel free to not use the shops :) but I prefer to be able to buy a stack or two for a build rather than spending hours collecting materials myself.
Well, feel free to play on servers with creative mode :)

User avatar
Glorfindel
Member
Posts: 137
Joined: Tue Jul 07, 2015 20:05
GitHub: the1glorfindel
IRC: Glorfindel DoomWeaver
In-game: Glorfindel

Re: Xanadu Server

by Glorfindel » Post

amadin wrote: Well, feel free to play on servers with creative mode :)
That's the point. I am free to play on a creative server. But why should I be limited in being able to buy stuff cheaply because you think it should be expensive??

User avatar
firefox
Member
Posts: 1597
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: Xanadu Server

by firefox » Post

amadin wrote:
Glorfindel wrote:Why should it cost more to be able to sell stuff?

If you don't like being able to get stuff cheaply I believe you are in the minority.
Because game is more interesting if player get most resources and things by himself.
the prices in shops are made by the players. it's their decision to sell stuff for low or high prices. based on my observations most players are greedy and make high prices. (like 1potato for 1 diamond. potatoes are the most common plant in every jungle, diamonds are the second most rare ore.)
✨🏳️‍🌈♣️✨

User avatar
TenPlus1
Member
Posts: 2964
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Xanadu Server

by TenPlus1 » Post

The network stall patch has been applied to today's build of minetest, so tonight we update server and <fingers crossed> no more problems :)

User avatar
Glorfindel
Member
Posts: 137
Joined: Tue Jul 07, 2015 20:05
GitHub: the1glorfindel
IRC: Glorfindel DoomWeaver
In-game: Glorfindel

Re: Xanadu Server

by Glorfindel » Post

Yay!!!

User avatar
TenPlus1
Member
Posts: 2964
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Xanadu Server

by TenPlus1 » Post

Okie, network patch didnt do much it seems, still stalling so we ran in debug mode and here's the txt file if it helps anyone fix this:

update: ran debug build of minetest using verbose and gdb, attached is the output:
Attachments
debug_gdb_2nd_run.zip
(298.14 KiB) Downloaded 38 times
Last edited by TenPlus1 on Sun Jun 05, 2016 19:01, edited 2 times in total.

minetestjosh
Member
Posts: 45
Joined: Thu Nov 19, 2015 13:32

Re: Xanadu Server

by minetestjosh » Post

I saw 0-afflatus's comment on the github page about the "Bermuda triangle effect." I am 100% sure that this is at least happening since the update with the area I discussed before, which I PM'd you the coords to, TenPlus1. There's definitely something going on over there and probably on other areas of the map (Phi said that it crashed when they logged in so that's another trouble area).

For whatever it's worth I searched that debug file for clues (looking at player 'takes' 'punches' and 'crafts') but didn't see anything that stood out. Just had a feeling it might come up with something.

amadin
Member
Posts: 548
Joined: Tue Jun 16, 2015 16:23

Re: Xanadu Server

by amadin » Post

.
Last edited by amadin on Wed Dec 18, 2019 19:59, edited 1 time in total.

User avatar
TenPlus1
Member
Posts: 2964
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Xanadu Server

by TenPlus1 » Post

We tried that amadin, went back as far as possible with 0.4.13 dev builds so we still had some of the newer features, but the stall glitch still happened.

amadin
Member
Posts: 548
Joined: Tue Jun 16, 2015 16:23

Re: Xanadu Server

by amadin » Post

.
Last edited by amadin on Wed Dec 18, 2019 19:59, edited 2 times in total.

minetestjosh
Member
Posts: 45
Joined: Thu Nov 19, 2015 13:32

Re: Xanadu Server

by minetestjosh » Post

amadin wrote:I know about "went back as far as possible with 0.4.13 dev" that is why i wrote my think about bug in some client 0.4.14 (windows, android, mac os or freeminer builds) but not in server. Maybe some client 0.4.14 create stall glitch on server.
UPDATED later: Is any way to disable connections from client 0.4.14 for some time?
This has to be it if Ten reverted the server. Man, I'm not a big coder (know a bit of Lua and have written scripts for my nephew and other test stuff, but am not skilled enough yet to make mods or anything; trying to make my nephew a frog mod copying the rabbit code because he doesn't understand why lily pads don't have frogs lol), but this seems like a nightmare to figure out... something that is client side that affects older server side code...

I reverted to 13 for now, because, eh, seems more stable.

A pic of skyfarm (bronze path, come visit) since we don't need to be all sad about this bug:

Image

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests