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

Something that looks like it might be a memory leak in the server

From: Jonathan Ashley <jonathan.ashley_at_praxis-his.com>
Date: Wed, 16 Jul 2008 16:12:08 +0100

I have a problem in which the Apache server shuts down unexpectedly. The
Windows service manager fails to restart it, despite being set to do so.

Using the CollabNet release of 1.5.0 for Windows, on a Windows 2008 platform.

Using both mod_dav_svn and mod_authz_svn, with a fairly large authorizations
file (45K).

Today, I observed that when started, the httpd process used around 400M. Over
the next four hours and twenty minutes, the memory usage of the process
climbed steadily, until it exited.

Usage at httpd exit was:
   Peak Private Bytes 1,994,220K
   Virtual Size 2,069,552K

As Windows limits the maximum memory usage of a process to 2G, it seems
possible that the process was killed by the OS due to running out of memory.

The last entry in the error log (which was set to debug level) was

--- cut here

[Wed Jul 16 13:48:06 2008] [info] [client 192.168.1.11] Access granted: 'svn-owner' GET repo:/path/to/file

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
[Wed Jul 16 13:48:07 2008] [crit] Parent: child process exited with status 3 -- Aborting.
[Wed Jul 16 13:48:07 2008] [info] removed PID file C:/Program Files/CollabNet Subversion Server/httpd/logs/httpd.pid (pid=4600)

--- cut here

In other words, it looks normal until the point that the child process dies.

Has anyone seen this before, and does anyone have any good ideas for how I can
investigate the problem further, or work around it (other than scheduling a
server restart every three hours)?

Thanks for your time.

Regards,

--
Jon Ashley
This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, disclosure, copying or distribution or any action taken or omitted to be taken in reliance on it is strictly prohibited. If you have received this email in error please contact the sender. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Praxis. 
Although this email and any attachments are believed to be free of any virus or other defect, no responsibility is accepted by Praxis or any of its associated companies for any loss or damage arising in any way from the receipt or use thereof. The IT Department at Praxis can be contacted at it.support_at_praxis-his.com.
Praxis High Integrity Systems Ltd:
Company Number: 3302507, registered in England and Wales
Registered Address: 20 Manvers Street, Bath. BA1 1PX
VAT Registered in Great Britain: 682635707
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-16 17:12:30 CEST

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

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