php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13970 possible deadlock?
Submitted: 2001-11-07 05:28 UTC Modified: 2001-12-18 09:55 UTC
From: fuf at mobil dot cz Assigned:
Status: Closed Package: Performance problem
PHP Version: 4.0.6 OS: linux, kernel 2.2.x
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fuf at mobil dot cz
New email:
PHP Version: OS:

 

 [2001-11-07 05:28 UTC] fuf at mobil dot cz
hello,

with php 4.0.6 apache stops responding after 3-12 hours of working whereas with 4.0.5 everything's okay. it definitely looks like some kind of a deadlock and it's unpredictable when the it happens.

php is compiled with these options:
    CFLAGS="-O6 -march=i686 -fomit-frame-pointer" \
    ./configure \
        -with-sybase-ct=/home/sybase \
        --enable-sysvsem \
        --enable-sysvshm \
        --enable-memory-limit \
        --enable-sockets \
        --disable-session \
        --with-gmp \
        --with-dbase \
        --with-gd \
        --enable-gd-native-ttf \
        --with-freetype-dir=/usr/local \
        --with-jpeg-dir=/usr \
        --with-png-dir=/usr \
        --with-zlib-dir=/usr \
        --without-mysql \
        --with-apache=../apache

the same bad behaviour occurs with php compiled as a standalone aplication when the script runs for a longish time.

the memory-limit patch for 4.0.6 was installed.

thanks
	Michal Vitecek

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-07 05:45 UTC] rasmus@php.net
Any chance you could test the current CVS code?  Snapshots are available from http://snaps.php.net
 [2001-11-07 06:29 UTC] fuf at mobil dot cz
okay - i tried with php4-200111070000. no luck though because there were some other issues:
	- compilation problems (the configure script wrongly thinks that gdImageColorResolve is undefined in gd-2.0.1)
	- stability problems (the apache children segfaulted - one each ~3 secs)
	- other problems (this version claimed that some files couldn't be stated because of permissions - apparently wrong because the files are created by the same user that reads them and are normally accessible + no problems with 4.0.5-6).
 [2001-12-12 19:14 UTC] yohgaki@php.net
Could you try PHP 4.1.0 see if it help? and report the result?
 [2001-12-18 09:53 UTC] fuf at mobil dot cz
4.1.0 works all okay - i've encoutered no strange behaviour.

thanks for the good work!

   Michal Vitecek
 [2001-12-18 09:54 UTC] jpm@php.net
Status -> closed.
 [2001-12-18 09:55 UTC] derick@php.net
status -> close
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 20:01:46 2025 UTC