On Mon, Dec 15, 2025 at 02:05:36PM +0530, Mayuresh wrote: > On Mon, Dec 15, 2025 at 07:27:51AM +0000, Sad Clouds wrote: > > If you want to profile this library I would say start with getting > > traces for HTTP protocol on the wire and look at the dynamics of it. > > Yes, that should be the way. But lighttpd+FastCGI is working fast enough > and I might not find motivation to look into profiling the library. > > BTW using FastCGI requires me to restart lighttpd every time I change the > binary, which is a pain during dev. Does www/spawn-fcgi make things easy? > (Haven't yet looked into what it does.)
I usually let lighttpd connect to a Unix domain socket and start my FastCGI program separately (as its own user). You just need to be careful with file permissions. Christof -- https://cmeerw.org sip:cmeerw at cmeerw.org mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org
