Difference between revisions of "CentOS6"
From Leaky
(added tty info) |
|||
Line 13: | Line 13: | ||
$SystemLogRateLimitInterval 5 | $SystemLogRateLimitInterval 5 | ||
$SystemLogRateLimitBurst 500 | $SystemLogRateLimitBurst 500 | ||
+ | |||
+ | == Disable mingetty on extra tty == | ||
+ | |||
+ | Edit '''/etc/init/start-ttys.conf''' so that | ||
+ | |||
+ | env ACTIVE_CONSOLES=/dev/tty[1-6] | ||
+ | |||
+ | becomes | ||
+ | |||
+ | env ACTIVE_CONSOLES=/dev/tty[1-2] | ||
+ | |||
+ | And then to stop the ones that are already running without rebooting: | ||
+ | |||
+ | # initctl stop tty TTY=/dev/tty6 | ||
+ | tty stop/waiting | ||
+ | |||
+ | Then repeat for the other ttys. |
Revision as of 20:45, 30 July 2014
Adjust rate-limiting for rsyslog
These instructions are for rsyslog 5.8.10 that comes with CentOS 6
/etc/rsyslog.conf
# Disable rate-limiting completely $SystemLogRateLimitInterval 0
or
# Set the rate limiting to 500 messages in 5s $SystemLogRateLimitInterval 5 $SystemLogRateLimitBurst 500
Disable mingetty on extra tty
Edit /etc/init/start-ttys.conf so that
env ACTIVE_CONSOLES=/dev/tty[1-6]
becomes
env ACTIVE_CONSOLES=/dev/tty[1-2]
And then to stop the ones that are already running without rebooting:
# initctl stop tty TTY=/dev/tty6 tty stop/waiting
Then repeat for the other ttys.