I’ve managed to deploy my app onto the App platform but when it runs, it now gives me an errno 38 Function not implemented? Looking through the tracestack, this looks related to using multiprocessing pools in my app. Is this not supported by the App platform?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I managed to solve it by ditching the multiprocessing in favor of gevent.
But in my case i was trying to install a Celery worker with prefork pools (which are multitreaded).
I switched from running:
celery -A app worker
to run:
celery -A app worker -P gevent --concurrency=100
Not sure if you can also switch to gevent (or greenlet) and if doing so will benefit you, as gevent isn’t meant for CPU intensive tasks, but is fine in my case because it need it mainly for making a lot of http requests
I got the same error and suspect that multiprocessing is not support at DO Apps. It is a similar limitation as for AWS Lambdas.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.