Bug 634685 - Large POST may cause loop in mod_nss
Summary: Large POST may cause loop in mod_nss
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mod_nss
Version: 5.6
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On: 620856 634687
Blocks: 445047
TreeView+ depends on / blocked
 
Reported: 2010-09-16 17:25 UTC by Rob Crittenden
Modified: 2018-12-09 16:42 UTC (History)
8 users (show)

Fixed In Version: mod_nss-1.0.8-2.el5
Doc Type: Bug Fix
Doc Text:
Clone Of: 620856
: 1084198 (view as bug list)
Environment:
Last Closed: 2011-01-13 22:38:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0049 0 normal SHIPPED_LIVE mod_nss bug fix update 2011-01-12 17:22:45 UTC

Comment 2 Rob Crittenden 2010-09-24 15:23:36 UTC
We needed to reset the NSPR error code before calling PR_Read().

Comment 4 Kashyap Chamarthy 2010-10-06 05:42:16 UTC
Verification procedure:

1. Install a TPS
2. On the TPS UI, on the agent tab disable the userkey profile.   This
profile is large - so saving it will create large posts.
3. In the admin tab, edit this profile and save your changes, confirm
the changes etc.
4. Repeat step 3 multiple times.

If the bug is still there, then at some point, the cpu of httpd will go
very high (lie 100%) and will stay there for a long time. ( This used to
happen after the profile was saved maybe a couple of times.)

Comment 5 Kashyap Chamarthy 2010-10-06 07:16:55 UTC
Verified on RHEL5.6(x86_64)


From comment#4, after disabling 'userKey' profile I repeatedly edited several times & saved it. The %CPU utilization never exceeded 25%.(like below) 
################################################################
[root@cs81autoel5 ~]# top -p29971 -p29990 -p15607

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                           
29971 root      18   0  295m  58m 3592 S  24.3  5.4   0:00.71 httpd.worker                                                                                                                           
29990 pkiuser   25   0  994m  61m 4072 S  0.0  5.6   0:04.65 httpd.worker                                                                                                                                      
15607 apache    25   0  199m 3576  728 S  0.0  0.3   0:00.00 httpd                                                                                                                                             [root@cs81autoel5 ~]#
################################################################

Version: mod_nss-1.0.8-2.el5
Build  : CS nightly build(Oct3)

Comment 7 errata-xmlrpc 2011-01-13 22:38:44 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0049.html


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