{"action":"opened","issue":{"url":"https://api.github.com/repos/automl/auto-sklearn/issues/158","repository_url":"https://api.github.com/repos/automl/auto-sklearn","labels_url":"https://api.github.com/repos/automl/auto-sklearn/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/automl/auto-sklearn/issues/158/comments","events_url":"https://api.github.com/repos/automl/auto-sklearn/issues/158/events","html_url":"https://github.com/automl/auto-sklearn/issues/158","id":181247282,"number":158,"title":"Where in the codebase is per_run_time_limit enforced?","user":{"login":"Motorrat","id":11397402,"avatar_url":"https://avatars.githubusercontent.com/u/11397402?v=3","gravatar_id":"","url":"https://api.github.com/users/Motorrat","html_url":"https://github.com/Motorrat","followers_url":"https://api.github.com/users/Motorrat/followers","following_url":"https://api.github.com/users/Motorrat/following{/other_user}","gists_url":"https://api.github.com/users/Motorrat/gists{/gist_id}","starred_url":"https://api.github.com/users/Motorrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Motorrat/subscriptions","organizations_url":"https://api.github.com/users/Motorrat/orgs","repos_url":"https://api.github.com/users/Motorrat/repos","events_url":"https://api.github.com/users/Motorrat/events{/privacy}","received_events_url":"https://api.github.com/users/Motorrat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-05T19:43:50Z","updated_at":"2016-10-05T19:43:50Z","closed_at":null,"body":"I want to let all classifiers from autosklearn.pipeline.components.classification._classifiers to run once on the dataset so I can measure their typical fit time. \r\nSo I call clf.fit(X,y) via multiprocessing and want to kill the fit processes that take longer than max_classifier_time_budget. But some classifiers seem to ignore the TERM signal. So they run for about half an hour or so, even the budget is set to 10 minutes.\r\n\r\n```\r\n        for pr in processes:\r\n            pr.join(max_classifier_time_budget) # will block for max_classifier_time_budget or\r\n            # until the classifier fit process finishes. After max_classifier_time_budget\r\n            # we will terminate all still running processes here.\r\n            if pr.is_alive():\r\n                p(\"terminating \"+pr.name+\" process due to timeout\")\r\n                pr.terminate()\r\n```\r\nHow do you kill the processes that auto-sklearn is starting? Could you point me to the place in your code where you have to stop the classifier after per_run_time_limit? \r\nThanks!\r\n"}}
{"actor":{"display_login":"Motorrat"}}