Openshift creating too many processes

ps aux | grep "gunicorn" yields this

I have a python application running using gunicorn. I have wrapped it in a docker image and deployed it on openshift. However, the pod either consumes too much memory or crashes with OOM/out of memory error.

On investing, I found out that there are multiple instances of my app being made even if I haven’t specified gunicorn to create multiple workers.

Note: when the same docker image is ran on local machine, it works perfectly fine.

Source: StackOverflow