ERP5: new 'private-dev-shm' zope partition option for wendelin.core
Current version of wendelin.core is limited in that there's no cooperation in memory allocation between several processes sharing the same /dev/shm. Over time, the distribution of memory among processes becomes more and more inequal until some of them get killed due to allocation failure. This is a temporary solution that relies on user namespaces.
-
Developer
After this change, when I requested a erp5 instance without the new private-dev-shm parameter, the instantiation failed here: https://lab.nexedi.com/nexedi/slapos/blob/master/stack/erp5/instance-zope.cfg.in#L225, while processing "Installing dynamic-template-zope." for the zope partition, due to: UndefinedError: 'dict object' has no attribute 'private-dev-shm'. As workaround, I requested the instance with the new parameter set in "".
-
Owner
Your workaround makes no sense to me. It looks a coincidence.
-
Owner
An explanation might be that
node instance
considered there was no change (despite the upgrade of SR) and skipped the root partition. And when you changed parameters (no matter how), it forced reinstanciation of the root partition and the new parameter was propagated to the zope partition.If you remove the parameter you added, it would still work.
-
Developer
Yes, probably something like that occurred. I re-requested the instance and it is working fine. Sorry for the inconvenience.