[rt-users] Attchement Size issue

Drew Barnes barnesaw at ucrwcu.rwc.uc.edu
Wed Aug 31 15:30:25 EDT 2005


Check in the [msyqld] section of your my.cnf file.  Look for something like
set-variable = max_allowed_packet=


Labonte, Phil wrote:

> Hi all,
>
>  
>
> I get the following error when replying to a ticket and adding a 
> document:
>
> RT: Attachment insert failed - Got a packet bigger than 
> 'max_allowed_packet' bytes 
> (/usr/local/rt3/lib/RT/Attachment_Overlay.pm:217)
>
>  
>
> JUST TO CLARIFY: this does not happen when an attachment is coming in 
> to RT (that works fine) this is when we reply to a ticket from within 
> RT and Attach a document.
>
>  
>
> So I set the following:  Set($MaxInlineBody, 13456000);
>
> And also set: Set($MaxAttachmentSize , 10000000);
>
>  
>
> And I have restarted httpd, and still the attachments are getting 
> droped when we reply.
>
>  
>
> The attachment we are adding is 1.5MB
>
>  
>
> Is there another config file or variable I need to change?
>
>  
>
> Thanks.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
>Buy your copy of our new book, RT Essentials, today! 
>
>Download a free sample chapter from http://rtbook.bestpractical.com
>

-- 
Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati




More information about the rt-users mailing list