00:00:12 OMG i finally got https working 00:00:35 grats 00:00:44 tyty 00:00:51 What were you doing? 00:02:40 i was trying to start webtiles with ssl certs but for some reason i still can't explain, all of my error messages are being hidden from me 00:03:37 it turned out i had tornado installed like three times in different places so the patch i was supposed to use was not being used 00:03:45 and the suppressed error messages made it hard to figure that out 00:04:16 And the error messages weren't just dumping to a logfile somewhere? 00:04:35 right, i think the intention was to write them to the log file but they just weren't appearing there or in my console or anywhere 00:04:59 Are you hosting this on a remote server, or on your home computer? 00:05:27 on a public server 00:05:49 Do you have ssh access to the public server? 00:06:05 i eventually figured out how to use strace which let me see the error messages, i guess at the point that the process was trying and failing to write them 00:06:07 so that was super useful 00:06:12 yes i do 00:06:49 Neat. Thanks for humoring me as I ask questions. 00:07:11 no problem i like talking 00:07:42 Sounds like you've gotten a lot further than I have. 00:08:03 I just managed to successfully get crawl-tiles to compile on eclipse. 00:08:19 oh that's great! 00:08:29 i only recently fell into the codebase a few weeks ago 00:08:53 is that on windows? 00:09:01 No... mac os x. 00:09:33 that's cool that you were able to build it, the documentation suggests it is built on linux only 00:09:38 I'll be leaving the apple community as soon as I need to retire this computer. 00:09:58 Unstable branch on crawl.jorgrun.rocks updated to: 0.22-a0-525-gf69a0803ab (34) 00:10:45 Well... other folks have done so successfully... 00:10:47 https://crawl.develz.org/tavern/viewtopic.php?t=8462 00:12:52 Are there instructions somewhere in the source code that describe how to host crawl on a server? 00:13:12 not in the source. there's stuff on the wiki 00:13:14 it depends on what you plan on doing with it 00:13:15 ??dgl 00:13:15 dgl[1/5]: https://github.com/crawl/dgamelaunch 00:13:18 er 00:13:32 the readme in source/webtiles explains how to start a server "for friends and coworkers" 00:13:40 ok 00:13:43 ??dgl[2 00:13:44 dgl[2/5]: https://crawl.develz.org/wiki/doku.php?id=dcss:server:setting_up_dgamelaunch_and_webtiles 00:14:11 Ah, neat. 00:14:15 that behemoth wiki page has way more info 00:17:17 ... my sysadmin knowledge is weak... 00:21:22 Well... I suppose I'll turn in for the night. 00:21:32 Nice to meet you folks. 00:29:09 Unstable branch on CRAWL.XTAHUA.COM updated to: 0.22-a0-525-gf69a080 (34) 00:33:57 aidanh: i'll remove the ui-overhaul fork. I'm not sure about ui-overhaul-wtc -- ideally webtiles-changes branch would get your changes merged in and I can just reset to that branch's HEAD plus my local stuff 00:37:22 It should be reasonably straightforward to cherry pick the preparation commit onto webtiles-changes 00:41:32 you'll probably still have some merge conflicts when it's merged into trunk though 00:53:58 does webtiles-changes have a bright future? or is it not so bright? 00:57:13 It likely needs a dedicated developer to give it some love 00:58:50 until one shows up, it's not going anywhere 01:00:53 and the fact that it uses react, which AFAIK no dev is too familiar with, is a significant impediment 01:01:34 hmm okay 01:01:40 that sounds like a very gentle way to put it haha 01:04:41 I'm also not sure what, if any, the advantages are 01:16:00 is my dgl update-trunk script supposed to build trunk from scratch every time? 01:24:24 03floraline02 07https://github.com/crawl/crawl/pull/791 * 0.22-a0-517-ga78346e: Use more concise code to find the websocket protocol 10(3 minutes ago, 1 file, 1+ 4-) 13https://github.com/crawl/crawl/commit/a78346e2fa3e 01:27:29 Unstable branch on crawl.develz.org updated to: 0.22-a0-525-gf69a080 (34) 01:56:35 Windows builds of master branch on crawl.develz.org updated to: 0.22-a0-525-gf69a080 02:09:24 -!- amalloy_ is now known as amalloy 02:10:09 McSplat (L22 VpAs) ERROR in 'mon-util.cc' at line 1568: bogus mc (no monster data): invalid monster_type 1000 (1000) (Slime:4) 02:10:30 McSplat (L22 VpAs) ERROR in 'mon-util.cc' at line 1568: bogus mc (no monster data): invalid monster_type 1000 (1000) (Slime:4) 02:22:27 -!- lynn is now known as Guest54989 02:58:50 Monster database of master branch on crawl.develz.org updated to: 0.22-a0-525-gf69a080 03:22:25 Unstable branch on crawl.beRotato.org updated to: 0.22-a0-525-gf69a080 (34) 04:10:47 < floraline> is my dgl update-trunk script supposed to build trunk from scratch every time? <--- no, but depending on the commits mate a significant portion of the code may have to be recompiled (eg if a shared header that most other files depend on changes) 04:39:25 what are the .prf files? 04:39:33 I see them sometimes in the saves folder 04:39:51 assuming preferences, but where do they come from? why don't I see them for every save game? 04:40:15 hoping to test a few transfers for ancient 0.14 games and wondering if it's ok to just bring those along too 05:08:29 ^status 05:08:29 11 Crawlers. CBRO disk usage=68% (135GB) | RAM usage=12% (4GB)| uptime/CPU= 05:08:28 up 164 days, 8:44, 4 users, load average: 0.39, 0.65, 0.61 (4 Cores) http://status.berotato.org 05:58:59 -!- amalloy is now known as amalloy_ 11:39:42 <|amethyst> johnstein: the .prf files are the ones that keep track of what race, class, and weapon you selected last time 11:40:03 <|amethyst> johnstein: so will only exist if you created a character under the relevant version 13:02:04 -!- eb__ is now known as eb 13:25:37 Unstable branch on crawl.akrasiac.org updated to: 0.22-a0-525-gf69a080 (34) 13:52:21 -!- amalloy_ is now known as amalloy 15:32:24 does anyone know why webtiles would take 99% CPU for several minutes with no traffic 15:37:25 floraline: no crawl process running? 15:37:32 is it actually python taking up that cpu? 15:38:23 top said python ./server.py 15:38:47 i ran strace -p xxx and my terminal was flooded with a series of repeating lines 15:39:29 no, no crawl or anything running at the time it should have been completely idle 15:39:57 it sounds like that's not normal though 16:03:05 it seems to have started happening after i resized my disk 16:03:55 dang 16:06:28 every 6-7 hours the cpu spikes for a few minutes 16:07:03 and it does seem to be python running server.py 16:07:19 it doesn't look like there's any cron job that could be interfering 16:51:58 it's happening again 16:52:17 i can start a game and my crawl instance seems to be responding ok 16:52:51 strace is just flooding my terminal and i'm not sure what else to look at 17:11:51 -!- svendre_ is now known as svendre 17:20:45 can you paste a couple lines from that somewhere? 17:27:30 1: https://pastebin.com/raw/gtrrewXB 17:27:36 2: https://pastebin.com/raw/vNV1EDVK 17:27:38 strace output 17:27:57 they are from separate occurances, those lines appear to loop very tightly while cpu is at 100% 17:30:37 busy-polling for websocket clients who have disconnected but the server doesn't realise it? 17:31:39 that looks buggy to me tbh 17:32:00 its told those sockets have events ready, reads them, gets back 0 on both. which means EOF/closed 17:32:27 biut which it's apparently taking as if it'd been -1/EAGAIN and going back into the polling loop 17:37:18 geekosaur: is there anything else i could do while it's happening? or before, or after 17:37:53 I don't know. 17:38:35 tbh in this situation I'd catch a longer strace log to verify it;s looping on those — or if it's getting new connections that immediately close, which might indicate something else going on 17:42:43 i'm afraid that if i write strace to a file it'll fill my disk super fast 17:51:41 it just happened again, files btmp and fail2ban.log under /var/log were just touched 17:55:34 i guess that's not related 17:56:22 doesn't look like any significant change in activity, no other logs were changing 17:56:37 i'll have to spend some time debugging this 18:01:24 hm. I'd check what fail2ban just logged 18:01:39 possible you're seeing someone e.g. portscanning your machine 18:02:27 -!- svendre_ is now known as svendre 18:10:41 i do have tons of connections but that started pretty soon after i brought the system online 18:10:42 mostly failed ssh logins 18:19:38 -!- svendre_ is now known as svendre 18:21:32 Unstable branch on underhound.eu updated to: 0.22-a0-525-gf69a0803ab (34) 18:22:34 I am betting a packet trace will show you're regularly getting portscanned etc. Might be time to learn about firewalls. 18:23:56 the raw server script isn't really designed for that, and probably handles it badly 18:51:19 geekosaur: i don't know much about networking but i do have iptables set up, is that what you mean? 18:51:32 how can i protect webtiles better if its port has to stay open? 18:51:46 open for local use doesn't necessarily mean open for remote access 18:52:04 doesn't it have to be open for remote access? 18:52:33 hm, you're setting up an actual server? 18:52:33 i guess not if i were using a proxy but i'm not doing that anymore, it should be open directly 18:52:38 oh, yes 18:52:48 lol that might have been misleading 18:52:51 sorry 18:53:30 I would have stuck with the proxy tbh, I don;t think that script is designed for hostile network environments 18:54:00 how are other servers running it? 18:54:25 i know CPO has webtiles behind a proxy but i don't think anyone else does 19:23:53 -!- yesno_ is now known as yesno 20:34:04 is johnstein in? 21:04:26 not sure how his irc is set up, but you can do the old johnstein: ping 21:11:14 johnstein: ping 21:13:45 -!- amalloy is now known as amalloy_ 21:35:37 -!- amalloy_ is now known as amalloy 21:45:37 can someone update hellcrawl on cbro please 21:45:54 alexjurkiewicz: can you update on cpo please 21:50:40 ok 21:59:49 btw, "warning: unused variable ‘USING_LOCAL_TILES" (I've seen this for a while on rebuilds), it's USE_TILE_LOCAL 22:00:10 hellmonk ^ 22:00:24 oh, thanks 22:04:54 Experimental (hellcrawl-cbro) branch on crawl.beRotato.org updated to: 5.1-488-ge8d941d 22:07:55 ty 22:09:40 np 22:09:53 wait are you in control of cbro advil? 22:10:28 no, devs have admin access to some things, including rebuild 22:11:13 I wanted to get an experimental branch. I guess I need john for that? 22:11:36 yeah, only johnstein can do that for cbro 22:12:23 k 22:13:00 is the pub orc coming to cbro 22:14:11 I would like it to! also some other stuff I got 22:14:51 thanks for testing it btw hellmonk it was very helpful 22:15:17 thanks for making it tbh 22:15:39 the concept is good, what gave you the idea 22:17:27 uh 22:17:49 dunno it kinda just popped into my head 22:18:00 well it's cool 22:18:44 I didnt get a chance to test with a non-book start, but if it goes on a species with non-insane melee apts I think those will still be interesting 22:20:41 yeah I think hill orc has too good aptitudes 22:32:17 when you try to post right as tavern goes down 23:49:34 hellmonk: done 23:49:49 ty 23:50:10 floraline: how are you going with webtiles? any issues 23:50:40 i'm still making progress i think 23:50:52 i got SSL working directly in webtiles so i'm not using nginx proxy anymore 23:51:29 but there's this weird issue where every few hours webtiles somehow throws a ton of exceptions very quickly for several minutes taking up 100% CPU 23:51:42 so i have that to figure out, and i'm also working on my ttyrec s3 script thing 23:52:29 👍 23:52:58 i'm a little worried about the cpu usage issue bc i have no clue what's causing it, but other than that i am happy with my progress 23:56:13 !seen krfreak 23:56:13 Sorry alexjurkiewicz, I haven't seen krfreak. 23:56:43 krfreak was trying to set up server to run x-crawl fork and had a similar issue with webtiles server process taking 100% CPU while people were playing games 23:56:52 never seen it myself sorry 23:56:56 oh interesting