Deletion from ST12, typically, deletes files from DB but not from OS level.
The run time analysis files(trace files) are written as per parameter abap/atrapath. In our case, there were more than 10k files, which was not allowing to create a new file.
So, the fix was to move them to a different location.