Updated with Tizen:Base source codes
[external/procps.git] / sysctl.conf
1 # /etc/sysctl.conf - Configuration file for setting system variables
2 # See sysctl.conf (5) for information.
3
4 # you can have the CD-ROM close when you use it, and open
5 # when you are done.
6 #dev.cdrom.autoeject = 1
7 #dev.cdrom.autoclose = 1
8
9 # protection from the SYN flood attack
10 net/ipv4/tcp_syncookies=1
11
12 # see the evil packets in your log files
13 net/ipv4/conf/all/log_martians=1
14
15 # makes you vulnerable or not :-)
16 net/ipv4/conf/all/accept_redirects=0
17 net/ipv4/conf/all/accept_source_route=0
18 net/ipv4/icmp_echo_ignore_broadcasts =1
19
20 # needed for routing, including masquerading or NAT
21 #net/ipv4/ip_forward=1
22
23 # sets the port range used for outgoing connections
24 #net.ipv4.ip_local_port_range = 32768    61000
25
26 # Broken routers and obsolete firewalls will corrupt the window scaling
27 # and ECN. Set these values to 0 to disable window scaling and ECN.
28 # This may, rarely, cause some performance loss when running high-speed
29 # TCP/IP over huge distances or running TCP/IP over connections with high
30 # packet loss and modern routers. This sure beats dropped connections.
31 #net.ipv4.tcp_default_win_scale = 0
32 #net.ipv4.tcp_ecn = 0
33
34 # Swapping too much or not enough? Disks spinning up when you'd
35 # rather they didn't? Tweak these.
36 #vm.vfs_cache_pressure = 100
37 #vm.laptop_mode = 0
38 #vm.swappiness = 60
39
40 #kernel.printk_ratelimit_burst = 10
41 #kernel.printk_ratelimit = 5
42 #kernel.panic_on_oops = 0
43
44 # Reboot 600 seconds after a panic
45 #kernel.panic = 600
46
47 # enable SysRq key (note: console security issues)
48 #kernel.sysrq = 1
49
50 # Change name of core file to start with the command name
51 # so you get things like: emacs.core mozilla-bin.core X.core
52 #kernel.core_pattern = %e.core
53
54 # NIS/YP domain (not always equal to DNS domain)
55 #kernel.domainname = example.com
56 #kernel.hostname = darkstar
57
58 # This limits PID values to 4 digits, which allows tools like ps
59 # to save screen space.
60 kernel/pid_max=10000