Bob,

You just stepped beyond my experience! Sorry, I don't understand the
differences in the query nor know why the CPU util is higher for one vs the
other. However, the first looks like a more complex query, with multiple
fields, so it is certainly possible this will translate to needing more CPU
time to do the search and respond. If what I suspect, is true (a more
complex query) and IMail is finishing it as fast as a less complex one, then
IMail probably need and got access to more resources, to do that.

I'm not so concerned that it went to 99%, as long as IMail is sharing
resources and not interfering with other processes during that time. If it
stayed there for a longer time, or did not go back down, then I'd be
concerned. True, if there were a large number of these queries at the same
time, that could pose a significant load on the CPU. But how likely is it
that these requests will come in at the 'same time'? That probability is
likely very low, so overall CPU util, should remain low. Even if one or 2
did come it together, the spike would be over in a few seconds, then all
would return to normal.

Daniel Donnelly
________________________________________________________


----- Original Message -----
From: "Bob McGregor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 19, 2001 1:51 PM
Subject: [IMail Forum] More on LDAP queries


Daniel,

One other thing I've seen is that when querying with the following query
(which does return results) the CPU spikes to 99% during the query which
usually is 2 to 3 seconds.

(&(objectclass=*)(|(cn=*bob*)(sn=*bob*)))

However, if you run this query

(&(objectclass=*)(cn=bob*))

The LDAP process on the server does uses far less CPU and, of course, yields
the same result.

Unfortunately our client queryies for the name field using the 1st listed
query which hogs the cpu.  I'm not sure why the ldap server would peak like
this but seems like it should'nt...

By the way, in just watching the queries, both seem to take about the same
time... It would be awesome if this could be resolved in a coming update in
iMail as I think it could become an issue if multiple people are using the
LDAP directory...

bob


Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/



Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to