AIX

AIX

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

 View Only

AIX 7.1 - Process/Thread Suspend Mode

  • 1.  AIX 7.1 - Process/Thread Suspend Mode

    Posted Tue December 20, 2016 10:23 AM

    Originally posted by: E91W_sasidhar_chandu


    Hi,

     I am facing a challenge in one of our production environment (AIX 7.1 P8), where we have migrated Application Code from UAT (where it is working properly on AIX 6.1 P7). 

     We execute our Batch Process in multi threading mode (SMT 4/8). When we trigger a process, parent process is successfully creating child process but the child process goes into Suspend(S) mode immediately. And so, when i monitor the Processor (nmon), I am not able to see multi threading happening on the server.

     The Batch process and its execution is exactly the same in pre-prod env also where it is executed in multi threading mode (SMT 4). Once Parent Process creates the child process, multi threading happens properly with Running (R) mode and the Batch completes 10x faster in pre-prod environment. 

     I am expecting the same behavior, which we are not able achieve. We are not sure, if it is our application issue (thou our app is certified on both aix 6.1 and aix 7.1). 

    Request someone to show some pointers

    Commands used to identify thread status:

    • ps -m -o THREAD -p <pid> - This command helps us in finding PID with THREAD ID and the status of the threads
    • procstack <pid> - Map Pthread ID with Kernel thread-id -- If the Status of the Thread is in suspend Mode, then thread ID is not visible in the out of procstack command

     Refer attachment for more details - Up Arrow screens are prod and Down Arrow screens are pre-prod