PHP hangs!!



Hi all,
I am trying to deploy the latest PHP,MySQL and Apache for a new webmail
server (My old IMP 3.1 works fine with PHP 4.2.2). Now I have a serious
problem which seems unsolved so far. Here are the versions:

CentOS 4.4
PHP 5.1.6
Apache 2.2.3
MySQL 5.0.24a
UW-IMAP 2004g
Latest Horde+IMP -OR
RoundCube

Problem description (it happens both with IMP and RoundCube).
The problem occurs when opening certain messages from inside the
webmail interface (in IMP it happens also during logging in). Suddenly
CPU usage jumps at 99.5% and Apache hangs. For example, I tried to view
an HTML message with 4 photos attached. The browser stopped after
loading 3 out of 4 photos, and httpd CPU usage jumps at 99.5%. It can't
serve other clients. Only solution? To do a 'pkill' for the hung
process and then restart Apache.

I notice the following error to be logged, but I am not sure this has
something to do with the problem:

[Tue Oct 03 15:07:32 2006] [error] [client 1.2.3.4] PHP Warning:
fgets() [<a href='function.fgets'>function.fgets[/url]]: SSL: fatal
protocol error in
/usr/local/apache223/htdocs/roundcube/program/lib/imap.inc on line 130,
referer:
http://server.mydomain.com/roundcube/?_task=mail&_action=show&_uid=3757&_mbox=OLD%20-%20INBOX

.



Relevant Pages

  • Re: Horde takes forever to load
    ... eaccelerator 0.9.3 (Debian package I made for my own use) ... I guess that rules out apache, php, eaccelerator and imap as possible ... within Horde itself or within IMP (I am using IMP to handle the ...
    (Debian-User)
  • Re: PHP hangs!!
    ... I am trying to deploy the latest PHP,MySQL and Apache for a new webmail ... server (My old IMP 3.1 works fine with PHP 4.2.2). ... Problem description (it happens both with IMP and RoundCube). ...
    (comp.lang.php)
  • Help with php5 install under windows
    ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
    (php.general)
  • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)
  • Re: HELP: send binary replies back and forth ???
    ... > My php application needs to do the following: ... > My PHP script loops through all records and sends each of them ONE BY ONE. ... > other than to be able to communicate with apache. ... All communication is binary because the connection used is pricy and ...
    (comp.lang.php)