I built libpam --with-debug configuration and collect logs while logging with nginx and saw that libpam opens configurations and parses them at each single request. I think this is the problem. Is there anyone how to solve this issue ?

Kind regards,

Cumali Ceylan


On 05/12/2017 05:22 PM, Cumali Ceylan wrote:
No it seems good to me. In addition, I tried to install nscd upon a suggestion but it didn't make a difference. I can see that the nscd cahces the user in its log file.


On 05/12/2017 05:13 PM, Jared Mulder wrote:
are your shell logins slow as well? sometimes PAM behaves like this.

Live long and prosper,

Christ-Jan Wijtmans
https://github.com/cjwijtmans
http://facebook.com/cj.wijtmans
http://twitter.com/cjwijtmans


On Thu, May 11, 2017 at 1:48 PM, Cumali Ceylan <[email protected]> wrote:
Hello,

I built nginx with ngx_http_auth_pam_module, setup linux-pam for local
passwords with pam_unix module and setup nginx to use this pam config.
Linux-pam config file is below:

auth        sufficient pam_unix.so nullok
account   required pam_unix.so

When I did this, loading of page is very slow. If i remove this config and simply setup nginx for basic authentication (with auth_basic), page loading
is again turns to normal.

Is there anyone who observed same thing with me ? Any information will be
helpful.

Kind regards,
Cumali Ceylan
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to