try and increase askbot threads to see if it will stay up
This commit is contained in:
parent
9ab3668db2
commit
f81190f3bd
3 changed files with 5 additions and 5 deletions
|
@ -7,8 +7,8 @@ num_cpus: 2
|
||||||
tcp_ports: [ 80, 443,
|
tcp_ports: [ 80, 443,
|
||||||
# This port is required by gluster
|
# This port is required by gluster
|
||||||
6996,
|
6996,
|
||||||
# These 8 ports are used by fedmsg. One for each wsgi thread.
|
# These 12 ports are used by fedmsg. One for each wsgi thread.
|
||||||
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007]
|
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007, 3008, 3009, 30010, 3011, 3012]
|
||||||
|
|
||||||
# Neeed for rsync from log01 for logs.
|
# 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' ]
|
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' ]
|
||||||
|
|
|
@ -13,7 +13,7 @@ Alias /admin/media/ /usr/lib/python2.6/site-packages/django/contrib/admin/media/
|
||||||
Allow from all
|
Allow from all
|
||||||
</Directory>
|
</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
|
WSGISocketPrefix run/wsgi
|
||||||
WSGIRestrictStdout On
|
WSGIRestrictStdout On
|
||||||
WSGIRestrictSignal Off
|
WSGIRestrictSignal Off
|
||||||
|
|
|
@ -22,10 +22,10 @@ config = dict(
|
||||||
"tcp://value01.%s:3000" % suffix,
|
"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": [
|
"askbot.ask01": [
|
||||||
"tcp://ask01.%s:30%02i" % (suffix, i)
|
"tcp://ask01.%s:30%02i" % (suffix, i)
|
||||||
for i in range(6)
|
for i in range(12)
|
||||||
],
|
],
|
||||||
|
|
||||||
{% if env != 'staging' %}
|
{% if env != 'staging' %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue