Re: [Codestriker-user] Error creating topic with a large diff file
Brought to you by:
sits
|
From: Igor L. <igo...@te...> - 2007-10-02 08:09:59
|
Hi David, setting the max_allowed_packet to 32M in /etc/my.cnf actually resolved the problem. Thanks, Igor. -----Original Message----- From: David Sitsky [mailto:dav...@gm...]=20 Sent: Tuesday, October 02, 2007 1:23 AM To: Igor Litmanovich Cc: cod...@li... Subject: Re: [Codestriker-user] Error creating topic with a large diff file Hi Igor, Mysql has a configuration file where you can increase the value of max_allowed_packet. Make it something big, like 32M or 64M and the problem should go away, once you restart your mysql server, and web-server. Cheers, David > one of our codestriker users is trying to create a topic with a very=20 > large diff file (file size approx. 2M). Codestriker does not let him=20 > do it and there is the following error in the http log: > > [Mon Oct 01 08:36:17 2007] [error] [client 141.226.133.199] [Mon Oct =20 > 1 08:36:17 2007] codestriker.pl: DBD::mysql::st execute failed: Got a=20 > packet bigger than 'max_allowed_packet' bytes at=20 > /var/www/codestriker/codestriker-1.9.3/bin/../lib/Codestriker/Model/To > pic.pm > line 162, <fh00001appl02_P010362_bassv_3.cidiff> line > 148212., referer: > http://pcx0177/codestriker/codestriker.pl?action=3Dcreate > > As far as I can understand this error is produced by mysql because the > packet size is bigger than 'max_allowed_packet'. Is there any way to=20 > change the value of 'max_allowed_packet' > to allow larger packets? > > Any help will be appreciated, > thanks, > Igor. > > > ____________________________________________________ > NLObP > Igor Litmanovich, ClearCase/Tools Team Leader > Telrad Networks, www.telrad.com > Phone: +972-73-2467613, > Mobile: 052-8287613 > ESN: 828-7613 ____________________________________________________ > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Codestriker-user mailing list > Cod...@li... > https://lists.sourceforge.net/lists/listinfo/codestriker-user > > |