I have setup ERPNext for production but when I use bench start
I am getting the following:
13:41:22 system | redis_cache.1 started (pid=2403)
13:41:22 system | web.1 started (pid=2408)
13:41:22 system | redis_queue.1 started (pid=2405)
13:41:22 system | worker.1 started (pid=2421)
13:41:22 redis_cache.1 | 2409:C 02 Dec 2023 13:41:22.053 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
13:41:22 redis_queue.1 | 2415:C 02 Dec 2023 13:41:22.053 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
13:41:22 redis_cache.1 | 2409:C 02 Dec 2023 13:41:22.053 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=2409, just started
13:41:22 redis_queue.1 | 2415:C 02 Dec 2023 13:41:22.053 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=2415, just started
13:41:22 redis_queue.1 | 2415:C 02 Dec 2023 13:41:22.053 # Configuration loaded
13:41:22 redis_cache.1 | 2409:C 02 Dec 2023 13:41:22.053 # Configuration loaded
13:41:22 redis_queue.1 | 2415:M 02 Dec 2023 13:41:22.054 * Increased maximum number of open files to 10032 (it was originally set to 1024).
13:41:22 system | schedule.1 started (pid=2417)
13:41:22 system | socketio.1 started (pid=2411)
13:41:22 redis_cache.1 | 2409:M 02 Dec 2023 13:41:22.055 * Increased maximum number of open files to 10032 (it was originally set to 1024).
13:41:22 redis_queue.1 | 2415:M 02 Dec 2023 13:41:22.056 * Running mode=standalone, port=11000.
13:41:22 redis_cache.1 | 2409:M 02 Dec 2023 13:41:22.056 * Running mode=standalone, port=13000.
13:41:22 redis_queue.1 | 2415:M 02 Dec 2023 13:41:22.057 # Server initialized
13:41:22 redis_queue.1 | 2415:M 02 Dec 2023 13:41:22.057 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
13:41:22 redis_cache.1 | 2409:M 02 Dec 2023 13:41:22.057 # Server initialized
13:41:22 redis_queue.1 | 2415:M 02 Dec 2023 13:41:22.057 * Ready to accept connections
13:41:22 redis_cache.1 | 2409:M 02 Dec 2023 13:41:22.057 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
13:41:22 redis_cache.1 | 2409:M 02 Dec 2023 13:41:22.058 * Ready to accept connections
13:41:22 system | watch.1 started (pid=2414)
13:41:22 socketio.1 | Realtime service listening on: 9000
13:41:24 watch.1 |
13:41:25 watch.1 | yarn run v1.22.19
13:41:25 watch.1 | $ node esbuild --watch --live-reload
13:41:25 web.1 | WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
Here the log output that concerns me is:
13:41:22 redis_queue.1 | 2415:M 02 Dec 2023 13:41:22.057 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
Do I have to do this?
Another one is:
13:41:25 web.1 | WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
How to solve this Warning? Will it affect performance of ERPNext under heavy usage?