Who else uses LDAP for authentication? If I am not mistaken authentication is handled between SM and whatever IMAP server you are using and then between IMAP and LDAP. My users authenticate to Cyrus IMAP through SASL. SM sole function here is to hand off the credentials to the IMAP server and wait on a response. I have yet to be able to measure that hand off speed. If the IMAP server is taking it's sweet time then SM will sit and wait.
I think you may need to dig deeper into the whole authentication process, but I don't think that SM is the bad guy here. I think your issue is between IMAP and LDAP. You asked so I will tell you. My system at this writing is 99.6% idle and there are currently 2000+ users logged into IMAP either through their local clients or SM. ---- Peter P. Benac, CCNA Celtic Spirit Network Solutions Providing Network and Systems Project Management and Installation and Web Hosting. Phone: 919-618-2557 Web: http://www.emacolet.com Need quick reliable Systems or Network Management advice visit http://www.nmsusers.org To have principles... First have courage.. With principles comes integrity!!! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lesli St. Clair Sent: Tuesday, November 16, 2004 1:03 PM To: Peter P. Benac Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [SM-USERS] Giving up on SM because of CPU and load issues Peter P. Benac wrote: > Sorry for picking this thread up late, but I was curious if you have > run any performance monitoring tools on this box or are you just > assuming the SM is the culprit. At the very least have you run and > monitored TOP on this machine to see who your top processes are. I'm using top and also Spotlight, so that I can monitor pretty much everything at a glance. And it isn't just one machine--I tried it on two 280s and now it's on a 4-processor machine I borrowed. The 4-processor is handling the load, but fast logins--like every 2.5 seconds, can push the LA way up. > > My mail server is on a E-220-R dual 450Mhz's and performance has never > been an issue with my mail clients. How many users? Which IMAP? > > Are you running NFS on this machine and is NFS hard or soft mounted? > Is there any processes on this machine using RPC's heavily. No and no. Nothing but SM and what it needs (apache, mysql, php...) Does your LDAP > server use a DB backend or are you using flat files? LDAP is on another machine; it's iPlanet. What process is being > used for authentication? Are the clients seeing a degradation is > performance and what do they call "slow"? Do you have non-SM mail > users on this system and what kind of performance are they seeing? LDAP for auth, and yes, I saw performance problems when the public was using it. But the machines I'm testing on do nothing but SM. > > Once a user is authenticated to the mail server LDAP should have very > little to do with this. At that point is all between the Web Server, > SM and the what ever IMAP Server you are using. Right. And what I keep finding is that the LA and CPU usage (and only CPU) shoots up on every login. If logins are spaced out that isn't a problem, especially on the more powerful 4-CPU system. So the load problem is caused by whatever SM does at login--the first mail pull? caching? sorting? ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [EMAIL PROTECTED] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
