A significant delay observed between the syscalls entry point and start of the syscall when running `ls -Ri`

Solution Verified - Updated -

Issue

  • ls -Ri takes too long to finish.
  • ls -Ri takes 20 to 60 times longer than in the fast machines
Slow # time ls -Ri /path/to/dir >/dev/null
real    0m2.715s
user    0m0.039s
sys     0m2.663s

Fast # time ls -Ri /path/to/dir >/dev/null
real    0m0.094s
user    0m0.023s
sys     0m0.070s
  • When analyzing traces we saw that in the slow machines there is a significant delay between the syscalls entry point and the start of the syscall:
xxxx-python-663424 [077] 5937352.986718: sys_enter_newlstat:   filename: 0x7f8f00392b40, statbuf: 0x7fff7d8e04d0
xxxx-python-663424 [077] 5937352.986844: funcgraph_entry:                   |  __x64_sys_newlstat() {
  • While in the fast machines there is none:
xxxx-python-768887 [027] 5939143.807240: sys_enter_newlstat:   filename: 0x7f42a29d4b90, statbuf: 0x7ffd70340c50                                                                                                                   
xxxx-python-768887 [027] 5939143.807241: funcgraph_entry:                   |  __x64_sys_newlstat() {    

Environment

  • Red Hat Enterprise Linux 8.10.z
  • Symantec Endpoint Protection Linux Agent

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content