Hi,

    I don't know if is a bug of php or apache....

    I have Solaris 7/apache 1.3.12/php4.0.2 (and 4.0.4 in other machines)

    There is a particular script that is called until 700,000 times per day
and it use error_log to keep a back-up of the querys it does...

    The log file can grow until 50 MB per day, another script reset it every
day.

    It works fine, but in some machines, to control the number of proccess
of the apache daemon (because I want to control the number of persistent
connections to a database), I separate it in two, one for my scripts and the
other one for static pages.

    I limit the MaxRequestsPerChild variable to 100 ( because apache/php has
memory leaks that I haven't fixed),  the childs proccess die but apparently
don't close  the file descriptor propperly...

    In a week I make a du -k and it says15 % of the file system but when I
make a df -k it has 100% used ( 1 GB ) I stop the deamon and "df -k " shows
to me 15% of usage....

    Any idea ???

    I can send a copy of the script more used but it hasn't rare code, just
validate data and update it. Instead, this occours only when limit the
number of proccess, anyway if you want I can send it.

Ramiro.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to