OpenVZ Forum


Home » Mailing lists » Users » Starting Asterisk PBX: Unable to set high priority
Starting Asterisk PBX: Unable to set high priority [message #15213] Sat, 21 July 2007 22:52 Go to next message
jarcher is currently offline  jarcher
Messages: 91
Registered: August 2006
Location: Smithfield, Rhode Island
Member
From: openvz.org
Hi All...

I just created a Debian Etch 32bit VPS and installed Asterisk, per the wiki
instructions. When I start it, it starts and keeps running, but it reports:

Starting Asterisk PBX: Unable to set high priority

Is this fixable and, if not, is it a problem? What causes it?

Thanks...
Re: Starting Asterisk PBX: Unable to set high priority [message #15225 is a reply to message #15213] Mon, 23 July 2007 08:00 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

From: openvz.org
Jim,

I guess because it tried to change scheduling policy to something like SCHED_FIFO
or SCHED_RR, which are real-time priorities and can't be set w/o CAP_SYS_ADMIN capability.

Nothing bad should happen if you don't run other CPU hungry services in this VE.
Also, you can grant CAP_SYS_ADMIN to VE with vzctl, but this is highly insecure
and not recommended.

Thanks,
Kirill


Jim Archer wrote:
> Hi All...
>
> I just created a Debian Etch 32bit VPS and installed Asterisk, per the wiki
> instructions. When I start it, it starts and keeps running, but it reports:
>
> Starting Asterisk PBX: Unable to set high priority
>
> Is this fixable and, if not, is it a problem? What causes it?
>
> Thanks...
>
>
Previous Topic: openvz and hardware acceleration
Next Topic: openvz with latest stable kernel release
Goto Forum:
  


Current Time: Mon Jun 01 02:30:34 GMT 2020