OpenVZ Forum


Home » Mailing lists » Users » My question with my VPS
Re: My question with my VPS [message #9105 is a reply to message #9104] Mon, 18 December 2006 09:57 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

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@openvz.org>
>>To: users@openvz.org
>>CC: "xiao liu" <saosao_liu@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 /
>
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Load Sharing/Balancing and Standby Redundacy among VMs
Next Topic: Cannot add VLAN devices to guest with new kernel
Goto Forum:
  


Current Time: Thu Jun 20 05:51:29 GMT 2024

Total time taken to generate the page: 0.03305 seconds