Page loading is very slow with ngx_http_auth_pam_module
cumali.ceylan at gmail.com
Wed May 24 06:54:33 UTC 2017
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 ?
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
>> On Thu, May 11, 2017 at 1:48 PM, Cumali Ceylan
>> <cumali.ceylan at gmail.com> wrote:
>>> 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
>>> is again turns to normal.
>>> Is there anyone who observed same thing with me ? Any information
>>> will be
>>> Kind regards,
>>> Cumali Ceylan
>>> nginx mailing list
>>> nginx at nginx.org
>> nginx mailing list
>> nginx at nginx.org
More information about the nginx