3
3
Fork
You've already forked galileo
0

galileo crashes readily #5

Open
opened 2026年01月08日 23:28:11 +01:00 by hhartzer · 2 comments

I am trying to figure out what causes this, but it's an index gemini page. If I run siege -c 10 -b against galileo, after several seconds, galileo dies.

I wonder if it's my particular gemtext?

I've also had it die without siege...

galileo -d -v doesn't tell much, but:

accept_reserve: inflight incremented, now 1 
accept_reserve: inflight incremented, now 1 
accept_reserve: inflight incremented, now 1 
accept_reserve: inflight incremented, now 2 
accept_reserve: inflight incremented, now 2 
accept_reserve: inflight incremented, now 3 
accept_reserve: inflight incremented, now 2 
accept_reserve: inflight incremented, now 3 
accept_reserve: inflight incremented, now 3 
accept_reserve: inflight incremented, now 4 
proxy error, shutting down the connection (err: 11) 
fcgi failure, shutting down connection (ev: 10) 
fcgi_inflight_dec: fcgi inflight decremented, now 3, fcgi_error 
proxy error, shutting down the connection (err: 11) 
fcgi failure, shutting down connection (ev: 10) 
fcgi_inflight_dec: fcgi inflight decremented, now 2, fcgi_error 
proxy error, shutting down the connection (err: 11) 
fcgi failure, shutting down connection (ev: 10) 
fcgi_inflight_dec: fcgi inflight decremented, now 2, fcgi_error 
proxy error, shutting down the connection (err: 11) 
fcgi failure, shutting down connection (ev: 10) 
proxy error, shutting down the connection (err: 11) 
fcgi_inflight_dec: fcgi inflight decremented, now 1, fcgi_error
proxy error, shutting down the connection (err: 11) 
fcgi failure, shutting down connection (ev: 10) 
fcgi_inflight_dec: fcgi inflight decremented, now 1, fcgi_error 
fcgi failure, shutting down connection (ev: 10) 
proxy error, shutting down the connection (err: 11) 
fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error 
fcgi failure, shutting down connection (ev: 10) 
fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error 
proxy error, shutting down the connection (err: 11) 
proxy error, shutting down the connection (err: 11) 
proxy error, shutting down the connection (err: 11) 
fcgi failure, shutting down connection (ev: 10) 
fcgi_inflight_dec: fcgi inflight decremented, now 2, fcgi_error 
fcgi failure, shutting down connection (ev: 10) 
fcgi_inflight_dec: fcgi inflight decremented, now 1, fcgi_error 
fcgi failure, shutting down connection (ev: 10) 
fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error 
accept_reserve: inflight incremented, now 1 
accept_reserve: inflight incremented, now 1 
proxy error, shutting down the connection (err: 11)
proxy error, shutting down the connection (err: 11)
fcgi failure, shutting down connection (ev: 10)
fcgi failure, shutting down connection (ev: 10)
fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error
accept_reserve: inflight incremented, now 1
fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error
I am trying to figure out what causes this, but it's an index gemini page. If I run siege -c 10 -b against galileo, after several seconds, galileo dies. I wonder if it's my particular gemtext? I've also had it die without siege... `galileo -d -v` doesn't tell much, but: ``` accept_reserve: inflight incremented, now 1 accept_reserve: inflight incremented, now 1 accept_reserve: inflight incremented, now 1 accept_reserve: inflight incremented, now 2 accept_reserve: inflight incremented, now 2 accept_reserve: inflight incremented, now 3 accept_reserve: inflight incremented, now 2 accept_reserve: inflight incremented, now 3 accept_reserve: inflight incremented, now 3 accept_reserve: inflight incremented, now 4 proxy error, shutting down the connection (err: 11) fcgi failure, shutting down connection (ev: 10) fcgi_inflight_dec: fcgi inflight decremented, now 3, fcgi_error proxy error, shutting down the connection (err: 11) fcgi failure, shutting down connection (ev: 10) fcgi_inflight_dec: fcgi inflight decremented, now 2, fcgi_error proxy error, shutting down the connection (err: 11) fcgi failure, shutting down connection (ev: 10) fcgi_inflight_dec: fcgi inflight decremented, now 2, fcgi_error proxy error, shutting down the connection (err: 11) fcgi failure, shutting down connection (ev: 10) proxy error, shutting down the connection (err: 11) fcgi_inflight_dec: fcgi inflight decremented, now 1, fcgi_error proxy error, shutting down the connection (err: 11) fcgi failure, shutting down connection (ev: 10) fcgi_inflight_dec: fcgi inflight decremented, now 1, fcgi_error fcgi failure, shutting down connection (ev: 10) proxy error, shutting down the connection (err: 11) fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error fcgi failure, shutting down connection (ev: 10) fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error proxy error, shutting down the connection (err: 11) proxy error, shutting down the connection (err: 11) proxy error, shutting down the connection (err: 11) fcgi failure, shutting down connection (ev: 10) fcgi_inflight_dec: fcgi inflight decremented, now 2, fcgi_error fcgi failure, shutting down connection (ev: 10) fcgi_inflight_dec: fcgi inflight decremented, now 1, fcgi_error fcgi failure, shutting down connection (ev: 10) fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error accept_reserve: inflight incremented, now 1 accept_reserve: inflight incremented, now 1 proxy error, shutting down the connection (err: 11) proxy error, shutting down the connection (err: 11) fcgi failure, shutting down connection (ev: 10) fcgi failure, shutting down connection (ev: 10) fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error accept_reserve: inflight incremented, now 1 fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error ```

Oh, those logs aren't relevant. All that I get is this:

fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error
accept_reserve: inflight incremented, now 1
proxy error, shutting down the connection (err: 11)
fcgi failure, shutting down connection (ev: 10)
fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error
accept_reserve: inflight incremented, now 1
one child died, quitting.
proxy exiting, pid 44427
proxy exiting, pid 9646
lost child: pid 34800 terminated; signal 11
parent terminating, pid 86134
Oh, those logs aren't relevant. All that I get is this: ``` fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error accept_reserve: inflight incremented, now 1 proxy error, shutting down the connection (err: 11) fcgi failure, shutting down connection (ev: 10) fcgi_inflight_dec: fcgi inflight decremented, now 0, fcgi_error accept_reserve: inflight incremented, now 1 one child died, quitting. proxy exiting, pid 44427 proxy exiting, pid 9646 lost child: pid 34800 terminated; signal 11 parent terminating, pid 86134 ```

Okay, this is kind of funny and weird.

Basically, you need a gemtext like this:

=> https://(servershostname)
=> https://geminiprotocol.net

The HTML output will be erratic, like:

<!doctype html><html><head><meta name="viewport" content="initial-scale=1" /><link rel="stylesheet" href="/galileo.css" /><title>gemini://myhostname.mytld/test.gmi</title></head><body><nav><ul><li><a href='/___
_________________________________________________________________________________________________________________________________________________________________________________________________________________
______________________________________________% 8% 6% 6% 1% 6% 3% 8% 5% 5% 1% 5% 3% 8% 4% 4% 1% 4% 3_______________________________________________________________________________________'>gemini://myhostname.mytld</a></li><li><a href='gemini://geminiprotocol.net'>gemini://geminiprotocol.net</a></li></ul></nav><footer><hr /><dl><dt>Original URL:</dt><dd><a href="gemini://mydomain.mytld/test.gmi">gemini://mydomain.mytld/test.gmi</a></dd></dl></footer></body></html>

And keep changing. Eventually, it crashes.

If you do: => https://myhostname.mytld/ (with the trailing slash) it seems fine.

Okay, this is kind of funny and weird. Basically, you need a gemtext like this: ``` => https://(servershostname) => https://geminiprotocol.net ``` The HTML output will be erratic, like: ``` <!doctype html><html><head><meta name="viewport" content="initial-scale=1" /><link rel="stylesheet" href="/galileo.css" /><title>gemini://myhostname.mytld/test.gmi</title></head><body><nav><ul><li><a href='/___ _________________________________________________________________________________________________________________________________________________________________________________________________________________ ______________________________________________% 8% 6% 6% 1% 6% 3% 8% 5% 5% 1% 5% 3% 8% 4% 4% 1% 4% 3_______________________________________________________________________________________'>gemini://myhostname.mytld</a></li><li><a href='gemini://geminiprotocol.net'>gemini://geminiprotocol.net</a></li></ul></nav><footer><hr /><dl><dt>Original URL:</dt><dd><a href="gemini://mydomain.mytld/test.gmi">gemini://mydomain.mytld/test.gmi</a></dd></dl></footer></body></html> ``` And keep changing. Eventually, it crashes. If you do: `=> https://myhostname.mytld/` (with the trailing slash) it seems fine.
Sign in to join this conversation.
No Branch/Tag specified
main
0.3
0.2
0.1
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
op/galileo#5
Reference in a new issue
op/galileo
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?