Some questions about ROS Services

Hello everyone, I use ros to call my python server, open a file in the server, and then while to read it, but over time, it will report an error of too many open file. But if I didn"t start with the ros service, I simply started the python server myself, and this error would not have occurred. Not only that, after starting the ros service, my disk space was constantly consumed, but when it was closed, the disk space returned to its original state. Thank you for any reason.

May.19,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30a0f-2bd23.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30a0f-2bd23.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?