I was running 0.33 and found system load to be high (>3.0) in the daytime when many of my ~2000 users are checking mail. I upgraded to 0.37 hoping that authdaemond would improve performance. It didn't make a noticable difference.
I found a couple people that said pam_unix is faster than pam_pwdb, so I switched to that. It seems to improve things, but from ps I see that the authdaemond.plain processes are taking up more CPU time than my httpd processes. Considering the work that apache has to do (a lot of PHP/mysql, etc), I would expect the authdaemond to have much lower resource requirements. I did a lot of digging through the source for courier and pam and libc trying to figure out where things can be tuned. I even considered writing a pam_shadow_lite that mmap's the /etc/shadow and /etc/passwd files instead of using fopen/fclose, etc. I realized that this won't work with the current courier, since the authpam code still uses libc getpwnam (in the preauthpam.c). This was a bit of a surprise, considering the documentation strongly discourages against using authshadow (which uses getpwnam). Am I missing something here? -Ralph _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
