Browse files

Add comment about numprocs

  • Loading branch information...
1 parent 97e1b04 commit 8ad055457646929c0e8f48aaf20d98f054b1787b @bdarnell committed Feb 22, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 production/chat.supervisor
View
3 production/chat.supervisor
@@ -6,5 +6,8 @@ environment = PYTHONPATH="%(here)s/apps/tornado-production-skeleton/current"
command = python -m chat.chatdemo
--port=%(process_num)s
--log_file_prefix=%(here)s/logs/%(program_name)s-%(process_num)s.log
+# Increase numprocs to run multiple processes on different ports.
+# Note that the chat demo won't actually work in that configuration
+# because it assumes all listeners are in one process.
numprocs = 1
numprocs_start = 8000

0 comments on commit 8ad0554

Please sign in to comment.