forked from saleor/saleor
-
Notifications
You must be signed in to change notification settings - Fork 8
Gunicorn
Chetabahana edited this page May 29, 2019
·
30 revisions
instance_class: F2
entrypoint: gunicorn -b :$PORT saleor.wsgi --timeout 120
automatic_scaling:
max_instances: 1
2019-04-10 05:14:39.799 ICT
While handling this request, the process that handled this request was found to be using
too much memory and was terminated. This is likely to cause a new process to be used for
the next request to your application. If you see this message frequently, you may have a
memory leak in your application or may be using an instance with insufficient memory.
Consider setting a larger instance class in app.yaml.
2019-04-10 05:14:39.798 ICT
Exceeded soft memory limit of 256 MB with 312 MB after servicing 88 requests total.
Consider setting a larger instance class in app.yaml.
opsi
entrypoint: gunicorn -b :$PORT saleor.wsgi --timeout 120 --threads 2 --log-level debug
--worker-class gthread --workers $((2 * $(getconf _NPROCESSORS_ONLN) + 1))
- https://gunicorn.org/
- https://pypi.org/project/gunicorn/
- https://github.com/benoitc/gunicorn
- http://docs.gunicorn.org/en/stable/run.html
- https://blog.gevent.org/2010/02/27/why-gevent/
- http://rahmonov.me/posts/run-a-django-app-with-gunicorn-in-ubuntu-16-04/
- Benchmark uWSGI vs gunicorn for async workers
This documentation is mapped under Mapping and licensed under Apache License, Version 2.0.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright (c) 2018-2020 Chetabahana Project
You are on the wiki of our repo
- Site
- Main
- Project
- Pratinjau
- Pola Dasar
- Bagan Kerja
- Field Tutorial
- Cloud Site API
- Google Ads API
- Cloud Tasks API
- Google Trends API
- Basis Implementasi
- Beranda
- Perangkat
- Pasang Aplikasi
- Penyetelan Aplikasi
- Menyiapkan Frontend
- Menjalankan Backend API
- Menjalankan Toko