Skip to content

Commit

Permalink
Set 8GB shared memory for synaptor workers
Browse files Browse the repository at this point in the history
Fix errors like: sqlalchemy.exc.OperationalError: (psycopg2.errors.DiskFull)
could not resize shared memory segment...
  • Loading branch information
ranlu committed Jul 2, 2024
1 parent d30f9ed commit fc4beb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dags/synaptor_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ def synaptor_op(
on_retry_callback=task_retry_alert,
queue=op_queue_name,
dag=dag,
shm_size=8*2**30,
# qos='quality of service'
# this turns of a 5-minute failure timer that can kill nodes between
# task waves or during database tasks
Expand Down

0 comments on commit fc4beb3

Please sign in to comment.