<commit_before>namespace :memcache do 
  
  desc "Start Memcached"
  task :start do
    sudo "memcached -d -m #{memcache_memory} -l #{memcache_ip} -p #{memcache_port}"
  end
  
  desc "Stop Memcached using killall"
  task :stop do
    sudo "killall memcached; echo 0"
  end
  
  desc "Restart Memcached"
  task :restart do 
    stop
    start
  end
  <commit_msg>use init script to restart memcached<commit_after>namespace :memcache do 
  
  desc "Start Memcached"
  task :start, :roles => :cache do
    sudo "/etc/init.d/memcached start"
    #sudo "memcached -d -m #{memcache_memory} -l #{memcache_ip} -p #{memcache_port}"
  end
  
  desc "Stop Memcached using killall"
  task :stop, :roles => :cache do
    sudo "/etc/init.d/memcached stop"
    #sudo "killall memcached; echo 0"
  end
  
  desc "Restart Memcached"
  task :restart, :roles => :cache do 
    stop
    start
  end
  
{'fraction_non_alphanumeric': 0.10317460317460317, 'fraction_numerical': 0.0022675736961451248, 'mean_word_length': 2.9596412556053813, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3497528', 'n_tokens_mistral': 324, 'n_tokens_neox': 311, 'n_words': 101}