Bug 107939
Summary: | XSL files recursively opened without ever being closed | ||
---|---|---|---|
Product: | [Retired] Red Hat Web Application Framework | Reporter: | Nuno Santos <nsantos> |
Component: | other | Assignee: | ccm-bugs-list |
Status: | CLOSED RAWHIDE | QA Contact: | Jon Orris <jorris> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | CC: | aortega |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-12-10 16:44:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 100952 |
Description
Nuno Santos
2003-10-24 19:06:44 UTC
Can you post details of what the client has their OS file handle limit set to. For RHEL, this is the output of 'cat /proc/sys/fs/file-nr ' and the '/etc/security/limits.conf' file. The way search can show problems is as follows: * Consider system file handle limit is 1024 * Each lucene search query requires 200 handles * 5 users perform a search at the same time, causing 1000 handles to be opened * Another page triggers loading of a new XSL stylesheet, containing > 24 imports. You'll now get a out of file handle message in the stylesheet code, even though the problem is really with lucene. We've had this occurr quite frequently on our PG installs & now allocate each app server 8192 file handles per process (ie the limits.conf file) and a system wide limit of 32678. As well as in XSL loading code, the error is also typically triggered in the class loaders and JSP compilation steps, both of which open numerous files. From the comments I assume this was meant to "XSL" rather than "CSS" fixed on 5.2 (37686), 6.0 (37685), and dev (37685). Also putting note in documentation about adjusting limit for max open files. adding to cms deployment guide @37687 -- should move to waf deployment guide when we have one of those. Just for the sake of completness, here are the file limits on the server that was seeing the problem: cat /proc/sys/fs/file-nr 6084 3529 419430 /etc/security/limits.conf is empty (only commented lines), so everything is on the default values. FYI, we add the following to the limits.conf for servers running Lucene servlet soft nofile 8192 servlet hard nofile 8192 The RHEL default is 1024, we used to up it to 4096, but occassionally still had problems. Upping it again to 8192 seems to be high enough. |