Error with starting bench

i am not able to start bench using bench start command here is my output:

[erpnext@ws16 frappe-bench]$ bench start 12:42:48 system | workerbeat.1 started (pid=7013) 12:42:48 system | worker.1 started (pid=7016) 12:42:48 system | web.1 started (pid=7017) 12:42:48 system | redis_async_broker.1 started (pid=7022) 12:42:48 redis_async_broker.1 | 7022:M 09 Dec 12:42:48.618 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. 12:42:48 redis_async_broker.1 | 7022:M 09 Dec 12:42:48.618 # Redis can't set maximum open files to 10032 because of OS error: Operation not permitted. 12:42:48 redis_async_broker.1 | 7022:M 09 Dec 12:42:48.618 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. 12:42:48 redis_async_broker.1 | 7022:M 09 Dec 12:42:48.618 # Creating Server TCP listening socket *:12311: bind: Address already in use 12:42:48 system | redis_async_broker.1 stopped (rc=1) 12:42:48 system | socketio.1 started (pid=7025) 12:42:48 system | redis_cache.1 started (pid=7023) 12:42:48 system | sending SIGTERM to workerbeat.1 (pid 7013) 12:42:48 system | sending SIGTERM to worker.1 (pid 7016) 12:42:48 system | sending SIGTERM to web.1 (pid 7017) 12:42:48 system | sending SIGTERM to socketio.1 (pid 7025) 12:42:48 system | sending SIGTERM to redis_cache.1 (pid 7023) 12:42:48 redis_cache.1 | 7023:M 09 Dec 12:42:48.619 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. 12:42:48 redis_cache.1 | 7023:M 09 Dec 12:42:48.619 # Redis can't set maximum open files to 10032 because of OS error: Operation not permitted. 12:42:48 redis_cache.1 | 7023:M 09 Dec 12:42:48.619 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. 12:42:48 redis_cache.1 | 7023:M 09 Dec 12:42:48.619 # Creating Server TCP listening socket *:11311: bind: Address already in use 12:42:48 system | redis_cache.1 stopped (rc=1) 12:42:48 system | workerbeat.1 stopped (rc=-15) 12:42:48 system | socketio.1 stopped (rc=-15) 12:42:48 system | worker.1 stopped (rc=-15) 12:42:48 system | web.1 stopped (rc=-15)
what can be the problem. i cant increase my ulimit .

regards.

Hi @ninjas005
please use the following command
1.bench serve --port 9000
2.bench start

Sagar D. Shiragawakar.
New Indictrans Technologies Pvt. Ltd

you already have a redis running on 12311

Remove the redis_async_broker line from your frappe-bench/Procfile

1 Like