Lock node daemon in memory
authorLuca Bigliardi <shammash@google.com>
Thu, 6 May 2010 14:58:52 +0000 (15:58 +0100)
committerLuca Bigliardi <shammash@google.com>
Thu, 13 May 2010 13:31:44 +0000 (14:31 +0100)
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>

daemons/ganeti-noded

index 97feb39..8121041 100755 (executable)
@@ -833,6 +833,8 @@ def ExecNoded(options, _):
   """Main node daemon function, executed with the PID file held.
 
   """
+  utils.Mlockall()
+
   # Read SSL certificate
   if options.ssl:
     ssl_params = http.HttpSslParams(ssl_key_path=options.ssl_key,