We have a site which is running on Apache Webserver, Weblogic App server. We
have two instances of Apache runing on two separte boxes with load balancer. We
have a user base of around 2000+ users. We start Apache using the
command "apachectl startssl".
The problem we are facing is after few hours CSS and Images stop
appearing on the site and JSP pages get distorted since CSS doesn't get loaded.
When we check the log files at that moment we find lot of error messages
saying "(24)Too many open files: file permissions deny server access: <actual
file name>". Only when we restart Apache this problem gets resolved and CSS and
Images start appearing on the site. So currently we have to restart Apache very
frequently.
We tried one option wherein we specified "ulimit -n 8192" inside "apachectl"
file and restarted Apache. But still the problem exists.
Please help us in resolving this issue.
Some standard entries in our httpd.conf file is given below:
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 250
MaxRequestsPerChild 10000
This issue may alos due to too many coonections between weblogic and apache.
let me know if anyone has encountered this problem.
Thanks in advance
Rajendra
-
Apache error Too many open files (1 messages)
- Posted by: adsa adsas
- Posted on: December 31 2003 21:42 EST
Threaded Messages (1)
- Facing the same problem with Apache 2.0.46 by Mike Thomas on September 17 2004 10:14 EDT
-
Facing the same problem with Apache 2.0.46[ Go to top ]
- Posted by: Mike Thomas
- Posted on: September 17 2004 10:14 EDT
- in response to adsa adsas
Any ideas on how to solve this problem?
We are using Apache 2.0.46 with Resin 2.1.13.