FW: [horde] VERY slow login...

Wang, Yu ywang at unf.edu
Fri May 28 05:56:43 PDT 2004


Let us know when you nail down the cause(s). 

--Yu Wang

Information Technology Services
University of North Florida
(904) 620-2820



-----Original Message-----
From: horde-bounces at lists.horde.org
[mailto:horde-bounces at lists.horde.org]On Behalf Of Chip Bell
Sent: Thursday, May 27, 2004 12:04 PM
To: horde at lists.horde.org
Subject: FW: FW: [horde] VERY slow login...


Actually, I can run horde just fine with 

"service xinetd stop"

So it's not even needed in my install.  I'm down to the database and
apache...

-----Original Message-----
From: Andrew Morgan [mailto:morgan at orst.edu] 
Sent: Thursday, May 27, 2004 12:03 PM
To: Chip Bell
Cc: horde at lists.horde.org
Subject: Re: FW: [horde] VERY slow login...


Why not eliminate xinetd from the equation by running the imap server
(uw-imap?) as a daemon instead of spawned by xinetd?

Also, how many imapd processes do you see running when things slow down?

	Andy

On Thu, 27 May 2004, Chip Bell wrote:

> Well, it's happening again.  I really need some help with this.
>
> So far, I've increased the load on the xinetd as instructed..
>
> Turned up the apache config to
>  Min serv 40
> Max serv 60
> Child prc 2000
> Keep alive "off"
>
> I just don't know where to look for errors or what to fix..again.
>
> When users try to login, the authentication takes forever.  It seems
> that if multiple people are trying to login...they'll all get through
at
> the same time.  Once logged in, horde flies.
>
> Please help.  This is a production box and I'm on day 4 of this.
> Yesterday turning up the xinetd (cps  2000 60) helped for a while,
then
> it bogged down.  I turned it up to (cps 3000 60) and it helped for a
> while too.
>
> Thanks for ANYTHING you can suggest.
>
> -----Original Message-----
> From: Chip Bell
> Sent: Wednesday, May 26, 2004 10:29 AM
> To: horde at lists.horde.org
> Subject: FW: [horde] VERY slow login...
>
> Yu, "you" are the man.  Your fix worked dead on.  I cannot tell you
how
> much I appreciate your and everyone else's help.  :)
>
> Thanks again..
>
> Chip
>
> -----Original Message-----
> From: Wang, Yu [mailto:ywang at unf.edu]
> Sent: Wednesday, May 26, 2004 9:31 AM
> To: Chip Bell; horde at lists.horde.org
> Subject: RE: [horde] VERY slow login...
>
> Since you set up your Linux box not long ago so I think you don't need
> to upgrade your IMAP. Instead, you can twinkle the xinetd
configuration.
> under /etc you can see xinetd.conf and xinetd.d directory. The
> xinetd.conf contains the default setting of xinetd and the xinetd.d
> directory contains configuration files for services that need xinetd
to
> invoke them (man xinetd and man xinetd.conf). You should see services
> like telnet, ftp, imap, etc.
> Now, in xinetd.conf, you should see something like:
>
> defaults
> {
>         instances      = 600
>         log_type       = SYSLOG authpriv info
>         log_on_success = HOST PID
>         log_on_failure = HOST
>         cps            = 250 30
> }
>
> Make the instances = UNLIMITED  and make the cps = 2000 60 (which
means
> in 60 seconds interval, we allow 2000 incoming connections). Restart
> xinetd and watch if any services (Login to Horde) drop. If this works
> like charm, then gradually reduce the number. When you see login fails
> again, you know that you close to the services limit and then use that
> number multiple a safety factor (1.2-1.5). Then relax.
>
> About Gentoo, it's great. It has three stages. You can play with stage
3
> first then 2 then 1. then you will know how linux really works.
>
> --Yu Wang
>
> Information Technology Services
> University of North Florida
> (904) 620-2820
>
>
>
> -----Original Message-----
> From: horde-bounces at lists.horde.org
> [mailto:horde-bounces at lists.horde.org]On Behalf Of Chip Bell
> Sent: Wednesday, May 26, 2004 8:54 AM
> To: horde at lists.horde.org
> Subject: FW: [horde] VERY slow login...
>
>
> I found the issue, it's xinetd.  If I restart this service, the box
> screams past the login.  Now my issue is how to fix this...??  Help
> anyone?
>
> -----Original Message-----
> From: Chip Bell
> Sent: Tuesday, May 25, 2004 6:26 PM
> To: horde at lists.horde.org
> Subject: FW: [horde] VERY slow login...
>
> Actually, my box uses xinetd.  When I open the config file, I don't'
> have very much, just
"instances,log_type,log_on_success,log_on_failure"
> and can't find anywhere to specifically configure imap.
>
> -----Original Message-----
> From: Wang, Yu [mailto:ywang at unf.edu]
> Sent: Tuesday, May 25, 2004 4:16 PM
> To: horde at lists.horde.org
> Subject: FW: [horde] VERY slow login...
>
> > -----Original Message-----
> > From: Wang, Yu
> > Sent: Tuesday, May 25, 2004 4:07 PM
> > To: 'Chip Bell'
> > Subject: RE: [horde] VERY slow login...
> >
> >
> > >How can up update the IMAP?
> > get a newer version:)
> >
> > >Our users see the Welcome page..
> > So not the big box problem.
> >
> > >What exactly am I looking for in Inetd config?
> > do "man inetd" and look for -R (-r) option.
> > for Linux, the default is 1000 per minute.
> > for Solaris, the default is 40 per minute.
> > You can change it by giving -R value when start up the inetd.
> >
> > >Thank you SO much for the info...
> >
> > -----Original Message-----
> > From: Wang, Yu [mailto:ywang at unf.edu]
> > Sent: Tuesday, May 25, 2004 3:51 PM
> > To: Chip Bell; horde at lists.horde.org
> > Subject: RE: [horde] VERY slow login...
> >
> > The login failure with bad credential occurred several times
> > when users reached about 100 and I did some tests and found
> > that our IMAP was more than two year ago and it just cannot
> > handle the heat even server is 4u4G. I don't know how did you
> > setup the login. What page does a user see? the 'Welcome
> > page" or their INBOX? My login to the "Welcome page" is fast
> > (1 sec). But since I have big INBOX (around 1000 emails).
> > Open my INBOX generally takes a while.
> >
> > Do you run many other services on that box (like web, telnet,
> > ftp...)? I assume your IMAP is invoked by inetd. Check to see
> > if you have limit set in your inetd config. To isolate the
> > problem from Horde and IMAP/Other part, you can do following test:
> > When login failure or slowness occurs, use a different mail
> > reader (like outlook express) to do IMAP connection to the
> > same server. If you see failure or slowness too, it's not
> > Horde's problem. check your IMAP and other things. Otherwise,
> > it's Horde that needs to be tuned.
> >
> > --Yu Wang
> >
> > Information Technology Services
> > University of North Florida
> > (904) 620-2820
> >
> >
> >
> > -----Original Message-----
> > From: horde-bounces at lists.horde.org
> > [mailto:horde-bounces at lists.horde.org]On Behalf Of Chip Bell
> > Sent: Tuesday, May 25, 2004 3:29 PM
> > To: horde at lists.horde.org
> > Subject: FW: [horde] VERY slow login...
> >
> >
> > Ok, here we go.
> >
> > 1.  Don't know, about 11 gigs so far of storage.
> > 2.  Old IMAP?  Can you elaborate?
> > 3.  p3 1ghz, 3 gigs ram, UltraScsi 3 Software RAID 5.
> >
> > The thing is, the page opens very quickly, and once you're
> > IN, it's as fast as you can click.
> >
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>

-- 
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org




More information about the horde mailing list