Minetest logo

IRC log for #minetest-hub, 2018-12-31

| Channels | #minetest-hub index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:01 ANAND joined #minetest-hub
00:16 T4im joined #minetest-hub
00:17 benrob0329 joined #minetest-hub
01:23 ANAND rubenwardy: Is it possible to make the pipeline function return the return value of the final function? That's mandatory for my use-case.
02:06 Tmanyo joined #minetest-hub
02:32 FrostRanger joined #minetest-hub
03:00 Ruslan1 joined #minetest-hub
03:04 jas_ joined #minetest-hub
04:58 lumberJ joined #minetest-hub
07:09 Ruslan1 joined #minetest-hub
08:09 CWz joined #minetest-hub
08:59 lumberJ joined #minetest-hub
09:37 rubenwardy No, because the function is async
10:35 jluc joined #minetest-hub
12:17 _Xenon joined #minetest-hub
12:24 Fixer joined #minetest-hub
12:44 ANAND Oh sad...
12:47 Fixer joined #minetest-hub
12:53 Fixer joined #minetest-hub
12:56 jas_ joined #minetest-hub
13:20 aerozoic joined #minetest-hub
13:35 lumberJ joined #minetest-hub
13:42 sys4 joined #minetest-hub
14:36 IhrFussel joined #minetest-hub
14:37 IhrFussel Hi guys^^ I enabled my mod profiler and only a few callbacks actually have an average above 10ms ... by FAR the highest is sauth ... is it really only because of 100,000+ accounts in the DB? sauth:                                                  |         0 |    564766 |       498 |   0.0 |  99.8 |   0.2
14:37 IhrFussel - on_prejoinplayer[1] ...............................  |       596 |    564766 |    213723
14:37 IhrFussel shivajiva, ^
14:38 IhrFussel 596 is min then max and last column avg
14:40 IhrFussel Since this happens on PREJOIN it can lag the server a lot depending on how many users connect to my server ... and to have an uncontrollable ~ 200 ms lag on avg is really really bad
14:42 IhrFussel In comparison Mobs Redo punch callbacks avg around ~ 10 ms
14:43 IhrFussel I care about how my server runs... 24/7 ... doesn't matter if it's xmas, new year's eve or my birthday really
14:45 IhrFussel If I get confirmation that it's likely really the amount of accounts that exist in the DB then I will have to somehow clean it up ... the problem is that this will ALSO reset accounts that had lots of locked stuff on the map -> new users can recreate them and CLAIM that stuff
14:46 scr267 joined #minetest-hub
14:52 IhrFussel Huh? Why is "killall minetestserver" not a good way to shut down the process?? Of course it is
14:52 IhrFussel It should be a normal SIGINT
14:53 IhrFussel I used it 5,000 times and more in the past and not once did it ever corrupt anything
14:53 sfan5 killall is SIGTERM
14:53 IhrFussel Okay then SIGTERM but it should be safe to use
14:53 sfan5 I think minetest handles sigterm identically to sigint
14:54 IhrFussel I expect any process to nicely handle "killall" cause it is not kill -9
15:04 IhrFussel "<tuxick> IhrFussel: program that messes op on sigterm could be considered a bit crappy, i guess :)" << from #linux
15:15 shivajiva IhrFussel: probably, I have been looking at caching scenarios to speed it up
15:19 shivajiva such as preloading the 50 most frequent players on server start, won't stop it entirely but it will reduce it considerably
15:23 shivajiva that reduces the lag event to new and infrequently used accounts
15:41 IhrFussel That sounds promising...is it difficult to implement?
15:44 IhrFussel And could you make the value adjustable in case you plan to code it? 50 sounds a bit low when we talk about 300+ different names joining per day
16:29 rubenwardy My Minetest Mods app now uses ContentDB to get packages!
16:31 ANAND Hurray!
16:34 rdococ Does the fields that a formspec receives always contain data from every element on that formspec?
16:35 rubenwardy no
16:35 rubenwardy certain elements won't submit any information until they have an evenet
16:36 rubenwardy eg: a textlist won't submit it's selected IDX unless it has just changed
16:36 rubenwardy so   fields.textlist    will only be present when the submit is due to the textlist being interacted with
16:55 jas_ joined #minetest-hub
17:15 Gael-de-Sailly joined #minetest-hub
17:50 Fixer SAY IT WITH ME...
17:55 jas_ O F F  T O P I C
18:14 CWz oh wow i finally get why give wood -1 give me 65535. it's 16bit...
18:15 CWz i feel so smart now
18:15 Fixer :honking:
18:26 ircSparky do all servers with large gamemode/mod files have issues with mobile clients crashing while or shortly after connecting?
18:36 * CWz wonders what would happen if i connected  1 Petabyte HDD to his pc
18:43 benrob0329 joined #minetest-hub
18:45 IhrFussel ircSparky, mobile devices have not as much RAM as PCs ... only high-end top phones have 3+ GB ... cheaper phones mostly got 1 or 2 max
18:46 IhrFussel And on stock Android you only have ~ 50% of the memory for your apps ... download a resource monitor app and see how much memory your server consumes
19:29 NathanS21 joined #minetest-hub
19:34 Krock joined #minetest-hub
19:34 Krock yet still prepared for a random sight of tenplus1
21:15 NathanS21 joined #minetest-hub
21:23 Gael-de-Sailly joined #minetest-hub
21:42 Gael-de-Sailly joined #minetest-hub
21:49 Ruslan1 joined #minetest-hub
21:50 Miner_48er joined #minetest-hub
21:57 paramat joined #minetest-hub
21:59 IhrFussel shivajiva, so it looks like this function is the problem in on_prejoin() -> check_name(name)
22:12 sys4 joined #minetest-hub
22:26 Gael-de-Sailly joined #minetest-hub
22:46 Gael-de-Sailly joined #minetest-hub
23:36 shivajiva IhrFussel: only triggered if the player isn't in the db so more likely check get_record(name)
23:37 shivajiva -check
23:55 longerstaff13 happy new year everyone :)
23:55 rud0lf happy new year longerstaff13 :)
23:55 longerstaff13 ty :)
23:55 rud0lf i hope my computer will be faster in 2019
23:55 rud0lf :)

| Channels | #minetest-hub index | Today | | Google Search | Plaintext