[horde] need help debuging 100% cpu php processes

Michael Menge michael.menge at zdv.uni-tuebingen.de
Fri Apr 15 08:43:23 UTC 2016


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Andy Dorman <adorman at ironicdesign.com>:
>
>> On 04/14/2016 04:49 AM, Michael Menge wrote:
>>> Hi,
>>>
>>> I have a problem with our horde system.
>>>
>>> We have the following setup: a ipvs Loadbalancer is distributing the
>>> https requests to 2 webservers.
>>> Connections from the same IP will land on the same webserver if the next
>>> request ocures within 1800 sec.
>>> We use redis as session stroage, and a postgresql 9.3 Database. Redis
>>> and the Database are
>>> on one additional server.
>>>
>>> last week I updated Horde 5.2.9 -> 5.2.10 and the other Horde Packages
>>> (e.g. Horde_ActiveSync 2.31.1 -> 2.31.8)
>>> I also updated the other pear/pecl packages and the RHEL 7 system rpms.
>>>
>>> Since then I see apache processes piling up taking 100% cpu time and
>>> doing nothing.
>>> As far as i can see, the system is working, our users can read/write
>>> mails, use the
>>> groupware. And even ActiveSync is working as far as I can tell.
>>>
>>> But I have to kill the processes to keep the system from slowing down.
>>>
>>
>> Probably a silly question...but do you restart your PHP processes  
>> when you restart apache?
>>

Yes, we rebooted the system after the updates

>> We had a similar issue a couple of weeks ago and it took me an hour  
>> to realize apache and php-fpm were having a very odd problem  
>> communicating with each other (usually apache presents a very  
>> obvious error when it can't communicate with php).  I restarted  
>> both php and apache and things went back to normal.
>>
>> -- 
>> Andy Dorman
>
> Try upgrading to the Css_Parser version 1.0.10 that I just released.
>

This update does seem to fix the problem, but I want to observe this
for a while to be sure.

Thanks for the fix, and all horde devs for the good work.

 From my investigation i would never have suspected Css_Parser, even
now that I remember that I have seen one or two processes hanging in
the CSS_Parser functions, so thanks also to azurit for the bug report

Regards

    Michael





--------------------------------------------------------------------------------
M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung          mail:  
michael.menge at zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen



More information about the horde mailing list