]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Update parameters.rst with max_allowed_packet
authortschoening <tschoening@users.noreply.github.com>
Sun, 19 Oct 2014 18:16:51 +0000 (20:16 +0200)
committertschoening <tschoening@users.noreply.github.com>
Sun, 19 Oct 2014 18:16:51 +0000 (20:16 +0200)
docs/en/rst/administering/parameters.rst

index b3bf9a073b9e9490992b92756be37c10fd22c6b2..751cf9a66300662b0a9d547ea2f43f35d7feca71 100644 (file)
@@ -234,9 +234,11 @@ allow_attachment_deletion
     leaving only the metadata.
 
 maxattachmentsize
-    The maximum size (in kilobytes) of attachments to be stored in the database. If a file larger than this size is attached to a bug, Bugzilla will look at the maxlocalattachment parameter to determine if the file can be stored locally on the web server. If the file size exceeds both limits, then the attachment is rejected. Settings both parameters to 0 will prevent attaching files to bugs.
+    The maximum size (in kilobytes) of attachments to be stored in the database. If a file larger than this size is attached to a bug, Bugzilla will look at the :param:`maxlocalattachment` parameter to determine if the file can be stored locally on the web server. If the file size exceeds both limits, then the attachment is rejected. Setting both parameters to 0 will prevent attaching files to bugs.
 
-    .. todo:: Talk about MySQL max_allowed_packet
+    Depending on the DBMS used there may be additional limitations configured by default one should be aware of, because they could prevent storing larger attachments in the database. The often used MySQL for example has a parameter called max_allowed_packet_, which is by default set to 16 MB and therefore may be enough for most patches, but may prevent larger log files or memory dumps from beeing attached to bugs. If one uses MySQL, :param:`maxattachmentsize` must not be of a higher value than max_allowed_packet_ itself, because MySQL would always reject those attachments. Instead, both values should be equal or max_allowed_packet_ the higher one.
+       
+    .. _max_allowed_packet: http://dev.mysql.com/doc/refman/5.1/en/packet-too-large.html
     
 maxlocalattachment
     The maximum size (in megabytes) of attachments to be stored locally on the web server. If set to a value lower than the :param:`maxattachmentsize` parameter, attachments will never be kept on the local filesystem.