Hi-

I think what I have is a file descriptor problem, but haven't been able to
find the solution.  I have a server with Apache 1.3.22, MySQL 3.23.46, cURL
7.8, mod_ssl 2.8.5 and PHP 4.0.6/4.1.1 on RH Linux 6.2 kernel
2.2.18pre11-va2.0smp.  I upgraded everything, with PHP last.  It all worked
fine with 4.0.6 (and still does if I revert) but when I install 4.1.1,
apachectl asks for my secure server's key, exits normal, but then a ps shows
no httpd.  I've only been able to fix this (under PHP 4.1.1) by commenting
out most of my Apache virtual server ErrorLog and CustomLog lines.  This
leads me to believe that it's a file descriptor problem, and that 4.1.1 is
imposing some sort of limitation that 4.0.6 doesn't, or perhaps that 4.1.1
is hogging bunch of descriptors.  I dunno tho, and can't find anything else
to back this up.

My 4.0.6 was configured as:
 './configure' '--with-mysql=/home/mysql'
'--with-apxs=/usr/local/apache/bin/apxs'
'--with-curl=/usr/local/lib/libcurl.so.1' '--with-openssl'

My 4.1.1 is configured as:
'./configure' '--with-mysql=/home/mysql'
'--with-apxs=/usr/local/apache/bin/apxs'
'--with-curl=/usr/local/lib/libcurl.so' '--with-openssl'
'--with-expat-dir=/usr/local'

All the 's are in there from phpinfo.  I tried compiling with the built-in
expat, and the system expat, but I get the same problem.  I also tried using
the old curl (so.1) and that had no effect.

I've tried looking at /proc/<psnum>/fd and saw 30+ entries (numbered up to
around 66) under PHP 4.0.6, and only 18 (numbered up to about 30) under
4.1.1.  I haven't done anything to limit fd's on the system.

If you have any idea what is wrong, your help would be greatly appreciated!

-Russ





-- 
PHP Install 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