Commit graph

38 commits

Author SHA1 Message Date
Mononaut
d236f7569c
[SSR] add ssr warm cache script 2026-01-15 10:24:21 +00:00
Felipe Knorr Kuhn
89081171d3
Bump node to v24.13 2026-01-13 14:20:20 -08:00
wiz
dab68bc73d
ops: Tweak SSR daemon start loop 2025-12-24 18:34:06 +09:00
wiz
51c525b029
ops: Remove duplicate $site print in start script
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-23 22:46:05 +09:00
wiz
412c9c2f02
ops: Remove unfurler daemon from install/build/start 2025-12-23 22:37:20 +09:00
Mononaut
a7156b24b2
more dashboards 2025-06-12 00:34:12 +00:00
Mononaut
69f9aa6b34
update custom dashboard configs 2025-04-29 14:05:09 +00:00
wiz
c63bb0b6ab
Merge branch 'master' into orangesurf/20241217 2025-04-06 21:59:44 +09:00
wiz
1790c83bab
ops: Bump NodeJS to v22 for install and start scripts 2025-04-02 20:08:09 +09:00
orangesurf
c491560ad9
check in new resources 2025-04-02 08:10:46 +00:00
wiz
90bb5304ef
ops: Only build backends that actually exist 2024-12-13 09:53:51 +09:00
Mononaut
59cefc2b4b
update unfurler and build config 2024-12-09 09:05:18 +01:00
wiz
13405b4494
ops: Start metaplanet unfurler process 2024-12-09 15:30:37 +09:00
wiz
f80c99576b
ops: Update prod scripts for testnet4 2024-05-07 01:01:09 +09:00
wiz
f9948055e4
ops: Update build/unfurler stuff for onbtc 2024-04-29 17:12:51 +09:00
wiz
83dbae3a70
Merge pull request #4786 from mempool/simon/remove-bisq
Removing Bisq
2024-04-02 15:06:23 +09:00
wiz
ce057bad20
ops: Bump NodeJS to v20.12.0 in start script 2024-04-02 14:58:55 +09:00
wiz
8bec0cacdb
ops: Remove bisq from start script 2024-04-02 14:58:21 +09:00
wiz
5a7a78cddc
ops: Add new nginx hot cacher 2024-01-26 10:40:21 -05:00
wiz
72fdcb749f
Bump NodeJS version to v20.7.0 2023-09-27 14:23:07 +09:00
wiz
0fde6dd908
ops: Bump prod NodeJS version to v20.5.1 2023-08-25 23:34:50 +09:00
wiz
2c9e20dd87
ops: Always start xorg for unfurler even if no GPU detected 2023-08-17 18:38:17 +09:00
wiz
fa48c6f025
ops: Use NodeJS v18 to build, v20 to run backend 2023-07-18 08:52:51 +09:00
wiz
0b4f17c129
Add unfurler configs for 3 sites 2022-08-30 11:28:25 +02:00
wiz
73bf52dc58
Use mainnet repo for nginx cache warmer script 2022-08-29 10:58:07 +02:00
wiz
8ec61dd603
Update ops scripts for unfurler and cache warmer 2022-08-28 14:00:20 +02:00
wiz
bb74a25adc
Merge pull request #1977 from Emzy/ops/fix-shebang-scripts
Disable confirmation prompt for rust and change shebang in scripts to be universal for prod install
2022-07-06 18:51:18 +02:00
wiz
fa92ba4478
Refactor nginx.conf and other ops scripts for lightning 2022-07-06 17:13:09 +02:00
Stephan Oeste
4a6f3e189d
Change shebang in scripts to be universal for prod install 2022-07-06 12:11:13 +02:00
wiz
96e8f45e5b
Add support for liquidtestnet in production backend and nginx 2021-12-28 15:20:11 +09:00
wiz
6a7d5fbe6a
Don't start production instances if backend folder doesn't exist 2021-02-25 02:38:38 +09:00
wiz
7d858a8abd
Modify production startup scripts to support signet 2021-02-21 03:44:33 +09:00
wiz
befb192651
Reduce backend heap size setting to 2G since cache memory usage was optimized (#345)
On powerful servers, nodejs automatically sets the limit at 4GB
```
% node -e 'console.log(`node heap limit = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'
node heap limit = 4144 Mb
```

On a Raspberry Pi with 8GB RAM, nodejs automatically sets the limit at 1GB
```
% node -e 'console.log(`node heap limit = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'
node heap limit = 1048 Mb
```

On a Raspberry Pi with 4GB RAM, nodejs automatically sets the limit at 740MB
```
% node -e 'console.log(`node heap limit = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'
node heap limit = 739.4694900512695 Mb
```

After testing with manually setting the limit to 768MB, mempool starts
up fine, but crashes when saving the cache when the mempool is quite
large (over 400MB with custom bitcoin.conf setting).

So it's probably safe to reduce the 4GB limit setting to 2GB for
all devices and and just use the automatically set values, now that the
backend's disk cache memory usage was recently optimized.

However, a new npm script for `npm run start-production` will be added
so we can keep our production mempool.space servers running with a very
large bitcoin.conf mempool
2021-02-14 22:25:29 +07:00
wiz
91815072d5
Update production scripts to install/load NodeJS/npm using nvm 2020-09-18 21:53:58 +09:00
wiz
6ded0f54c4
Add production 4th instance for bisq backend 2020-07-24 21:53:57 +09:00
wiz
b9d9875e98
Remove duplicate npm install and build steps in production scripts 2020-05-26 21:52:50 +09:00
wiz
01ac06b096
Fix start/upgrade scripts to properly restart the backend processes 2020-05-26 13:23:55 +09:00
wiz
003361befb
Update misc files used for mempool.space production website 2020-05-25 18:42:00 +09:00