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
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

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: Sun Jun 15 22:14:03 GMT 2025

Total time taken to generate the page: 0.01942 seconds