AIX

AIX

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


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  user process in 99%

    Posted 06/06/10 05:15 AM

    Originally posted by: kamesh.gowri


    We are getting user process to 99%. We checked that one user is working with some java application. Intimated them to kill some process. Unfortunately some important app is running in server, so they were unable to kill process. For past 2 days server is in this state. Is there any other way to reduce the user process without killing pid ?

    sar 1 3

    System configuration: lcpu=4 mode=Capped

    14:25:42 %usr %sys %wio %idle physc
    14:25:43 99 1 0 0 2.00
    14:25:44 99 1 0 0 2.00
    14:25:45 99 1 0 0 2.00

    Average 99 1 0 0 2.00
    =====================
    ps aux |grep wait
    root 57372 0.5 0.0 384 384 - A Mar 07 14290:21 wait
    root 61470 0.5 0.0 384 384 - A Mar 07 13898:14 wait
    root 8196 0.0 0.0 384 384 - A Mar 07 1189:10 wait
    root 53274 0.0 0.0 384 384 - A Mar 07 1118:18 wait
    Thanks
    Aravinth
    #AIX-Forum


  • 2.  Re: user process in 99%

    Posted 06/06/10 09:05 AM

    Originally posted by: bustaf


    Hi

    ps -AUX
    you see all process running

    renice +20 (num pid) for reduce the priority of an specific process

    Regards
    #AIX-Forum


  • 3.  Re: user process in 99%

    Posted 06/06/10 06:04 PM

    Originally posted by: cd3lgado


    Hi

    You can use the priority concepts of running processes in UNIX in order to lower the priority and reduce the CPU use in some way. But this is not the best solution.

    Why do you query for the wait process ? Wait is a process UNIX start to manage inactivity time when CPU is waiting for some other subsystem. Are you sure that Java process is running ? is it there any log file you can check ? Doesn't you have topas or nmon installed so you can check and compare ?

    I have seen LPARs running at 99% of CPU (usr+sys) and this is not bad from some point of view. It means that all CPU is being used and if there's no paging space activity and processes are highly intensive in calculation (not I/O) it could be good.

    Hope this helps
    #AIX-Forum


  • 4.  Re: user process in 99%

    Posted 06/08/10 11:26 AM

    Originally posted by: KentPerrier


    You can use workload manager to limit the amount of CPU this process takes.

    This is a good cheat sheet: http://www.ibm.com/developerworks/aix/library/au-Practical_WLM.html
    #AIX-Forum