[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Bug report on SVN 1.8.3 Cannot allocate Memory

From: Nguyen, Quyen <Quyen.Nguyen_at_epsilon.com>
Date: Thu, 13 Feb 2014 23:37:07 +0000

Hi Ben

I just posted my questions on http://post.gmane.org
I'm not sure if it is posted on the mailing list yet. Anyway, I also decide to send it directly to you guys.
If this is not the right way to approach, please pardon me and let me know. Here is my comments that I posted on http://post.gmane.org

The Linux VM test machine showed it is the OOM error.
Below is the error when I run the command dmesg

Out of memory: Kill process 4353 (httpd) score 134 or sacrifice child
Killed process 4353, UID 41000, (httpd) total-vm:2850244kB, anon-rss:690052kB, file-rss:28kB

This Linux VM machine has Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 SVN/1.8.5 configured.

From this error message, the httpd process was killed which seem to me it either has something to do with the Apache server or SVN 1.8 itself ??
 We download this release of subversion from Collabnet. It bundles subversion and apache together so we don't modify the apache configuration to have the correc modules.

Have anyone ran into this OOM issue with subversion 1.8 and Apache 2.2.25 configuration?
Could you please help to shed some light on this? Let me know if you need any additional information.

-----Original Message-----
From: Ben Reser [mailto:ben_at_reser.org]
Sent: Thursday, December 12, 2013 3:37 PM
To: Nguyen, Quyen; users_at_subversion.apache.org
Cc: Vornbrock, Beth
Subject: Re: Bug report on SVN 1.8.3 Cannot allocate Memory

On 12/12/13 2:12 PM, Nguyen, Quyen wrote:
> Looking into the subversion error_log and it appears it point to the
> memory
>
> [Mon Nov 18 17:28:53 2013] [error] [client 10.20.36.51] Can't start
> process
> '/data00////start-commit': Cannot allocate memory [500, #12]

That is an OS error. Subversion is providing you the "Cannot allocate memory"
message as a convenience, it's not producing the error.

Looking at the code I'd bet that fork() is returning ENOMEM on your system.

> Our Linux System Admin had applied different memory cache setting to
> the server but thus far we have no luck resolving this error.
>
> If you could please provide any insights on why and ho we could
> correct this issue, I'm truly appreciated your help/

Add more memory to the system or figure out why the kernel doesn't think it has enough memory. Might want to check your configured ulimits as well.

________________________________

This e-mail and files transmitted with it are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you are not one of the named recipient(s) or otherwise have reason to believe that you received this message in error, please immediately notify sender by e-mail, and destroy the original message. Thank You.
Received on 2014-02-14 00:37:49 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.