Tracker: Bugs

5 2.4.6 hangs PHP - ID: 844975
Last Update: Comment added ( bartvb )

PHP 4.1.2-7.3.6 (RedHat)+php-pgsql, Turck MMCache 2.4.6

configure --enable-mmcache=shared
--with-php-config=$PHP_PREFIX/bin/php-config
--without-mmcache-encoder --without-mmcache-loader
--without-mmcache-sessions --without-mmcache-content-caching

After some hours of work PHP stops answering on requests.
Apache is exhausted with child processes staying idle doing
nothing. Non-PHP requests (to static files) still work.
No messages in error_log.
Access log looks like:
x.x.x.x - - [17/Nov/2003:01:44:41 +0300] "GET / HTTP/1.1" 200 -
Top shows up to MaxClients httpd processes with up to 30
seconds of processor time used (10 hours after lock) and near
zero current system load.
It looks like sort of deadlock in PHP/mmcache.

I revert to 2.4.1, it works.
I didn't try 2.4.2-2.4.5 on this server. (Dual Xeon)

Config:
mmcache.shm_size="32"
mmcache.cache_dir="/tmp/mmcache"
mmcache.enable="1"
mmcache.optimizer="1"
mmcache.check_mtime="1"
mmcache.debug="0"
mmcache.filter="!*/_smarty_cached_paths/* !*debug*"
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.shm_only="1"
mmcache.compress="1"


Konstantin Pelepelin ( checat ) - 2003-11-19 00:23:49 PST

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 5 )

Date: 2004-11-12 02:14:59 PST
Sender: bartvb

Logged In: YES
user_id=30196

Same problem here. Using redhat 7.3 (Upgrade to Debian is
being planned :D) using a celeron processor (single proc).

killall -HUP httpd fixes it instantly.


Date: 2004-02-23 06:05:53 PST
Sender: dariuszm

Logged In: YES
user_id=675252

I have the same problem.

Pentium III 1.4 GHz, 1GB RAM
Linux/Debian Apache 1.3.26-0woody3, PHP 4.3.4, mmcache
2.4.6. Apache hangs after a few hours. There is no info in
logs.


Date: 2003-12-22 14:34:04 PST
Sender: nobody

Logged In: NO

I have the same problem..
Dual Xeon 2.4ghz, 2GB ram.

Apache 1.3.29, PHP 4.3.4
with mmcache 2.4.6 it crashed in a few hours
i'm using 2.3.23 now and works great!


Date: 2003-11-21 03:51:03 PST
Sender: bladet

Logged In: YES
user_id=914355

Probably not same problem because it apache stopped
respond when I test 2.4.1.


Date: 2003-11-21 02:35:31 PST
Sender: bladet

Logged In: YES
user_id=914355

I have similiar problems on my Dual AMD XP Windows 2000
server and running PHP 4.3.2 and Apache 1.3.28. Apache
stops answeres on requests after a while(everything from a
few minutes to hours).

I tried Turck MMCache 4.3.4 and had same problems. I will try
4.3.1 now.

Maybe something to do that we have dual cpus?


Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.