|
|
Re: My question with my VPS [message #9038 is a reply to message #9034] |
Thu, 14 December 2006 08:00 |
|
And if you set new parameters via 'vzctl set' you do not have to restart
your VE.
This wiki page should help you: http://wiki.openvz.org/Resource_shortage
Andrey Mirkin wrote:
> 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 VE 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 only 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/
>>
|
|
|
|
|
|
Re: My question with my VPS [message #9105 is a reply to message #9104] |
Mon, 18 December 2006 09:57 |
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 /
>
|
|
|