💾 Archived View for station.martinrue.com › lykso › cbea2046b30f487a9f4e1e96da861a6b captured on 2023-04-26 at 14:52:12. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

➡️ Next capture (2024-05-12)

-=-=-=-=-=-=-

👽 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?

2 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. · 2 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. · 2 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. · 2 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! · 2 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. · 2 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 · 2 years ago

👽 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) · 2 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 :) · 2 years ago

👽 marginalia

echo "0 0,6,12,18 * * * /usr/local/bin/restart_gmid.sh" >>/etc/crontab # only half joking · 2 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. · 2 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. · 2 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! · 2 years ago