OpenVZ Forum


Home » General » Support » git inside VPS fails on mmap
Re: git inside VPS fails on mmap [message #30537 is a reply to message #30536] Wed, 28 May 2008 10:16 Go to previous messageGo to previous message
pollux is currently offline  pollux
Messages: 13
Registered: September 2006
Junior Member
1. The HN has 4 GB of RAM, + 4 of swap. It does not seem to have problems

# free
             total       used       free     shared    buffers     cached
Mem:       4041736    3972848      68888          0     433104     848136
-/+ buffers/cache:    2691608    1350128
Swap:      4194296        336    4193960


2. That, I don't know how to check. The host is 64-bits, so I assume there is no limitation on 4GB.

3.
# sysctl vm.max_map_count 
vm.max_map_count = 65536

(same on the HN and on the guest)

The proc values shows no large number of maps:
# cat /proc/`pidof git-daemon`/maps | wc -l
16


Strace shows that git-daemon adds 27 mmaps before failing.

I tried raising vm.max_map_count to an arbitrary high number, no changes.

4. I don't know how to check that.

I would add that the HN is running 34 servers, maybe it is too big for its capacity ? AFAICT, there is no sign of saturation (cpu load is 0.14, There is some free RAM, etc.)

Thanks for your help

[Updated on: Wed, 28 May 2008 10:16]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IPCop template
Next Topic: Mounting OCFS2 in a VE?
Goto Forum:
  


Current Time: Fri Sep 13 06:21:42 GMT 2024

Total time taken to generate the page: 0.05108 seconds