1 |
On 9/6/06, Stefán István <stefi@××××××××××××.hu> wrote: |
2 |
> # cat /proc/sys/kernel/sem |
3 |
> 250 32000 32 128 |
4 |
> # cat /proc/sys/kernel/shmall |
5 |
> 2097152 |
6 |
> # cat /proc/sys/kernel/shmmax |
7 |
> 33554432 |
8 |
> # cat /proc/sys/kernel/shmmni |
9 |
> 4096 |
10 |
> |
11 |
> And how can I achive to have more semaphores? |
12 |
|
13 |
sysctl can do this: |
14 |
|
15 |
carcharias # sysctl -a | grep sem |
16 |
kernel.sem = 250 32000 32 128 |
17 |
carcharias # sysctl -e kernel.sem="500 32000 64 256" |
18 |
kernel.sem = 500 32000 64 256 |
19 |
carcharias # sysctl -a | grep sem |
20 |
kernel.sem = 500 32000 64 256 |
21 |
|
22 |
I don't have any good document pointer as to what each of the values |
23 |
here mean, but googling should turn up something interesting. The |
24 |
32000 seems like a good sized real-world number, I suspect that is the |
25 |
system total, and the others might be per-user or per-process. So I |
26 |
would just start by doubling the others until you either cannot raise |
27 |
them any more or it works... |
28 |
|
29 |
-Richard |
30 |
|
31 |
-- |
32 |
gentoo-user@g.o mailing list |