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:[EMAIL PROTECTED] 
Sent: Tuesday, October 02, 2007 1:23 AM
To: Igor Litmanovich
Cc: [email protected]
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 
> large diff file (file size approx. 2M). Codestriker does not let him 
> 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  
> 1 08:36:17 2007] codestriker.pl: DBD::mysql::st execute failed: Got a 
> packet bigger than 'max_allowed_packet' bytes at 
> /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=create
>
> 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 
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>
>

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-user

Reply via email to