Hello,

I've compiled php 4.3.2 and wonder if all is ok because of the file size and
memory usage of the php as cgi:

admin    20809  0.5  1.1 40180 2764 pts/5    S    19:50   0:00  /usr/bin/php
/home/admin/test.php

I also noticed that memory consumption is going up while the test script is
ending

admin    10390  1.6 12.8 40172 31668 pts/6   R    20:31   0:00  /usr/bin/php
/home/admin/test.php

test.php is simply:

<?php
sleep(10);
?>


ls -l /usr/bin/php

-rwxr-xr-x    1 root     root     10538610 Oct 14 13:08 /usr/bin/php


I'm using a linux box with the fullowing config:

./configure                                           \
        --prefix=/usr                                 \
        --sysconfdir=/etc                             \
        --enable-discard-path                         \
        --with-openssl                                \
        --with-zlib                                   \
        --enable-bcmath                               \
        --with-bz2                                    \
        --enable-calendar                             \
        --enable-dba                                  \
        --with-gdbm                                   \
        --enable-dio                                  \
        --enable-ftp                                  \
        --with-gd=/usr                                \
        --with-jpeg-dir=/usr                          \
        --with-png-dir=/usr                           \
        --with-zlib-dir=/usr                          \
        --with-freetype-dir=/usr                      \
        --enable-gd-native-ttf                        \
        --with-gettext                                \
        --enable-mbstring                             \
        --enable-mbregex                              \
        --with-mime-magic                             \
        --with-mysql?/usr                             \
        --disable-overload                            \
        --with-readline                               \
        --with-mm                                     \
        --enable-sysvmsg                              \
        --enable-sysvsem                              \
        --enable-sysvshm                              \
        --with-expat-dir=/usr                         \
        --disable-debug                               \
        --enable-versioning                           \
        --with-imap=/usr/local/imap-c-client          \
        --with-imap-ssl                               \
        --enable-memory-limit

I think something is wrong but I can't find it!

Thanks for reading

Alexander Newald

Reply via email to