Thanks a lot for the hints so far.. to provide the further info and answer
the questions..
getconf ARG_MAX shows 2097152
ulimit -s shows 8192
setting it to unlimited, doesn't change anything (also not with prlimit)
wc -c /proc//environ shows 1949
it seems on a regular machine we have around 1200
Hello,
I am caching the result of auth_request. This is the simplified code:
proxy_cache_path /var/cache/nginx levels=1 keys_zone=token_cache:1m
max_size=2m
inactive=60m use_temp_path=off;
location /devices {
auth_request /auth;
auth_request