Red Hat Bugzilla – Bug 472595
Extreme kickstart performance problem
Last modified: 2012-03-06 03:57:47 EST
Kickstarts from Spacewalk take roughly 2-3 times as long as they should and the load on the Spacewalk server is around 4-5 on rlx-0-04.rhndev.
The slowness starts as the machine is downloading packages from the Spacewalk box. Watch top and you can see httpd and oracle taking up most of the resources on the box.
I think this may have just been a temporary problem, as the issue has gone away. Moving to modified just to be tested.
Customers are still reporting this in 0.4. Re-opening.
Short term workaround for this bug:
* Edit: /etc/httpd/conf.d/zz-spacewalk-server.conf
Add: EnableMMAP off, EnableSendfile off to the Directory stanza:
* Add this index to your database:
# sqlplus spacewalk/spacewalk@xe
SQL> CREATE INDEX rhn_package_path_idx
ON rhnPackage(id, path);
*** This bug has been marked as a duplicate of bug 470234 ***
*** Bug 470234 has been marked as a duplicate of this bug. ***
i have the java port of the kickstart file downloader 90% complete but it is failing a few of my testcases. Might not make 0.5 but I may release packages right after 0.5 goes out.
Greetings Mike, I think you forgot to create rhn_package_path_idx index
in the schema itself; right now the index is present in the sql upgrade
script (153-rhnPackage-pathidx.sql) only.
FAILS_QA, see comment #8
schema fix: 7b974a41d4ec7f7ea0bc02257ee5d90941b71ccb
This actually should still be in FAILS_QA. Discovered some fatal errors while kickstarting systems so it should not be tested.
Spacewalk 0.5 released.
Spacewalk 0.5 has been released for long time ago.