[Groonga-commit] groonga/grntest at ed85ac3 [master] Use TERM signal to stop groonga-httpd instead of shutdown command

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 26 15:28:37 JST 2015


Kouhei Sutou	2015-01-26 15:28:37 +0900 (Mon, 26 Jan 2015)

  New Revision: ed85ac3e336dc54b799c82812558597ceb2edd41
  https://github.com/groonga/grntest/commit/ed85ac3e336dc54b799c82812558597ceb2edd41

  Message:
    Use TERM signal to stop groonga-httpd instead of shutdown command
    
    Because it causes a bit memory leak.

  Modified files:
    lib/grntest/test-runner.rb

  Modified: lib/grntest/test-runner.rb (+1 -1)
===================================================================
--- lib/grntest/test-runner.rb    2015-01-26 14:51:24 +0900 (d032417)
+++ lib/grntest/test-runner.rb    2015-01-26 15:28:37 +0900 (351c5af)
@@ -298,7 +298,7 @@ EOC
           end
           yield(executor)
         ensure
-          executor.shutdown
+          Process.kill(:TERM, pid)
           wait_groonga_http_shutdown(pid_file_path)
         end
       ensure
-------------- next part --------------
HTML����������������������������...
Descargar 



More information about the Groonga-commit mailing list
Back to archive index