Hey guys,
  I have a mail server (cyrus+posfix) running on tsl 3.0 authenticating
users from Active Directory via ldap.  I started using nscd the other
day, and it helped with the response time for logging in.  However, I've
noticed something that I wanted to see if anyone has any other ideas on.

nscd -g reports: (passwd cache is all I'm really interested in for now)
passwd cache:
                 cache is enabled
                 cache is persistent
                 cache is shared
            211  suggested size
         216064  total data pool size
         215232  used data pool size
            600  seconds time to live for positive entries
             20  seconds time to live for negative entries
         159722  cache hits on positive entries
            277  cache hits on negative entries
          19366  cache misses on positive entries
          29953  cache misses on negative entries
             76% cache hit rate
           2433  current number of cached values
           2449  maximum number of cached values
             28  maximum chain length searched
             13  number of delays on rdlock
              2  number of delays on wrlock
          49800  memory allocations failed
                 check /etc/passwd for changes

Notice the large number of memory allocations failed...  I've incremented
the "suggested size" from 211 to 10007 in the conf file and restarted the
service, but it hasn't changed it at all for the service itself (still
reports 211).  Is there anything else I need to be aware of?  Here's my
nscd.conf as it currently sits:

        logfile                 /var/log/nscd.log
        threads                 10
        max-threads             128
#       server-user             nobody
#       stat-user               somebody
        debug-level             0
#       reload-count            5
        paranoia                no
#       restart-interval        3600

        enable-cache            passwd          yes
        positive-time-to-live   passwd          600
        negative-time-to-live   passwd          20
        suggested-size          passwd          10007
        check-files             passwd          yes
        persistent              passwd          yes
        shared                  passwd          yes

        enable-cache            group           yes
        positive-time-to-live   group           3600
        negative-time-to-live   group           60
        suggested-size          group           10007
        check-files             group           yes
        persistent              group           yes
        shared                  group           yes

        enable-cache            hosts           yes
        positive-time-to-live   hosts           3600
        negative-time-to-live   hosts           20
        suggested-size          hosts           10007
        check-files             hosts           yes
        persistent              hosts           yes
        shared                  hosts           yes

Thanks in advance,

Mike

_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to