[Spacewalk-list] Configuration Files

Brandon Perkins bperkins at redhat.com
Tue Jun 9 16:30:29 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Jason Frisvold wrote:
> On Jun 9, 2009, at 12:22 AM, Brandon Perkins wrote:
>> By default, the maximum file size for configuration files is 128KB. If
>> you need to change that value, find or create the following line in the
>> /etc/rhn/rhn.conf file:
>>
>> web.maximum_config_file_size=128
>>
>> Change the value from 128 to whatever limit you want in bytes.
> 
> Is there any reasonable upper limit?  ie, is it ok to change it to a meg
> or two, or is there some sort of bottleneck that will occur?
> 

I believe the upper-bound is 2GB, however, I don't know if that's the
default or not, I am not an Apache expert.  However, limits can be
imposed in your Apache configuration.  Look at:

http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestbody

and the other limit directives listed there.  For configuration
management, I usually haven't heard of any "configuration" file over 1MB
or so... anything larger really does fall into the realm of something
that should be dropped onto the system within an RPM.  But I know of no
problems and certainly wouldn't hurt to do some experimentation on this.

Thanks.
Brandon

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFKLo4khwQhj8l1t/cRAmeRAJ9VYiHlnWpuAPFzoWE73hcJ3NvFBQCfYcz7
FKWcjitYMzdEX3r5euJYTh8=
=0rdb
-----END PGP SIGNATURE-----




More information about the Spacewalk-list mailing list