php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15833 PHP 4.1.x results in huge memory usage during runtime under Solaris 8
Submitted: 2002-03-02 11:13 UTC Modified: 2002-10-16 01:00 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:0 (0.0%)
From: frank at powerweb dot de Assigned:
Status: No Feedback Package: Performance problem
PHP Version: 4.1.2 OS: Solaris 8
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: frank at powerweb dot de
New email:
PHP Version: OS:

 

 [2002-03-02 11:13 UTC] frank at powerweb dot de
Compiling PHP 4.1.1 (patched) or PHP 4.1.2 under
Solaris 8 on a Sun NetraX1 as external CGI results
in a huge memory usage, even if only the phpinfo
function wa called.

The executable used around 73 MB memory.

Compiling it the same way under Solaris 2.6/7
works perfectly ...
Compiling it under Linux the same way works
perfectly too.

Here the configure line:

./configure --prefix=/usr/local/php-4.1.2 --enable-force-cgi-redirect --with-gdb
m --with-gd=/usr/local/gd-2.0.1 --with-mysql=/usr/local/mysql-3.23.37 --with-ttf
=/usr/local/freetype-2.0.6 --enable-gd-native-ttf --with-jpeg-dir=/usr/local/con
verter --with-xpm-dir --with-freetype-dir=/usr/local/freetype-2.0.6 --with-png-d
ir=/usr/local/libpng-1.2.1 --with-gettext=/usr/local/gnu --with-zlib-dir=/lib --
enable-ftp --enable-shared --with-dom=/usr/local/libxml2-2.4.9 --enable-trans-si
d --with-config-file-path=/usr/local/php-4.1.2 --with-tiff-dir=/usr/local/tiff-v
3.5.6-beta --with-pdflib=/usr/local/pdflib-4.0.1 --with-imap=/usr/local --with-m
crypt=/usr/local/libmcrypt-2.4.10 --with-expat-dir=/usr/local/expat-1.95.2 --wit
h-sablot=/usr/local/Sablot-0.65 --with-openssl=/usr/local/openssl-0.9.6a --with-
bz2 --with-t1lib=/usr/local/T1-1.1.1 --with-mm --with-zip=/usr/local/zziplib-0.1
0.27 --enable-inline-optimization --enable-sysvsem --enable-sysvshm --with-ndbm

Kind regards, Frank
PowerWeb

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-07 08:18 UTC] joel at elserver dot com
We had the same problem with php 4.1.2 under slackware 8 with 2.4.17 smp. PHP did not follow memory limit at all. PHP 4.0.6 + security patch works ok.
 [2002-03-07 10:44 UTC] frank at powerweb dot de
PHP uses about 6-8 MB after taking the
--with-mm option out.
Seems to be a problem of PHP or libmm.
Frank
PowerWeb
 [2002-09-30 20:40 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-10-16 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Nov 29 17:05:53 2022 UTC