Misc Tips & Tricks

Increase Max Configuration File Size

When using Spacewalk, I discovered that the default file size limit for configuration files is 128KB. I was trying to upload a 5MB binary file. To increase this limit:

  1. Edit /etc/rhn/rhn.conf on the Spacewalk server.
  2. Append the following to the end of the file (slightly less than 50mb in bytes):

    web.maximum_config_file_size = 50000000
    maximum_config_file_size = 50000000
  3. Save and exit.
  4. Restart Spacewalk with:  # spacewalk-service restart

Source for this one.