[Users] My question with my VPS

Kirill Korotaev dev at sw.ru
Mon Dec 18 05:06:19 EST 2006


xiao,

you don't need to restart the VE.
just type:
# vzctl set <VEID> --numproc 256 --save
and it will be changed on the fly.

Thanks,
Kirill


> Kir and Andrey, thank you for your help! The problem is in numproc value as 
> you told me. I edit my VID.conf, restart  my VE and I can create 128 thread 
> now.
> 
> Thanks,
> Xiao Liu
> 
> 
>>From: Andrey Mirkin <major at openvz.org>
>>To: users at openvz.org
>>CC: "xiao liu" <saosao_liu at hotmail.com>
>>Subject: Re: [Users] My question with my VPS
>>Date: Thu, 14 Dec 2006 08:41:18 +0300
>>
>>Hello.
>>
>>Can you please look into /proc/user_beancounters for failcounters for your 
>>VE.
>>I think the problem is in numproc value in you case.
>>BTW, if you edit config file manually then you need to restart your the 
>>problem is in numproc valueVE to
>>apply changes.
>>
>>Thanks,
>>Andrey
>>
>>On Thursday 14 December 2006 05:07 xiao liu wrote:
>>
>>>Hello. I have a question with my VPS. I create a 
>>
>>fedora-core-4-i386-default
>>
>>>VPS with OpenVZ. When I do a ping-pong test, I found my VPS the problem 
>>
>>is in numproc valueonly can create
>>
>>>16 thread at most. So I view my VID.conf and edit 
>>
>>PRIVVMPAGES="49152:53575"
>>
>>>to PRIVVMPAGES="991520:1035750", then I found I still only can create 45
>>>thread. But I think there is enough mem in my computer...
>>>Attached my ping-pong test sourse code
>>>
>>>Could anyone help me?  Thanks!
>>>
>>>_________________________________________________________________
>>>Express yourself instantly with MSN Messenger! Download today it's FREE!
>>>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> 
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now! 
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> 
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
> 



More information about the Users mailing list