Bench unexpectedly closed

while creating a doctype , bench is closed automatically.

Can you post the full traceback of the console ?

Also, did you make any local changes to any file ?

yes i changed something and the full console is

/ErpNext/frappe-bench$ bench start
17:43:55 system | redis_socketio.1 started (pid=4667)
17:43:55 redis_socketio.1 | 4674:M 09 May 17:43:55.481 * Increased maximum number of open files to 10032 (it was originally set to 1024).
17:43:55 redis_socketio.1 | 4674:M 09 May 17:43:55.482 # Creating Server TCP listening socket 127.0.0.1:12000: bind: Address already in use
17:43:55 system | redis_socketio.1 stopped (rc=1)
17:43:55 system | redis_queue.1 started (pid=4677)
17:43:55 redis_queue.1 | 4681:M 09 May 17:43:55.483 * Increased maximum number of open files to 10032 (it was originally set to 1024).
17:43:55 redis_queue.1 | 4681:M 09 May 17:43:55.483 # Creating Server TCP listening socket 127.0.0.1:11000: bind: Address already in use
17:43:55 system | redis_queue.1 stopped (rc=1)
17:43:55 system | worker_long.1 started (pid=4669)
17:43:55 system | web.1 started (pid=4680)
17:43:55 system | watch.1 started (pid=4672)
17:43:55 system | schedule.1 started (pid=4679)
17:43:55 system | worker_default.1 started (pid=4683)
17:43:55 system | redis_cache.1 started (pid=4693)
17:43:55 redis_cache.1 | 4696:M 09 May 17:43:55.510 * Increased maximum number of open files to 10032 (it was originally set to 1024).
17:43:55 redis_cache.1 | 4696:M 09 May 17:43:55.511 # Creating Server TCP listening socket 127.0.0.1:13000: bind: Address already in use
17:43:55 system | redis_cache.1 stopped (rc=1)
17:43:55 system | socketio.1 started (pid=4698)
17:43:55 system | worker_short.1 started (pid=4695)
17:43:55 system | sending SIGTERM to worker_long.1 (pid 4669)
17:43:55 system | sending SIGTERM to watch.1 (pid 4672)
17:43:55 system | sending SIGTERM to web.1 (pid 4680)
17:43:55 system | sending SIGTERM to schedule.1 (pid 4679)
17:43:55 system | sending SIGTERM to worker_default.1 (pid 4683)
17:43:55 system | sending SIGTERM to socketio.1 (pid 4698)
17:43:55 system | sending SIGTERM to worker_short.1 (pid 4695)
17:43:55 system | worker_long.1 stopped (rc=-15)
17:43:55 system | worker_short.1 stopped (rc=-15)
17:43:55 system | worker_default.1 stopped (rc=-15)
17:43:55 system | watch.1 stopped (rc=-15)
17:43:55 system | web.1 stopped (rc=-15)
17:43:55 system | socketio.1 stopped (rc=-15)
17:43:55 system | schedule.1 stopped (rc=-15)

@rameshprasathag, Try to undo what you did and then check if its still not starting.