Open Calatravo opened 1 year ago
how many hours you run it until facing this problem? i never run it in many hours. Maybe because the .json file is too big to open?
About 10 hours. I modified it so i can connect to mysql to retrieve a text, split into sentences and send it to the tts so the avatar is allways speaking if there is no comments in the chat. That multiplies the open files i think.
I made a modification to close the open files each time and im running the program again. I will tell you if the fix works and if it does i can make a pull request if you want.
sure, please make a pull request if its work
When it runs for some hours it reaches the max file opens and throw an error.
Error printing text: open file failed because of errno 24 on fopen: Too many open files.