[Devel] vmalloc size (trobles with nvidia-glx)

Kirill Korotaev dev at parallels.com
Thu Apr 17 07:00:09 PDT 2008


Can you please cat /proc/meminfo after loading OVZ kernel w/o NVIDIA driver?
It's strange and OVZ shouldn't allocate so much memory...
My only guess is that you have a lot of iptables rules which are allocated in vmalloc.

If not, plz create bug in bugzilla.

Alexander GQ Gerasiov wrote:
> Hello there.
> 
> I'm using OpenVZ on my desktop, where I use nvidia-glx. When I tried to
> switch to OpenVZ I met strange problem: Xserver fails to start with
> message
> 
> (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device PCI:1:0:0.
> (EE) NVIDIA(0):     Please see the COMMON PROBLEMS section in the README for
> (EE) NVIDIA(0):     additional information.
> (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
> 
> After digging a bit, I found that the problem is in the failed vmalloc
> call. nvidia want ~70M of memory and together with openvz they ran out
> of default limit in 128M.
> So the 1st question: is that normal, that OpenVZ without any VE eats
> 45Mb more memory from vmalloc space, that default kernel?
> If that's normal, what for? (Just interesting.)
> And if that's normal, may be you should override default limit in
> OpenVZ patch? For now I used vmalloc=256m in kernel's command line, but
> this is not trivial to found out the problem for normal not skilled
> user.
> 




More information about the Devel mailing list