[PVE-User] Question about memory management

Frederic MASSOT frederic at juliana-multimedia.com
Thu Jun 2 16:08:52 CEST 2011


Le 02/06/2011 09:56, Martin Maurer a écrit :
> Use KSM.
>
> http://pve.proxmox.com/wiki/KSM
> http://www.linux-kvm.org/page/KSM

Hi,

About KSM and ksmtuned daemon, the installation script 
(/var/lib/dpkg/info/ksm-control-daemon.postinst) specifies the defaults 
runlevel 2345 (update-rc.d ksmtuned defaults 21), but in the header of 
the startup script (/etc/init.d/ksmtuned) runlevel 2 is forgotten :

# chkconfig: 345 85 15
# description: The KSM tuning daemon controls whether ...
# processname: ksmtuned
# config: /etc/ksmtuned.conf
# pidfile: /var/run/ksmtuned.pid
#
### BEGIN INIT INFO
# Provides: ksmtuned
# Required-Start:
# Required-Stop:
# Should-Start:
# Default-Start: 3 4 5
# Default-Stop: 0 1 6


Most of the Debian system operates a level 2, in this case during the 
package installation runlevel 2 is not taken into account and ksmtuned 
is not running.

$ sudo update-rc.d ksmtuned defaults 21
update-rc.d: using dependency based boot sequencing
update-rc.d: warning: ksmtuned start runlevel arguments (2 3 4 5) do not 
match LSB Default-Start values (3 4 5)

Tested with sysv-rc 2.88dsf-13.1


Regards.
-- 
==============================================
|              FRÉDÉRIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:frederic at juliana-multimedia.com   |
===========================Debian=GNU/Linux===



More information about the pve-user mailing list