AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  statx processing

    Posted Tue October 26, 2010 10:16 PM

    Originally posted by: jsol


    guys, I am debugging an application which sucks up more CPU than anything else. after truss the process couple of time, I found that within 1.1million entries in the truss output, over 900,000 of them are statx(...) followed by file not found error. has anyone seens this before, this many statx calls causing the unnecessary load?

    thanks
    #AIX-Forum


  • 2.  Re: statx processing

    Posted Wed October 27, 2010 09:49 AM

    Originally posted by: SystemAdmin


    you can easily write a simple program that continuously statx'es nonexisting files and compare the workload to the app.

    but anyway, ask the app developers. they know better than this forum's readers.
    #AIX-Forum


  • 3.  Re: statx processing

    Posted Thu October 28, 2010 03:41 AM

    Originally posted by: Kosala


    Yeah, I've seen this with WebSphere 6.2... a lot. Generally this happens when WAS guys install under root and then change the ownership to something else but forget to change the ownerships under /tmp/ and etc. The simplest way to solve this is by changing the ownership if the file exist or touching the file if doesn't exist where statx is failing.

    Kosala
    #AIX-Forum