Mailinglist Archive: opensuse-security (24 mails)
| < Previous | Next > |
[opensuse-security] chrt in opensuse 11.4?
- From: Lennart Börjeson <Lennart.Borjeson@xxxxxxxxxxxx>
- Date: Thu, 14 Apr 2011 16:01:52 +0200
- Message-id: <201104141601.53039.Lennart.Borjeson@cinnober.com>
SInce upgrading to 11.4, I no longer seem to be able to use real-time
scheduling. If I just try something like:
chrt -r 1 ls
I get
chrt: failed to set pid 0's policy: Operation not permitted.
I have set what I believe to be correct settings in /etc/security/limits.conf,
i.e.:
@realtime soft cpu unlimited
@realtime - rtprio 100
@realtime - nice -20
@realtime - memlock unlimited
The command "groups" outputs:
users video realtime
and the command "ulimit -a" outputs:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 40
file size (blocks, -f) unlimited
pending signals (-i) 63885
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) 6961752
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 100
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 63885
virtual memory (kbytes, -v) 8235840
file locks (-x) unlimited
What am I missing? What might I have lost in the upgrade from 11.3 -> 11.4?
--
Lennart Börjeson
--
To unsubscribe, e-mail: opensuse-security+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-security+help@xxxxxxxxxxxx
scheduling. If I just try something like:
chrt -r 1 ls
I get
chrt: failed to set pid 0's policy: Operation not permitted.
I have set what I believe to be correct settings in /etc/security/limits.conf,
i.e.:
@realtime soft cpu unlimited
@realtime - rtprio 100
@realtime - nice -20
@realtime - memlock unlimited
The command "groups" outputs:
users video realtime
and the command "ulimit -a" outputs:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 40
file size (blocks, -f) unlimited
pending signals (-i) 63885
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) 6961752
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 100
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 63885
virtual memory (kbytes, -v) 8235840
file locks (-x) unlimited
What am I missing? What might I have lost in the upgrade from 11.3 -> 11.4?
--
Lennart Börjeson
--
To unsubscribe, e-mail: opensuse-security+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-security+help@xxxxxxxxxxxx
| < Previous | Next > |