user2393759
user2393759

Reputation: 47

Subversion Commit Big file issue

I am trying to commit 15mb file in svn. But after 5mb transfer getting error message & commit failed.

Error message is

"svn: Server sent unexpected return value (413 Request Entity Too Large) in response to PUT request for ...."

I tried to use svn commit ,svn import.But no luck.

Any idea regarding same?

Upvotes: 2

Views: 9986

Answers (2)

Josh
Josh

Reputation: 401

I have run into this issue before. The Apache server side error is:

Error: XML request body is larger than the configured limit of 1000000

The LimitXMLRequestBody default (when directive not present in http.conf) is 1000000 which is 1MB

To increase to 50MB add this line to httpd.conf (I put mine in my svn vhost section).

LimitXMLRequestBody 52428800

NOTE: LimitRequestBody vs LimitXMLRequestBody. A prior answer mentions LimitRequestBody, this is not the correct option.

Upvotes: 5

David Jashi
David Jashi

Reputation: 4511

As it says here, this might be Apache limitation. Search for LimitRequestBody setting in your Apache configuration (/etc/httpd/conf/httpd.conf) and set it to whatever you want.

Upvotes: 1

Related Questions