cancel
Showing results for 
Search instead for 
Did you mean: 

Server Gurus Discussions

honglizh
Staff

AMDuProfCLI fails with error code 0x8000ffff collecting only 1 event: -e event=pmcx76

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
/opt/AMDuProf_3.5-671/bin/AMDuProfCLI
ERROR : The driver failed to start profiling. (error code 0x8000ffff)

Reasons:
Maximum number of open file descriptors reached. Try with reduced number of events
or, increase the limit with 'ulimit -n <limit>'.

0 Likes
1 Solution

Can you try with latest uProf release 3.6 ?

View solution in original post

0 Likes
2 Replies
honglizh
Staff

Also this error:

$ AMDuProfCLI collect --config inst_access -o ./cpuprof-inst_access/ -d 10 -a
/opt/AMDuProf_3.5-671/bin/AMDuProfCLI
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? 

0 Likes

Can you try with latest uProf release 3.6 ?

0 Likes