[horde] Too many httpd processes and no response

ANANT S ATHAVALE asa at isac.gov.in
Tue Jan 14 03:22:11 UTC 2014


  ----- Message from Arjen de Korte <arjen+horde at de-korte.org> ---------
   Date: Mon, 13 Jan 2014 15:52:03 +0100
   From: Arjen de Korte <arjen+horde at de-korte.org>
Subject: Re: [horde] Too many httpd processes and no response
     To: horde at lists.horde.org

> Citeren ANANT S ATHAVALE <asa at isac.gov.in>:
>
>> Dear List,
>>
>> I have released HGWE 5.1.3 to my users from last 3 days.
>>
>> We are facing unusual problem.
>>
>> When there is not much load, there is no problem at all.
>>
>> But, during peak hours of usage on a working day, suddenly too many
httpd
>> processes start and user gets no response.  Only solution is to restart
>> httpd.  By this, there won't any issue for atleast one hour and problem
>> repeats.
>
> My first guess would be that you allow your server to spawn too many
> processes to serve the incoming requests. If this is more than the
> amount of memory allows, the result will be swapping and a dramatic
> decrease in performance. Users will try to reconnect then, worsening the
> problem. Which webserver are you using? If Apache, which MPM are you
> using?
>
> Using Apache.  prefork MPM.  Default, as provided by RHEL.
>
>> I am unable to diagonise this right now.
>>
>> 1. I have installed HGWE on RHEL 6.4
>> 2. Using APC Cache as provided with RHEL
>
> Is there enough memory available for APC? Look at the apc.php status
> page to see if there is sufficient memory available, especially if
> you're using it as a caching backend.
>
> This, I have started monitoring now.  Being a holiday today, it has only
> used 56.2 MB.  I had restarted httpd yesterday evening.  Right now, I
> have set it to 256 MB.  System has 32 GB RAM.
>
>> 3. Using PHP 5.3.3-27 as provided with RHEL
>> 4. Using SquirrelMail IMAP proxy latest stable version, compiled on the
>> same server.
>> 5. Using Cyrus-IMAP server on a remote server and following string
logged
>> in Horde-IMAP debug log
>>
>> S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE  XIMAPPROXY]
>> newisacmail.isac.dos.gov.in Cyrus IMAP v2.4.17-Invoca-RPM-2.4.17-6.el6
>> server ready
>
> Have you enabled IMAP caching in imp/config/backends.local.php?
>
> following is the conf.php for Horde.
>
> $conf['session']['cache_limiter'] = 'nocache';
> $conf['share']['cache'] = false;
> $conf['cache']['default_lifetime'] = 86400;
> $conf['cache']['driver'] = 'Apc';
> $conf['cache']['use_memorycache'] = 'Apc';
> $conf['cachecssparams']['driver'] = 'filesystem';
> $conf['cachecssparams']['lifetime'] = 86400;
> $conf['cachecss'] = true;
> $conf['cachejsparams']['driver'] = 'filesystem';
> $conf['cachejsparams']['compress'] = 'php';
> $conf['cachejsparams']['lifetime'] = 604800;
> $conf['cachejs'] = true;
> $conf['cachethemesparams']['check'] = 'appversion';
> $conf['cachethemesparams']['lifetime'] = 604800;
> $conf['cachethemes'] = true;
>
> and backendslocal.php for IMP it is:
>
> 'cache' => 'cache',
>
> Do I need to change this to NoSQL?
>
> I am unable to debug why httpd suddenly starts too many processes.  I
have
>
>> already enabled DEBUG log in Horde conf.php
>
> Definitly don't do this. Your investigating a performance problem here.
> Logging at level DEBUG will generate tons of information and on a busy
> server this will be enough to bring it to its knees.
>
> Today, being holiday, I will continue with DEBUG and disable in the
> evening.
>
>> Can anybody suggest, how to go about debugging further and come to some
>> conclusion.
>>
>> And to add, I have all pre-requisite installed.  I have already
disabled
>> thumbnail view to avoid high loads of CPU.  Will enable only after
>> resolving the main issue.
>> --
>>          Regards
>>           Anant
>>
------------------------------------------------------------------------------
>> Confidentiality Notice: This e-mail message, including any attachments,
>> is for
>> the sole use of the intended recipient(s) and may contain confidential
>> and
>> privileged information. Any unauthorized review, use, disclosure or
>> distribution is prohibited. If you are not the intended recipient,
please
>> contact the sender by reply e-mail and destroy all copies of the
original
>> message.
>>
------------------------------------------------------------------------------
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/To unsubscribe, mail:
> horde-unsubscribe at lists.horde.org

----- End message from Arjen de Korte <arjen+horde at de-korte.org> -----

Thank you very much for guiding me.  Will need your assistance (may be
some more time).
-- 
           Regards
            Anant
------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
------------------------------------------------------------------------------



More information about the horde mailing list