Skip to content

Commit ccd29f6

Browse files
Tune pursuit.service for the smaller droplet
1 parent c0693ea commit ccd29f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deploy/pursuit.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Description=Web service for hosting of PureScript API documentation
44
[Service]
55
Type=simple
66
User=www-data
7-
# The server has 2 vCPUs, 4GB of RAM and 4GB of swap. The heap limit needs to
7+
# The server has 2 vCPUs, 2GB of RAM and 4GB of swap. The heap limit needs to
88
# leave room for nginx and the rest of the system; spikes above physical RAM
99
# are absorbed by swap, and the RTS runs out of heap before the kernel's OOM
1010
# killer would step in.
11-
ExecStart=/usr/local/bin/pursuit +RTS -N2 -A64m -M3400m -RTS
11+
ExecStart=/usr/local/bin/pursuit +RTS -N2 -A32m -M1700m -RTS
1212
Restart=always
1313
RestartSec=5s
1414
Environment="PURSUIT_APPROOT=https://pursuit.purescript.org"

0 commit comments

Comments
 (0)