The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: mod_svn crashes httpd  (Read 3835 times)

Zeitisen

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
mod_svn crashes httpd
« 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
php-5.6.6-Win32-VC11-x86.zip and
vcredist_x86_VC12

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 2.4.12.0, 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 10.2.145.92:56091] 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?

« Last Edit: June 12, 2016, 09:52:39 PM by mario »
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 575
Re: mod_svn crashes httpd
« Reply #1 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?
Logged

Zeitisen

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
Re: mod_svn crashes httpd
« Reply #2 on: March 05, 2015, 08:48:51 AM »

Without mod_svn I cannot checkout a repository.
Correctly there are two modules mod_dav_svn.so and mod_authz_svn.so
Now I grant permission to everybody and disabled the mod_authz_svn.so
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.
Logged

Zeitisen

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
Re: mod_svn crashes httpd solved
« Reply #3 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:
subversion.apache.org/docs/release-notes/1.7.html#data-caches


In our configuration this exmple was copied without adapting the cachesize

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

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.


Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 575
Re: mod_svn crashes httpd
« Reply #4 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 ;)
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13