zulip/servers/puppet/modules
Michael McCanna 0e77082873 [manual] Bump Nginx buffers, don't use fastcgi temp files
Nginx's fastcgi buffers default to 8 pages (32KB). I've bumped it to 4MB,
as queries like get_old_messages take something like 130KB, and was
being ferried off to disk. In case this change to the buffers parameters isn't
enough, we explicitly set the maximum temporary file size to 0; if the fastcgi
request goes over the buffers allocated, the request will be handled synchronously,
and never go out to disk on nginx's fastcgi requests.

The manual step that must be done is to apply changes to /etc/nginx/humbug-include/app
from servers/puppet/modules/humbug/files/nginx/humbug-include/app.
The nginx process can be reloaded with `/etc/init.d/nginx restart`.
This must be done for both staging and prod.

(imported from commit 99c1bd6989c54b7e230b7c04f2fdf09be7423352)
2013-05-28 18:13:45 -04:00
..
humbug [manual] Bump Nginx buffers, don't use fastcgi temp files 2013-05-28 18:13:45 -04:00
puppet-apt puppet-apt: Make priorities configurable. 2012-09-20 17:00:24 -04:00
puppet-common puppet: Make common::line use absolute paths 2013-02-08 16:05:51 -05:00
apt Move our server configuration into puppet. 2012-09-20 17:00:24 -04:00
common Move our server configuration into puppet. 2012-09-20 17:00:24 -04:00