[pulseaudio-discuss] main.c: daemon startup failed.

Lennart Poettering lennart at poettering.net
Mon Apr 14 08:58:26 PDT 2008

On Mon, 14.04.08 00:03, Tanu Kaskinen (tanuk at iki.fi) wrote:

> > > Here are the messages that get logged when I try starting the server:
> > > 
> > >     Apr 13 18:27:52 lily pulseaudio[26288]: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
> > >     Apr 13 18:27:52 lily pulseaudio[26288]: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
> > 
> > These two calls are PA's attempt to get real-time scheduling permission.
> Those two calls are PA's attempt to set a couple of resource
> limits, but at that point pulseaudio has changed the user to
> "pulse", and it doesn't have the permissions to modify the
> limits. This feels like a bug, and I think the rlimits
> should not be read from a user-modifiable file. That would
> make it possible to set the limits at an earlier stage
> (hmm... I suspect that it wouldn't help with system-wide
> mode after all, unless the limits can somehow survive the
> user switch).

System wide RLIMITS are set in /etc/security/limits.conf.

The reason PA sets those rlimits, is to lower them if they are
set to a value higher then necessary, or to be able to drop suid and
still keep the ability to make processes RT when necessary.

It is absolutely safe to ignore these warnings.


Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

More information about the pulseaudio-discuss mailing list