try and increase askbot threads to see if it will stay up

This commit is contained in:
Kevin Fenzi 2016-10-18 20:03:05 +00:00
parent 9ab3668db2
commit f81190f3bd
3 changed files with 5 additions and 5 deletions

View file

@ -7,8 +7,8 @@ num_cpus: 2
tcp_ports: [ 80, 443,
# This port is required by gluster
6996,
# These 8 ports are used by fedmsg. One for each wsgi thread.
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007]
# These 12 ports are used by fedmsg. One for each wsgi thread.
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007, 3008, 3009, 30010, 3011, 3012]
# Neeed for rsync from log01 for logs.
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT' ]

View file

@ -13,7 +13,7 @@ Alias /admin/media/ /usr/lib/python2.6/site-packages/django/contrib/admin/media/
Allow from all
</Directory>
WSGIDaemonProcess askbot user=apache group=apache maximum-requests=1000 display-name=askbot processes=6 threads=1 shutdown-timeout=10 python-path=/etc/askbot/sites/ask
WSGIDaemonProcess askbot user=apache group=apache maximum-requests=1000 display-name=askbot processes=12 threads=1 shutdown-timeout=10 python-path=/etc/askbot/sites/ask
WSGISocketPrefix run/wsgi
WSGIRestrictStdout On
WSGIRestrictSignal Off

View file

@ -22,10 +22,10 @@ config = dict(
"tcp://value01.%s:3000" % suffix,
],
# Askbot runs as 6 processes with 1 thread each.
# Askbot runs as 12 processes with 1 thread each.
"askbot.ask01": [
"tcp://ask01.%s:30%02i" % (suffix, i)
for i in range(6)
for i in range(12)
],
{% if env != 'staging' %}