馃懡 lykso

gmid keeps locking up for some reason. Once a day it seems to stop responding until I restart it. vger was quite reliable. Anyone know any tricks for getting client certificates via CGI in vger?

3 years ago

Actions

馃憢 Join Station

12 Replies

馃懡 lykso

Running 1.6.2 with "doas nohup /usr/local/bin/gmid -vv -c /etc/gmid.conf 2>&1 > ~/gmid.log &". We'll see what winds up in the logs. 路 3 years ago

馃懡 lykso

@op2 Yeah, sorry. Had to handle some other things before I could email you. Will send you details, and will see if 1.6.2 gives me anything different. 路 3 years ago

馃懡 gnuserland

I'd like to help more but my knowledge is very limited. :(

The only insight I have is my server runs just Nginx to handle one static website and GMID to run my capsule and anything else but a firewall. 路 3 years ago

馃懡 op2

Could you please tell me anything more specific about your setup? Like what OS and if there is something specific about your configuration (CGI, FastCGI, or only static content?) Did you found a way to trigger this "lock up"? It would help to troubleshoot this issue. Also, if you don't depend on some of the new features, could you please try the 1.6.2 to compare? Thanks! 路 3 years ago

馃懡 lykso

@op2 Doesn't seem like that's the issue. lyk.so is currently locked up again, and the version I'm running has that change. 路 3 years ago

馃懡 op2

(sorry for the spam) I noticed only now that you said you compiled from the master branch. I recently fixed a leak[0] that was introduce ~ 3 days ago[1]. Could be that the issue?

[0]: https://git.omarpolo.com/gmid/commit/?id=e7c6502bf3ebe199349e315ac7f112db6a2db38e

[1]: https://git.omarpolo.com/gmid/commit/?id=ea976e8743ad3b3263faae00d88e40bcf727097d 路 3 years ago

https://git.omarpolo.com/gmid/commit/?id=e7c6502bf3ebe199349e315ac7f112db6a2db38e

https://git.omarpolo.com/gmid/commit/?id=ea976e8743ad3b3263faae00d88e40bcf727097d

馃懡 op2

also, unfortunately with vger it's impossible to get access to some info about the connection (like remote IP address, TLS certificates and so on), and this is by design. it runs behind inetd that runs behind relayd (or similar) 路 3 years ago

馃懡 op2

I encountered the same problem, but only like once per month or so, and only on FreeBSD. I do frequently some stress tests on OpenBSD and everything works. I'm still trying to figure it out why the server process dies (sometimes), leading to that hang.

Could you please share your configuration (eventually via email at op@omarpolo.com)? It would probably help, thanks :) 路 3 years ago

馃懡 marginalia

echo "0 0,6,12,18 * * * /usr/local/bin/restart_gmid.sh" >>/etc/crontab # only half joking 路 3 years ago

馃懡 gnuserland

He always recommends to use the tarball if you are using Linux.

For my capsule I am using FreeBSD with the version available through the ports, which I haven't updated yet though.

You can start GMID manually with the flag -vv to see what is happening. 路 3 years ago

馃懡 lykso

I don't know what's happening exactly. I don't see any errors in my logs or anything. My gemsite just starts timing out after a day or so. I've compiled the latest version and will see what I can determine if it happens again. 路 3 years ago

馃懡 gnuserland

I don't have any problem with it, but be more specific I'll ask to Yumh to check your issues out! 路 3 years ago