             usage.memory = usage.memory / (resources_usage_list.length * config.plugins.linux.monitor_cycle * 1000)
 
           app.redis.setex REDIS_OVERVIEW, 60, JSON.stringify(account_usage), ->
-            async.each _.keys(account_usage), (account_name) ->
+            async.each _.keys(account_usage), (account_name, callback) ->
               mAccount.byUsername account_name, (err, account) ->
+                unless account
+                  return callback()
+
                 if account_usage[account_name].cpu > account.attribute.resources_limit.cpu
-                  child_process.exec "pkill -SIGKILL -u #{account_name}", ->
+                  child_process.exec "sudo pkill -SIGKILL -u #{account_name}", ->
 
                 if account_usage[account_name].memory > account.attribute.resources_limit.memory
-                  child_process.exec "pkill -SIGKILL -u #{account_name}", ->
+                  child_process.exec "sudo pkill -SIGKILL -u #{account_name}", ->
 
                 callback()
             , ->

  callback null, total_time

exports.monitoringMemory = (plist, callback) ->
  total_memory = 0

  addMemory = (account_name, menory) ->
    if total_memory[account_name]

      total_memory[account_name] = menory

  for item in plist
    addMemory item.user, parseInt ((item.rss / 1024) * config.plugins.linux.monitor_cycle / 1000).toFixed()

  callback null, total_memory
