From: Federico Petronio (fpetronio@petrus.agro.uba.ar)
Date: Fri Jan 02 2004 - 12:32:59 EST
Hi all... I write you because I could not find a solution to the problem
I have. Fist I explain the situation... at the end if the question.
I compiled and intalled Apache 2.0.48 and php-4.3.4 in a chrooted
envorinment in Solaris 8.
Apache serves 250 different domains using virtualhosts. Each virtualhost
has its own log files, and DocumentRoot and I think that the " maximum
file descriptor plus" limit is causing me problems. As far as I see,
apache has no problems to open files, but libphp4.so does. The php.ini
is never readed, jpeg and file functions can't open files, etc... but if
I put less domains in the virtualhost files, the problems disappears
(the command line PHP woks fine in both situations).
truss output for apache proccess using the big virtualhosts files shows:
open("/apache2/conf/php.ini", O_RDONLY) = 473
close(473) = 0
that is, never read the file!
At the beggining of apachectl the ulimit is elevated:
ulimit -S -n `ulimit -H -n`
but I think that the limit is not affecting libphp4.
How can I elevate the default limit for all processes?... that is, to
all the processes that run in the system. Do you think that this is the
problem? Should I look something else?
Any help will be welcame.
Thank you...
-- Federico Petronio fpetronio@petrus.agro.uba.ar Linux User #129974 --- There are only 10 types of people in the world: Those who understand binary and those who don't. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:45 EDT