Description of problem: rhn_check cannot handle to pick up 100 erratas Version-Release number of selected component (if applicable): rhn-check-0.4.20-33.el5 How reproducible: non deterministic Steps to Reproduce: 1. create custom channel and create 100 erratas there 2. schedule erratas to some client machine 3. rhn_check -vv on client machine Actual results: updateLoginInfo() login info D: login(forceUpdate=True) invoked logging into up2date server D: writeCachedLogin() invoked D: Wrote pickled loginInfo at 1289322457.83 with expiration of 1289326057.83 seconds. successfully retrieved authentication token from up2date server D: logininfo: {'X-RHN-Server-Id': 1000010021, 'X-RHN-Auth-Server-Time': '1289322457.81', 'X-RHN-Auth': 'JOtftdhoc/0vQo5UHhODOw==', 'X-RHN-Auth-Channels': [['parent-ysqxw', '20101109103025', '1', '1'], ['child-of-parent-ysqxw', '20101109103041', '0', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'} D: handle_action {'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>errata.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><int>338</int></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 261} D: handle_action actionid = 261, version = 2 D: do_call errata.update ([338],) D: Called update [['test-arch-ysqxw-43-InParent', '0.2', '2', '', 'i386']] D: Dependencies Resolved D: Downloading Packages: D: Running Transaction Test D: Finished Transaction Test D: Transaction Test Succeeded D: Running Transaction Updating package profile memory alloc (200156 bytes) returned NULL. Expected results: rhn_check frees resources time to time. rhn_check can handle to pick up more then 100 actions Additional info: I tried that on machine with 8 AMD processors and 20Gig of mem. 1 action rhn_check starts very fast 50 action is picked up it starts to be slower then before^. around 70 actions: rhn_check consumes about 1Gb of memory and 100% cpu around 110 memory alloc (200156 bytes) returned NULL.
What's the rpm version of the affected system? (rpm -q rpm) Is the selinux in enforcing, permissive or disabled?
it was rhel55 with no updates: # rpm -q rpm rpm-4.4.2.3-18.el5 # getenforce Enforcing
Could you please try to reproduce the problem again with rpm-4.4.2.3-20.el5_5.1?
(In reply to comment #4) > Could you please try to reproduce the problem again with > rpm-4.4.2.3-20.el5_5.1? You mean something like: rpm -Uvh package_from_errata1.rpm ... package_from_errata100.rpm ? Or maybe: for p in package_from_errata1.rpm ... package_from_errata100.rpm; do rpm -Uvh $p done ?
(In reply to comment #5) > (In reply to comment #4) > > Could you please try to reproduce the problem again with > > rpm-4.4.2.3-20.el5_5.1? > > You mean something like: > > rpm -Uvh package_from_errata1.rpm ... package_from_errata100.rpm > > ? Or maybe: > > for p in package_from_errata1.rpm ... package_from_errata100.rpm; do > rpm -Uvh $p > done > > ? I meant: 1. Update rpm package to the version rpm-4.4.2.3-20.el5_5.1 2. Follow the exact steps from initial comment
*** This bug has been marked as a duplicate of bug 566746 ***