Re: [389-users] 389 pauses every 5 minutes under load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> On 10/12/2011 05:41 PM, Rich Megginson wrote:
> > Thanks.
> >
> > The select/poll are the server basically idle, waiting on a
> > condition
> > variable for new work to perform.
> >
> > You can eliminate many of these by decreasing your cn=config
> > nsslapd-threadnum setting.  The default is 30, but you may find
> > better
> > performance by setting to somewhere around 2 times the number of
> > cpus/cores you have on your machine (but at least 8).
> Yeah, I knew what the select/poll calls are, but I will look at
> decreasing the number of threads to a more suitable number.  Are
> these
> threads bound to a specific connection or is it a thread pool that
> gets
> requests delegated to it from the open connections?

It is essentially a thread pool, although it has a bit more logic than that.

> 
> > Do you know if any of these come from a period of time during which
> > the server is consuming a lot of CPU?
> Yes these were taken starting ~1 second before the spike and going ~2
> seconds after.  It's easy to start monitoring right before the event
> when the leading edge to leading edge time is exactly 5 minutes!

Ok, thanks.  I am investigating.

> > No, should not be a problem.  And it is standard - many apps do
> > this
> > (e.g. a web service that uses ldap for auth will not want to
> > open/close a connection for every single user - it will typically
> > use
> > a connection pool of already open and possibly idle connections).
> Our app doesn't really use a pool in the traditional sense... just
> one
> connection bound as a given user for that user's session... but I'm
> glad
> to hear that it shouldn't be the problem.
> 
> Thanks,
> Justin
> 
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux