Re: [Codestriker-user] Cannot create topic with big (+1M) diff files
Brought to you by:
sits
|
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... |