Can not issue even a simple command with 1 event. System has already configured with large enough open file numbers limitation:
open files (-n) 252835
Why this tool need so much open files? In the mean time, there should be a workload running there, maybe already taken a lot of open file quotation.
$ AMDuProfCLI collect -e event=pmcx76,interval=250000 -o /tmp -d 30 -p 7861
ERROR : The driver failed to start profiling. (error code 0x8000ffff)
Maximum number of open file descriptors reached. Try with reduced number of events
or, increase the limit with 'ulimit -n <limit>'.
Solved! Go to Solution.
Also this error:
$ AMDuProfCLI collect --config inst_access -o ./cpuprof-inst_access/ -d 10 -a
ERROR : Output Directory (./cpuprof-inst_access/AMDuProf-SWP-EBP_Aug-09-2022_04-25-54/) does not exist.
Directory ./cpuprof-inst_access had already been created since the tool can not do it. But how can the user 'estimates' what directory will the tool needs?