Based on the error message your OS runs into the file handler limitation so you would either need to close files (unsure, if Tensorboard opens files without closing them) or could try to increase the file handle limitation.
PS: you can post code snippets or logs by wrapping them into three backticks ```, which makes debugging easier.