Thread: [Codestriker-user] Cannot create topic with big (+1M) diff files
Brought to you by:
sits
|
From: DATACOM - D. <di...@da...> - 2007-01-22 11:13:36
|
Hi people, I am using Codestriker 1.9.2, Apache 2.0.58 and MySQL 4.1.21 in a Gentoo=20 Linux box. When I try to create topics using big unidiff files (1Mb or more), the=20 system shows a blank page and the topic is not created. No error=20 messages are displayed. Is there any limitation on the size of the=20 unidiff files? To generate unidiff files I am using CVSNT on Windows XP. When I edit=20 the files making them fit around 900Kb, the topics are created with no=20 problems. Thanks in advance, --=20 DIEGO Moreira da Rosa DATACOM Av Fran=E7a, 735 - Porto Alegre, RS - 90230-220 DDR: +55 51 3358 0141 Fax: +55 51 3358 0101 site: www.datacom.ind.br e-mail: di...@da... |
|
From: David S. <si...@us...> - 2007-01-22 22:22:14
|
> When I try to create topics using big unidiff files (1Mb or more), the > system shows a blank page and the topic is not created. No error > messages are displayed. Is there any limitation on the size of the > unidiff files? There is a rough limit of 20 megabytes at the moment for the size of the HTTP POST, so you really shouldn't be hitting this. Have you checked the apache error log file? Perhaps the database has had an issue with the size of the topic text. Cheers, David |
|
From: Tim C. <tim...@sh...> - 2007-01-22 22:38:31
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
As David suggests, it is probably MySQL's max_allowed_packet setting in
/etc/my.cnf (or wherever your MySQL configuration file is). I think
the default is 1MB, which would make sense. Take a look in your my.cnf
file in the [mysqld] section there might be a parameter with the value
max_allowed_packet=1MB. Try adding or changing this parameter to say
16MB or 32MB restart the MySQL server and see if the problem persists.<br>
<pre class="moz-signature" cols="72">Tim Casada
</pre>
<br>
David Sitsky wrote:
<blockquote cite="mid:45B...@us..."
type="cite">
<blockquote type="cite">
<pre wrap="">When I try to create topics using big unidiff files (1Mb or more), the
system shows a blank page and the topic is not created. No error
messages are displayed. Is there any limitation on the size of the
unidiff files?
</pre>
</blockquote>
<pre wrap=""><!---->
There is a rough limit of 20 megabytes at the moment for the size of the
HTTP POST, so you really shouldn't be hitting this.
Have you checked the apache error log file? Perhaps the database has
had an issue with the size of the topic text.
Cheers,
David
</pre>
</blockquote>
</body>
</html>
|
|
From: DATACOM - D. <di...@da...> - 2007-01-24 14:09:54
|
I changed max_allowed_packet in my.cnf from 1M to 32M. After that, I=20 could use a diff file of up to 1.8M. When I tried it with a 2.4M diff,=20 it failed again. I click on the "Create topic" button, wait some minutes=20 and a blank page is displayed just as before. In the Apache log I found=20 this: [error] [client 176.16.10.9] (70007)The timeout specified has expired:=20 ap_content_length_filter: apr_bucket_read() failed, referer:=20 http://dmview4/codestriker/codestriker.pl?action=3Dcreate Seems like a timeout in Apache. Do you think this can be causing my=20 problem? Anybody knows how to change this? Tim Casada escreveu: > As David suggests, it is probably MySQL's max_allowed_packet setting in= =20 > /etc/my.cnf (or wherever your MySQL configuration file is). I think th= e=20 > default is 1MB, which would make sense. Take a look in your my.cnf fil= e=20 > in the [mysqld] section there might be a parameter with the value=20 > max_allowed_packet=3D1MB. Try adding or changing this parameter to say= =20 > 16MB or 32MB restart the MySQL server and see if the problem persists. >=20 > Tim Casada >=20 >=20 > David Sitsky wrote: >>> When I try to create topics using big unidiff files (1Mb or more), th= e=20 >>> system shows a blank page and the topic is not created. No error=20 >>> messages are displayed. Is there any limitation on the size of the=20 >>> unidiff files? >>> =20 >> >> There is a rough limit of 20 megabytes at the moment for the size of t= he=20 >> HTTP POST, so you really shouldn't be hitting this. >> >> Have you checked the apache error log file? Perhaps the database has=20 >> had an issue with the size of the topic text. >> >> Cheers, >> David >> =20 --=20 DIEGO Moreira da Rosa DATACOM Av Fran=E7a, 735 - Porto Alegre, RS - 90230-220 DDR: +55 51 3358 0141 Fax: +55 51 3358 0101 site: www.datacom.ind.br e-mail: di...@da... |
|
From: DATACOM - D. <di...@da...> - 2007-01-24 14:29:33
|
Now it is working! I changed the field "Timeout" in httpd.conf from 300=20 to 600 and could create a topic with a 2.4M unidiff file. So the solution was: 1. Change max_allowed_packet in my.cnf from 1M to 32M; 2. Change Timeout in httpd.conf from 300 to 600. Thanks all for the help, Diego DATACOM - Diego escreveu: > I changed max_allowed_packet in my.cnf from 1M to 32M. After that, I=20 > could use a diff file of up to 1.8M. When I tried it with a 2.4M diff,=20 > it failed again. I click on the "Create topic" button, wait some minute= s=20 > and a blank page is displayed just as before. In the Apache log I found= =20 > this: >=20 > [error] [client 176.16.10.9] (70007)The timeout specified has expired:=20 > ap_content_length_filter: apr_bucket_read() failed, referer:=20 > http://dmview4/codestriker/codestriker.pl?action=3Dcreate >=20 > Seems like a timeout in Apache. Do you think this can be causing my=20 > problem? Anybody knows how to change this? >=20 > Tim Casada escreveu: >> As David suggests, it is probably MySQL's max_allowed_packet setting i= n=20 >> /etc/my.cnf (or wherever your MySQL configuration file is). I think t= he=20 >> default is 1MB, which would make sense. Take a look in your my.cnf fi= le=20 >> in the [mysqld] section there might be a parameter with the value=20 >> max_allowed_packet=3D1MB. Try adding or changing this parameter to sa= y=20 >> 16MB or 32MB restart the MySQL server and see if the problem persists. >> >> Tim Casada >> >> >> David Sitsky wrote: >>>> When I try to create topics using big unidiff files (1Mb or more), t= he=20 >>>> system shows a blank page and the topic is not created. No error=20 >>>> messages are displayed. Is there any limitation on the size of the=20 >>>> unidiff files? >>>> =20 >>> There is a rough limit of 20 megabytes at the moment for the size of = the=20 >>> HTTP POST, so you really shouldn't be hitting this. >>> >>> Have you checked the apache error log file? Perhaps the database has= =20 >>> had an issue with the size of the topic text. >>> >>> Cheers, >>> David >>> =20 >=20 --=20 DIEGO Moreira da Rosa DATACOM Av Fran=E7a, 735 - Porto Alegre, RS - 90230-220 DDR: +55 51 3358 0141 Fax: +55 51 3358 0101 site: www.datacom.ind.br e-mail: di...@da... |