On Tue, May 05, 2015 at 04:16:55PM -0500, Dennis Gilmore wrote:
So in debugging why mash is so slow. we had a realisation, one thing
it was
supposed to always be doing never worked. and that is hardlinking the
packages in /mnt/koji/mash to /mnt/koji/packages/ this is due to apache owning
everything under /mnt/koji/packages and the compose processes all running as
masher. the hardlink failed due to permission errors
[…]
the rawhide mash today took ~3 hours to put all the files into place
in
[…]
when run as apache in a test putting all the files in place in
/mnt/koji/mash
took ~4 minutes
Nice find, this is huge.
we need to have bodhi run mash as apache
Untested patch attached. It should be simple enough to test in staging
to see if it causes any SELinux explosions.
luke