Bug 533527 - Satellite slowness/unresponsiveness and eventual OOM - need to turn off jasper development mode by default
Summary: Satellite slowness/unresponsiveness and eventual OOM - need to turn off jaspe...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 530
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Martin Minar
URL:
Whiteboard:
Depends On:
Blocks: sat540-blockers
TreeView+ depends on / blocked
 
Reported: 2009-11-07 01:21 UTC by Xixi
Modified: 2018-11-14 20:23 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-28 14:45:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed patch (479 bytes, patch)
2009-11-07 01:24 UTC, Xixi
no flags Details | Diff

Description Xixi 2009-11-07 01:21:11 UTC
Description of problem:
Based on /etc/tomcat5/web.conf, Jasper's development mode is on by default -
"
 <!--   development         Is Jasper used in development mode? If true,   -->
 <!--                       the frequency at which JSPs are checked for    -->
 <!--                       modification may be specified via the          -->
 <!--                       modificationTestInterval parameter. [true]     -->
"
It should be off since Satellite distributes jsps pre-compiled and production satellites should no need to re-compile jsp pages.  There's a performance concern here too.

Version-Release number of selected component (if applicable):
Red Hat Network (RHN) Satellite 5.3.0 (and earlier too)

How reproducible:
Always.

Steps to Reproduce:
Look at /etc/tomcat5/web.conf

Actual results:
Jasper development mode is not explicitly turned off.

Expected results:
Jasper development mode is explicitly turned off.

Additional info:

Comment 1 Xixi 2009-11-07 01:24:13 UTC
Created attachment 367922 [details]
proposed patch

Comment 9 Justin Sherrill 2010-08-26 17:01:25 UTC
should be fixed here:

ffe25de359af60ef8e9305ff761932fbc3f4408b

need to do a tad more testing.

Comment 13 Jiri Kastner 2010-10-18 11:44:31 UTC
/etc/tomcat5/web.xml
.... 
       <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>development</param-name>
            <param-value>false</param-value>
        </init-param>
....

Comment 14 Jiri Kastner 2010-10-19 21:57:59 UTC
on 1gb memory system with 1.5 gb swap, then upload of certificate will result in service temporarily unavailable.
satellite-sync consumes 100% cpu, but no oom in logs.
on systems with recommended amount of memory and swap not encountered any problem.

Comment 15 Clifford Perry 2010-10-28 14:41:05 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford


Note You need to log in before you can comment on or make changes to this bug.