>Number: 624 >Category: mod_proxy >Synopsis: "Too many open files" message with Proxy Cache ON >Confidential: no >Severity: critical >Priority: medium >Responsible: apache (Apache HTTP Project) >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon May 26 17:00:01 1997 >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.2b10 >Environment: Solaris 2.5.1, SPARCompiler C 4.0 uname -a = SunOS mudwiggle 5.5 Generic sun4c sparc SUNW,Sun_4_6 >Description: Enabling the Cache function of apache 1.2b10 seems to work (and work well) for a short period of time, then after several users hit the system (via the proxy) the error_log file grows at an alarming rate with the following error messages
[Wed May 14 16:16:23 1997] open: /export/home/httpd/proxy/////////////////////// ////////////////////////////////ime: Too many open files [Wed May 14 16:16:23 1997] open: /export/home/httpd/proxy/////////////////////// ////////////////////////////////ime: Too many open files [Wed May 14 16:16:23 1997] open: /export/home/httpd/proxy/////////////////////// ////////////////////////////////ime: Too many open files The proxy directory access is available to HTTPD and it writes a multitude of directories and files. Definitely functioning as cache, already tested via browsers. >How-To-Repeat: Setup with standard configuration: Stock Standard Configuration (at least until it works) ProxyRequests On CacheRoot /export/home/httpd/proxy CacheSize 5 CacheGcInterval 4 CacheMaxExpire 24 CacheLastModifiedFactor 0.1 CacheDefaultExpire 1 NoCache no1.co.nz Will work well at first, I had 4 users proxied to the server, after approx 30 mins use the log file grows out of control with above messages Same problems with Virtual host (same ip) through port 8080 >Fix: No sorry. >Audit-Trail: >Unformatted:
