Now it is working! I changed the field "Timeout" in httpd.conf from 300 
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 
> could use a diff file of up to 1.8M. When I tried it with a 2.4M diff, 
> it failed again. I click on the "Create topic" button, wait some minutes 
> and a blank page is displayed just as before. In the Apache log I found 
> this:
> 
> [error] [client 176.16.10.9] (70007)The timeout specified has expired: 
> ap_content_length_filter: apr_bucket_read() failed, referer: 
> http://dmview4/codestriker/codestriker.pl?action=create
> 
> Seems like a timeout in Apache. Do you think this can be causing my 
> problem? Anybody knows how to change this?
> 
> Tim Casada escreveu:
>> 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.
>>
>> Tim Casada
>>
>>
>> David Sitsky wrote:
>>>> 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
>>>   
> 

-- 
DIEGO Moreira da Rosa

DATACOM
Av França, 735 - Porto Alegre, RS - 90230-220
DDR: +55 51 3358 0141
Fax: +55 51 3358 0101
site: www.datacom.ind.br
e-mail: [EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Codestriker-user mailing list
Codestriker-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/codestriker-user

Reply via email to