The Apache Haus Forum

Forum Topics => Third-party Modules => Topic started by: Zeitisen on March 04, 2015, 02:45:44 PM

Title: mod_svn crashes httpd
Post by: Zeitisen on March 04, 2015, 02:45:44 PM
I just startet with a new

apache httpd-2.4.12-x86-vc11,
mod_svn-1.8.11-ap24-x86 and and

on a new Windows Server 2008
for replaceing the old server with Apache 2.2 and mod_svn 1.8.5, php 5.2 VC6 and then move to https

Now everything seems ok.
But if I try to checkout a working copy, httpd crashes with the following message:

Code: [Select]
Faulting application httpd.exe, version, time stamp 0x54c1cb16,
faulting module MSVCR110.dll, version 11.0.51106.1,
time stamp 0x5098858e, exception code 0x40000015, fault offset 0x000a327c, process id 0x1620,
application start time 0x01d0565f559d5873.

The error logfile shows :

Code: [Select]
[Wed Mar 04 12:42:51.277330 2015] [authz_svn:info] [pid 6060:tid 488] [client] Access granted: 'xxxxxx' OPTIONS SVN_DEMO:/trunk
[crit] Memory allocation failed, aborting process.

Accessing the repostitory with wsvn works without any problem.

Can anybody give me a hint?

Title: Re: mod_svn crashes httpd
Post by: mario on March 04, 2015, 05:02:13 PM
Does apache crash without mod svn?

However "Memory allocation failed, aborting process". How much memory is free on that server?
Title: Re: mod_svn crashes httpd
Post by: Zeitisen on March 05, 2015, 08:48:51 AM
Without mod_svn I cannot checkout a repository.
Correctly there are two modules and
Now I grant permission to everybody and disabled the
I also disabled PHP.
Same result.

Physical Ram is 4GB. Task manager says "Free 2246"
There is no traffic. At this time I am the only user on this server.
Title: Re: mod_svn crashes httpd solved
Post by: Zeitisen on March 05, 2015, 11:11:09 AM
Now I found the problem:

For increasing server performance, with svn 1.7 a cache was introduced: (

In our configuration this exmple was copied without adapting the cachesize

Code: [Select]
<IfModule dav_svn_module>
    SVNInMemoryCacheSize 10485760
    SVNCacheFullTexts on
    SVNCacheTextDeltas on

Unforunately there was no comment indication the unit of cachesize. The unit is KByte!
So in the above example 10 GByte were reserved.

Server memory 4GByte, available about 2GByte.
With former  msvrcr.dll this error was handled in a different way. No crash, it worked in spite of misconfiguring.

Now I reduced the cache size to 100 Mbyte and it works.

But will I get always a crash, if the memeroy is getting low? VC11 is handling this worse than the old ones.

Title: Re: mod_svn crashes httpd
Post by: mario on March 05, 2015, 11:53:16 AM
Only if less than 50 MB of RAM is available, but I think than you have another problem ;)