2017-12-13 3 views
0

Wo könnte ulimit -v globale Einstellung gespeichert werden?Suse Linux ulimit -v globale Einstellung

> [email protected]:/home/me : ulimit -a 
core file size   (blocks, -c) 1 
data seg size   (kbytes, -d) unlimited 
scheduling priority    (-e) 0 
file size    (blocks, -f) unlimited 
pending signals     (-i) 61817 
max locked memory  (kbytes, -l) 64 
max memory size   (kbytes, -m) 6736760 
open files      (-n) 1024 
pipe size   (512 bytes, -p) 8 
POSIX message queues  (bytes, -q) 819200 
real-time priority    (-r) 0 
stack size    (kbytes, -s) 8192 
cpu time    (seconds, -t) unlimited 
max user processes    (-u) 61817 
virtual memory   (kbytes, -v) 9695920 
file locks      (-x) unlimited 

Ich kann durch ulimit -v INTEGER virtuellen Speicher erhöhen, aber dieser Befehl wirkt sich nur auf meine aktuellen Sitzung.

In diesen Dateien habe ich nicht

[email protected]:/home/me : cat /etc/profile | grep ulimit 
# ulimit package instead to set up ulimits and your PATH. 
#  ulimit -Sc 0    # don't create core files 
#  ulimit -Sd $(ulimit -Hd) 
#  ulimit -Ss $(ulimit -Hs) 
#  ulimit -Sm $(ulimit -Hm) 
[email protected]:/home/me : cat /etc/security/limits.conf | grep ulimit 
[email protected]:/home/me : 

ulimit -v definiert Wo virtuellen Speicherwert 9.695.920 definiert sein könnte oder wo ist es?

Danke für Ihre Hilfe.

s.

Antwort

0

ulimit -v ist in /etc/initscript berechnet aus MemTotal und SwapTotal

[email protected]:/proc : cat ./meminfo 
MemTotal:  7925532 kB 
SwapTotal:  4194300 kB