You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Dan Stephans <ad...@mcs.com> on 1999/02/08 20:12:05 UTC

mod_proxy/3859: cache problems

>Number:         3859
>Category:       mod_proxy
>Synopsis:       cache problems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Feb  8 11:20:01 PST 1999
>Last-Modified:
>Originator:     adept@mcs.com
>Organization:
apache
>Release:        all
>Environment:
OS: Solaris 2.5.1
PL: current
COMP: gcc 2.7.2.1
Apache V: 1.3.4 (however, we've had similar problems with previous releases)
>Description:
Problem 1)
  This problem has been reported in PR687 and PR771 (minimally) and has still
not been resolved.  The problem is that tmpXXX files are left in the top level
cache directory.  As these files accumulate, performance starts to suffer.
Errors such as:

httpd: [Mon Feb  8 18:51:18 1999] [error] (16)Device busy: proxy: error deleting
 temp file /cache/tmpa003oa

Are reported in error_log

Problem 2)

  Cache cleanup does not seem to work on "large" drives.  I do not know what
constitutes large but we have one installation of 1G for cache where the 
cleanup works but our 4G cache partition overflows, no matter how small
the CacheSize is set to (this is another previously reported bug, forget the
PR but it is closed and obviously not resolved).  The cache grows without
bound until the volume fills up.

Problem 3)

 This could be related to the two above problems.  Lots of errors of the 
following sort in error_log (IE megabytes worth)

httpd: [Mon Feb  8 18:43:00 1999] [error] (17)File exists: proxy: error linking 
cache file /cache/tmpa003op to /cache/2/J/_/cHayrHDwvm8tcfVg7YA
httpd: [Mon Feb  8 18:43:03 1999] [error] (17)File exists: proxy: error linking 
cache file /cache/tmpa003pl to /cache/Q/V/r/vfeiR710h@UZIzf5BRA
>How-To-Repeat:
Duplicate my config and try.  I'm doing nothing unusual.  Available for
further help if needed.
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]