[Mono-dev] Something bad happened between 2.6.1 and 2.6.3?

Ben Clewett Ben.Clewett at roadtech.co.uk
Mon Mar 29 03:47:24 EDT 2010

Morning Robert,

Thanks for the reply.

The out of memory seemed to be the most likely I thought.

Yet it is not the case, Apache is using a fraction of the 10GB 
available.  Each fork is using about 410m:

Mem:  10264800k total,  2487112k used,  7777688k free,   402464k buffers
Swap: 10490404k total,        0k used, 10490404k free,   688460k cached

18937 wwwrun    20   0  421m  18m 5780 S    0  0.2   0:00.90 httpd2-prefork
19462 wwwrun    20   0  421m  18m 5780 S    0  0.2   0:00.90 httpd2-prefork
18933 wwwrun    20   0  403m  17m 4456 S    0  0.2   0:00.94 httpd2-prefork
18722 root      20   0  403m  20m 8192 S    0  0.2   0:00.48 httpd2-prefork


This only happens with mod_mono, and only since upgrading from 2.6.1 to 
2.6.3.  Therefore I strongly believe mod_mono has a fault in this release.

Thanks for the reply,


Robert Jordan wrote:
> On 26.03.2010 18:06, Ben Clewett wrote:
>> Dear List,
>> Been using Mono through Mod-mono and stand-alone programs for years with
>> great success, great product.
>> Had an issue with 2.6.1 where a file handler in VB.NET was returning
>> null, so upgraded to 2.6.3, and now nothing through Mod-Mono is working,
>> and getting things like this in Apache error.log.
>> Please, am I doing something wrong??
>> /bin/sh: error while loading shared libraries: libdl.so.2: failed to map
>> segment from shared object: Cannot allocate memory
> Out of memory.
>> [Fri Mar 26 17:02:31 2010] [error] Failed to connect to mod-mono-server
>> after several attempts to spawn the process.
>> ***MEMORY-ERROR***: /usr/lib/mono/2.0/mod-mono-server2.exe[27013]:
>> GSlice: failed to allocate 1008 bytes (alignment: 1024): Cannot allocate
>> memory
> Out of memory, too.
> Your system seems to limit the memory usage of processes spawned
> by Apache.
> Robert
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> *RT IMSS Scanned*

This e-mail is confidential and may be legally privileged. It is intended
solely for the use of the individual(s) to whom it is addressed. Any
content in this message is not necessarily a view or statement from Road
Tech Computer Systems Limited but is that of the individual sender. If
you are not the intended recipient, be advised that you have received
this e-mail in error and that any use, dissemination, forwarding,
printing, or copying of this e-mail is strictly prohibited. We use
reasonable endeavours to virus scan all e-mails leaving the company but
no warranty is given that this e-mail and any attachments are virus free.
You should undertake your own virus checking. The right to monitor e-mail
communications through our networks is reserved by us

  Road Tech Computer Systems Ltd. Shenley Hall, Rectory Lane, Shenley,
  Radlett, Hertfordshire, WD7 9AN. - VAT Registration No GB 449 3582 17
  Registered in England No: 02017435, Registered Address: Charter Court, 
  Midland Road, Hemel Hempstead,  Hertfordshire, HP2 5GE. 

More information about the Mono-devel-list mailing list