forked from deeplearningparis/dl-machine
-
Notifications
You must be signed in to change notification settings - Fork 1
/
circus.ini
58 lines (50 loc) · 1.75 KB
/
circus.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# This file is mean to be launched with the following command:
# circusd circus.ini
#
# It should start an ipython notebook server for the ubuntu user
# on port 8888
# You need to open that port in your EC2 Security Group
#
# Furthermore circusd offers a webconsole on port 8080 to monitor
# the resource usage of the managed processes.
[circus]
statsd = True
httpd = True
httpd_host = 0.0.0.0
httpd_port = 8080
[watcher:ipython-notebook]
uid = ubuntu
gid = ubuntu
working_dir = /home/ubuntu
cmd = /home/ubuntu/venv/bin/ipython
args = notebook --ip='*' --port=8888 --browser=none
# Log and rotate output
stdout_stream.class = FileStream
stdout_stream.filename = /home/ubuntu/ipython-out.log
stdout_stream.max_bytes = 1073741824
stdout_stream.backup_count = 5
stderr_stream.class = FileStream
stderr_stream.filename = /home/ubuntu/ipython-err.log
stderr_stream.max_bytes = 1073741824
stderr_stream.backup_count = 5
[env:ipython-notebook]
PATH=/home/ubuntu/venv/bin:/usr/local/cuda-6.5/bin:$PATH
LD_LIBRARY_PATH=/usr/local/cuda-6.5:/usr/local/cuda-6.5/lib64:/opt/OpenBLAS-no-openmp/lib
[watcher:itorch-notebook]
uid = ubuntu
gid = ubuntu
working_dir = /home/ubuntu
cmd = /home/ubuntu/torch/bin/itorch
args = notebook --ip='*' --port=8889 --browser=none
# Log and rotate output
stdout_stream.class = FileStream
stdout_stream.filename = /home/ubuntu/itorch-out.log
stdout_stream.max_bytes = 1073741824
stdout_stream.backup_count = 5
stderr_stream.class = FileStream
stderr_stream.filename = /home/ubuntu/itorch-err.log
stderr_stream.max_bytes = 1073741824
stderr_stream.backup_count = 5
[env:itorch-notebook]
PATH=/home/ubuntu/torch/bin:/home/ubuntu/venv/bin:/usr/local/cuda-6.5/bin:$PATH
LD_LIBRARY_PATH=/usr/local/cuda-6.5:/usr/local/cuda-6.5/lib64:/opt/OpenBLAS/lib:/home/ubuntu/torch/lib