1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-30 00:18:21 +01:00
phorge-phorge/src/docs/user/configuration
epriestley 686c02d54a Add a "memory.hint" parameter to Aphlict
Summary:
Ref T10696. By default, `node` uses 1.5GB, which is enormous overkill for this service and can crowd out other services if it's running next to things like a database on the same host.

Provide a configuration option to adjust it via `--max-old-space-size` and default to 256MB. It only seems to need about 30M locally, so this should be plenty of headroom.

Test Plan:
Ran `bin/aphlict debug`, things seemed OK.

It takes a long time (days?) to grow to 1.5GB so I can't easily test this locally without a lot of work, but I'll keep an eye on it in production.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10696

Differential Revision: https://secure.phabricator.com/D15720
2016-04-15 07:14:45 -07:00
..
advanced_configuration.diviner Write 500 words on how to restart webservers 2015-12-02 09:16:10 -08:00
configuration_guide.diviner Change monospace text formatting 2015-05-31 10:07:45 +10:00
configuration_locked.diviner Make hidden and locked configuration even more explicit 2016-01-28 08:18:24 -08:00
configuring_accounts_and_registration.diviner Docs - expand documentation on custom fields for selects a bit 2014-08-06 14:18:32 -07:00
configuring_backups.diviner Document that hosted repositories should be backed up 2016-01-05 14:03:20 -08:00
configuring_file_domain.diviner Update configuring_file_domain.diviner's cloudflare link 2015-09-29 03:35:59 -07:00
configuring_file_storage.diviner Minor documentation improvement 2015-05-05 20:19:27 +10:00
configuring_inbound_email.diviner Remove all application-specific reply handler domains 2015-03-31 16:48:40 -07:00
configuring_outbound_email.diviner Add amazon-ses.endpoint configuration 2016-03-23 12:28:59 -07:00
configuring_preamble.diviner Rate limit requests by IP 2014-04-08 18:36:21 -07:00
custom_fields.diviner Support "template objects" generically in EditEngine 2015-12-07 13:44:07 -08:00
managing_caches.diviner Improve pygments.enabled discussion 2014-12-29 16:15:48 -08:00
managing_daemons.diviner Clean up some old cluster-ish documentation 2016-04-12 19:14:08 -07:00
managing_garbage.diviner Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
notifications.diviner Add a "memory.hint" parameter to Aphlict 2016-04-15 07:14:45 -07:00
storage_adjust.diviner Improve messaging and documentation around surplus schemata 2014-12-29 10:58:46 -08:00
troubleshooting_https.diviner Remove duplicate duplicate words which are not requires 2015-06-23 17:26:14 -07:00