{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5317","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5317/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5317/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5317/events","html_url":"https://github.com/tensorflow/tensorflow/issues/5317","id":186449390,"number":5317,"title":"Build - leftover bazel processes after build complete","user":{"login":"edrozenberg","id":2648417,"avatar_url":"https://avatars.githubusercontent.com/u/2648417?v=3","gravatar_id":"","url":"https://api.github.com/users/edrozenberg","html_url":"https://github.com/edrozenberg","followers_url":"https://api.github.com/users/edrozenberg/followers","following_url":"https://api.github.com/users/edrozenberg/following{/other_user}","gists_url":"https://api.github.com/users/edrozenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/edrozenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edrozenberg/subscriptions","organizations_url":"https://api.github.com/users/edrozenberg/orgs","repos_url":"https://api.github.com/users/edrozenberg/repos","events_url":"https://api.github.com/users/edrozenberg/events{/privacy}","received_events_url":"https://api.github.com/users/edrozenberg/received_events","type":"User","site_admin":false},"labels":[{"id":404586594,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20googler","name":"awaiting googler","color":"b60205","default":false},{"id":386191887,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20response","name":"awaiting response","color":"5319e7","default":false},{"id":284443185,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/installation/startup","name":"installation/startup","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-01T02:35:51Z","updated_at":"2016-11-01T17:37:39Z","closed_at":null,"body":"After running a successful build, 2 or 3 bazel processes remain along with many child processes for each one - they don't take up any CPU resources. Have to kill the processes manually to get rid of them.\r\n\r\n### What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?\r\n\r\nNone!\r\n\r\n### Environment info\r\nOperating System:\r\n```Slackware 64 14.2```\r\n\r\nInstalled version of CUDA and cuDNN: \r\n(please attach the output of `ls -l /path/to/cuda/lib/libcud*`):\r\n```\r\nlibcudadevrt.a\r\nlibcudart.so -> libcudart.so.8.0\r\nlibcudart.so.8.0 -> libcudart.so.8.0.44\r\nlibcudart.so.8.0.44\r\nlibcudart_static.a\r\nlibcudnn.so -> libcudnn.so.5\r\nlibcudnn.so.5 -> libcudnn.so.5.1.5\r\nlibcudnn.so.5.1.5\r\nlibcudnn_static.a\r\n```\r\n\r\nIf installed from source, provide \r\n\r\n1. The commit hash (`git rev-parse HEAD`)\r\n```6f7cf60a4158a6d7861dc1b41a6446b575153a2e```\r\n\r\n2. The output of `bazel version`\r\n```\r\nBuild label: 0.3.2- (@non-git)\r\nBuild target: bazel-out/local-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar\r\nBuild time: Sun Oct 16 21:50:19 2016 (1476654619)\r\nBuild timestamp: 1476654619\r\nBuild timestamp as int: 1476654619\r\n```\r\n### If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)\r\n\r\no Configure with GPU support and run a standard build.\r\n\r\n### Logs or other output that would be helpful\r\n(If logs are large, please upload as attachment or provide link).\r\n\r\n```\r\nps aux | grep bazel\r\n```\r\n```\r\nroot     21080  0.5  0.3 50920612 649256 ?     Ssl  19:00   0:09 bazel(tensorflow) -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/root/.cache/bazel/_bazel_root/d63fa4ac02658c8e5f9c2e0f1f523a93 -Xverify:none -Djava.util.logging.config.file=/root/.cache/bazel/_bazel_root/d63fa4ac02658c8e5f9c2e0f1f523a93/javalog.properties -Djava.library.path=/root/.cache/bazel/_bazel_root/install/26cccb4705ab94af88df4f6dfb1e20c4/_embedded_binaries/ -Dfile.encoding=ISO-8859-1 -jar /root/.cache/bazel/_bazel_root/install/26cccb4705ab94af88df4f6dfb1e20c4/_embedded_binaries/A-server.jar --max_idle_secs 10800 --install_base=/root/.cache/bazel/_bazel_root/install/26cccb4705ab94af88df4f6dfb1e20c4 --install_md5=26cccb4705ab94af88df4f6dfb1e20c4 --output_base=/root/.cache/bazel/_bazel_root/d63fa4ac02658c8e5f9c2e0f1f523a93 --workspace_directory=/usr/local/src/tensorflow/tensorflow-git --deep_execroot --experimental_oom_more_eagerly_threshold=100 --nofatal_event_bus_exceptions --product_name=Bazel --option_sources=\r\nroot     23518 10.0  1.1 51042312 2339964 ?    Ssl  19:03   2:31 bazel(tensorflow) -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/root/.cache/bazel/_bazel_root/d63fa4ac02658c8e5f9c2e0f1f523a93 -Xverify:none -Djava.util.logging.config.file=/root/.cache/bazel/_bazel_root/d63fa4ac02658c8e5f9c2e0f1f523a93/javalog.properties -Djava.library.path=/root/.cache/bazel/_bazel_root/install/26cccb4705ab94af88df4f6dfb1e20c4/_embedded_binaries/ -Dfile.encoding=ISO-8859-1 -jar /root/.cache/bazel/_bazel_root/install/26cccb4705ab94af88df4f6dfb1e20c4/_embedded_binaries/A-server.jar --max_idle_secs 10800 --install_base=/root/.cache/bazel/_bazel_root/install/26cccb4705ab94af88df4f6dfb1e20c4 --install_md5=26cccb4705ab94af88df4f6dfb1e20c4 --output_base=/root/.cache/bazel/_bazel_root/d63fa4ac02658c8e5f9c2e0f1f523a93 --workspace_directory=/usr/local/src/tensorflow/tensorflow-git --deep_execroot --experimental_oom_more_eagerly_threshold=100 --nofatal_event_bus_exceptions --product_name=Bazel --option_sources=\r\n```"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/257635144","html_url":"https://github.com/tensorflow/tensorflow/issues/5317#issuecomment-257635144","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5317","id":257635144,"user":{"login":"edrozenberg","id":2648417,"avatar_url":"https://avatars.githubusercontent.com/u/2648417?v=3","gravatar_id":"","url":"https://api.github.com/users/edrozenberg","html_url":"https://github.com/edrozenberg","followers_url":"https://api.github.com/users/edrozenberg/followers","following_url":"https://api.github.com/users/edrozenberg/following{/other_user}","gists_url":"https://api.github.com/users/edrozenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/edrozenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edrozenberg/subscriptions","organizations_url":"https://api.github.com/users/edrozenberg/orgs","repos_url":"https://api.github.com/users/edrozenberg/repos","events_url":"https://api.github.com/users/edrozenberg/events{/privacy}","received_events_url":"https://api.github.com/users/edrozenberg/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T17:37:39Z","updated_at":"2016-11-01T17:37:39Z","body":"Thanks for following up - as a workaround I'm currently doing ```pkill -f \"bazel\\(tensorflow\\)\"``` after each build. Also I'm deleting /root/.cache/bazel/_bazel_root/ after the build since on most Linux systems the root partition is quite small and these gigabyte+ caches are going to fill up /root rather quickly."}}
{"actor":{"display_login":"edrozenberg"}}