Multi Bench Setup - Scheduler not running properly

Hello,

I am doing multi bench setup as follows.

Workspace -

  1. ERPNext1
    *bench
    *frappe-bench

  2. ERPNext2
    *bench
    *frappe-bench

After doing this, we setup supervisor and nginx (refer https://frappe.github.io/frappe/user/en/bench/guides/setup-production)
We have separate process name for each bench and separate port (8001, 8002)

We are facing issue in email sending and dropbox backup as scheduler not running properly.

Should we need to do something extra to work two bench properly.

Edit:
No Trace on server, on background worker we are seeing this message “Work-horse proccess was terminated unexpectedly”

Hi, have you found the solution?

@NMyshuk Issue will not occur on RAM 4GB+ server. its fixed by increasing RAM size and allocating separate port to each process of bench instance.

Please check Multiple Bench Instance - #15 by revant_one