Nicolas Franck

Results 140 comments of Nicolas Franck

@neilcook rock elasticsearch-lua cannot be installed anymore. I'm getting this error during installation: ``` cp: src/elasticsearch/endpoints/TermVectors.lua: No such file or directory Error: Build error: Failed installing src/elasticsearch/endpoints/TermVectors.lua in /usr/local/Cellar/openresty/1.15.8.1/luajit//lib/luarocks/rocks/elasticsearch-lua/1.0.3-1/lua/elasticsearch/endpoints ```...

@neilcook I've built luarocks against luajit that ships with openresty: https://openresty.org/en/using-luarocks.html

a local install does not make a difference: ``` $ luarocks --local install elasticsearch-lua ``` ``` cp: src/elasticsearch/endpoints/TermVectors.lua: No such file or directory Error: Build error: Failed installing src/elasticsearch/endpoints/TermVectors.lua in...

Ok, I reinstalled both openresty and luarocks, and now it installs correctly. As nothing has changed to this rock, I suspect that a more recent luarocks version was expected? I...

@ahankinson unfortunately, that did not make a difference

I tried to mimic this in golang, and there I see the same problem. See the following fcgi client program: ``` package main import ( "os" "github.com/iwind/gofcgi/pkg/fcgi" "io/ioutil" "bufio" "fmt"...

What is actually the recommended way to setup fcgi applications like this? The only way I managed to setup the iipsrv in a more robust way is like this: *...

I tried with `supervisord`, like @ahankinson suggests [here](https://github.com/ruven/iipsrv/issues/164#issuecomment-464448475), and that seems to work as expected. Now the keepalive connections from nginx to iipsrv seem to work. Strange, the same doesn't...

I tried to tweak the number of workers processes nginx uses, and I've set it to 1. In that case keep alive connections from nginx to iipsrv work also. Weird...

I had a talk with a user in the nginx forum. Apparently every nginx worker ties to a connection with a fcgi worker when using keepalive. If there is only...