14 Replies Latest reply: May 25, 2014 2:11 AM by ASulthan RSS

    Application Server Performance Issues

    ASulthan

      Hi

       

      We have Application Server 10g (10.1.2.0.2) and Oracle database 10g database 10.2  and we have around 80 users daily basis  in application server  when we add  20 to 30 more clients users  in  we observer application working extermely slow  Then i have  check os level CPU utliization is  average   and Application server memeory usage 4%

       

      Please advise how to resolve this issues

       

      Thanks

       

        • 1. Re: Application Server Performance Issues
          Jayaprakash -Oracle

          Hi Sultan,

           

          1)Could you please provide let us know who was it observed that application server is working slow.

           

             Please let us know what type of application is deployed on the OC4J container.

           

          2)Could you please provide us the output of the below command :-

           

               ulimit -a.

           

          3)Could you please check if the Java version used with Application Server 10.1.2 is at the latest build of JDK 1.4.2.0 which is build 30.

           

          4)Could you please check if there are hs_err.pid files has appeared in the application log directory.

           

          5)Could you please follow the performance guide and tune your application and also request you to tune the OC4J on which the application is deployed.

           

          Regards,

          Prakash.

          • 2. Re: Application Server Performance Issues
            ASulthan

            Hi Jaya

             

            T

            1)Could you please provide let us know who was it observed that application server is working slow.

            We have application Server versions of 10.1.2.0.2   and 100 user working on application server and addtional we  added user the users in database  and connect the users through application server  it s extermely slow

             

               Please let us know what type of application is deployed on the OC4J container.

                  we have  in-build application developed by froms and reports

              

             

            2)Could you please provide us the output of the below command :-

             

            Our envirnoment is windows based how to run below command

                 ulimit -a.

             

             

             

            3)Could you please check if the Java version used with Application Server 10.1.2 is at the latest build of JDK 1.4.2.0 which is build 30.

            C:\Documents and Settings\iapp>java -version

            java version "1.4.2_06"

            Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)

            Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)

             

            4)Could you please check if there are hs_err.pid files has appeared in the application log directory.

            where we can find the location window based envirnoments

             

             

            5)Could you please follow the performance guide and tune your application and also request you to tune the OC4J on which the application is deployed.

            can you give me  OC4J  performance tune guide

            • 3. Re: Application Server Performance Issues
              Jayaprakash -Oracle

              Hi,

               

              The hs_err.pid file would occur in the OC4J logs location.

               

              Please follow the below performance guide for OC4J :-

               

              Optimizing J2EE Applications In OC4J

               

              Could you please check the Java version from %ORACLE_HOME%/jdk/bin and upgrade it to the latest build of JDK 1.4.2 .

               

              As the OS windows please ignore ulimit value.

               

              Regards,

              Prakash.

              • 4. Re: Application Server Performance Issues
                ASulthan

                HI

                 

                 

                I can not find OC4j logs in %ORACLE_HOME/OPMN/logs

                 

                 

                Thanks for helpfull informations

                • 5. Re: Application Server Performance Issues
                  Jayaprakash -Oracle

                  Hi Sultan,

                   

                  The logs for OC4J would be as "default_group~home~default_group~1.log" so this would be different for different OC4J containers.

                   

                  The application logs could be located in the location %ORACLE_HOME%/j2ee/<Container name>/log.

                   

                  Regards,

                  Prakash.

                  • 6. Re: Application Server Performance Issues
                    ASulthan

                    Hi Jaya

                     

                    Please find below log files

                    12/01/25 10:49:49 Auto-unpacking C:\Navis\oracle\FRHome\j2ee\home\applications\dms.war... done.

                    12/01/25 10:49:52 Auto-deploying file:/C:/Navis/oracle/FRHome/j2ee/home/default-web-app/ (New server version detected)...

                    12/01/25 10:49:52 Auto-deploying file:/C:/Navis/oracle/FRHome/j2ee/home/applications/dms/ (New server version detected)...

                    12/01/25 10:49:53 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized

                    12/01/25 10:49:54 Notification ==> Application Deployer for BC4J STARTS [ 2012-01-25T10:49:54.082AST ]

                    12/01/25 10:49:54 Notification ==> Undeploy previous deployment

                    12/01/25 10:49:54 Notification ==> Removing files for app file:/C:/Navis/oracle/FRHome/j2ee/home/applications/BC4J.ear

                    12/01/25 10:49:54 Notification ==> Copy the archive to C:\Navis\oracle\FRHome\j2ee\home\applications\BC4J.ear

                    12/01/25 10:49:54 Copy file C:\navis\oracle\FRHome\BC4J\redist\bc4j.ear to C:\Navis\oracle\FRHome\j2ee\home\applications\BC4J.ear

                    12/01/25 10:49:54 Notification ==> Unpack BC4J.ear begins...

                    12/01/25 10:49:54 Auto-unpacking C:\Navis\oracle\FRHome\j2ee\home\applications\BC4J.ear... done.

                    12/01/25 10:49:54 Notification ==> Unpack BC4J.ear ends...

                    12/01/25 10:49:54 Notification ==> Initialize BC4J.ear begins...

                    12/01/25 10:49:54 Auto-unpacking C:\Navis\oracle\FRHome\j2ee\home\applications\BC4J\webapp.war... done.

                    12/01/25 10:49:59 Notification ==> Initialize BC4J.ear ends...

                    12/01/25 10:49:59 Notification ==> Initialize webapp begins...

                    12/01/25 10:49:59 Copying default deployment descriptor from archive at C:\Navis\oracle\FRHome\j2ee\home\applications\BC4J\webapp/WEB-INF/orion-web.xml to deployment directory C:\Navis\oracle\FRHome\j2ee\home\application-deployments\BC4J\webapp...

                    12/01/25 10:49:59 Notification ==> Initialize webapp ends...

                    12/01/25 10:49:59 Notification ==> deleting:  C:\Navis\oracle\FRHome\j2ee\home\applications\BC4J.ear

                    12/01/25 10:49:59 Notification ==> deleting:  /C:/Navis/oracle/FRHome/j2ee/home/applications/BC4J/webapp.war

                    12/01/25 10:49:59 Notification ==> Application Deployer for BC4J COMPLETES [ 2012-01-25T10:49:59.207AST ]

                    12/01/25 10:49:59 Notification ==> Application Deployer for ADFBCManager STARTS [ 2012-01-25T10:49:59.223AST ]

                    12/01/25 10:49:59 Notification ==> Undeploy previous deployment

                    12/01/25 10:49:59 Notification ==> Removing files for app file:/C:/Navis/oracle/FRHome/j2ee/home/applications/ADFBCManager.ear

                    12/01/25 10:49:59 Notification ==> Copy the archive to C:\Navis\oracle\FRHome\j2ee\home\applications\ADFBCManager.ear

                    12/01/25 10:49:59 Copy file C:\navis\oracle\FRHome\BC4J\oem\bc4joembean.ear to C:\Navis\oracle\FRHome\j2ee\home\applications\ADFBCManager.ear

                    12/01/25 10:49:59 Notification ==> Unpack ADFBCManager.ear begins...

                    12/01/25 10:49:59 Auto-unpacking C:\Navis\oracle\FRHome\j2ee\home\applications\ADFBCManager.ear... done.

                    12/01/25 10:49:59 Notification ==> Unpack ADFBCManager.ear ends...

                    12/01/25 10:49:59 Notification ==> Initialize ADFBCManager.ear begins...

                    12/01/25 10:49:59 Notification ==> Initialize ADFBCManager.ear ends...

                    12/01/25 10:49:59 Auto-deploying - bc4joembean.jar (No previous deployment found)...

                    12/01/25 10:49:59 Auto-deploying - compiling and loading...

                    Note: Some input files use or override a deprecated API.

                    Note: Recompile with -deprecation for details.

                    12/01/25 10:50:01 done.

                    12/01/25 10:50:01 Notification ==> deleting:  C:\Navis\oracle\FRHome\j2ee\home\applications\ADFBCManager.ear

                    12/01/25 10:50:01 Notification ==> Application Deployer for ADFBCManager COMPLETES [ 2012-01-25T10:50:01.051AST ]

                    12/01/25 10:50:01 Notification ==> Application Deployer for IsWebCacheWorking STARTS [ 2012-01-25T10:50:01.051AST ]

                    12/01/25 10:50:01 Notification ==> Undeploy previous deployment

                    12/01/25 10:50:01 Notification ==> Removing files for app file:/C:/Navis/oracle/FRHome/j2ee/home/applications/IsWebCacheWorking.ear

                    12/01/25 10:50:01 Notification ==> Copy the archive to C:\Navis\oracle\FRHome\j2ee\home\applications\IsWebCacheWorking.ear

                    12/01/25 10:50:01 Copy file C:\navis\oracle\FRHome\webcache\examples\IsWebCacheWorking.ear to C:\Navis\oracle\FRHome\j2ee\home\applications\IsWebCacheWorking.ear

                    12/01/25 10:50:01 Notification ==> Unpack IsWebCacheWorking.ear begins...

                    12/01/25 10:50:01 Auto-unpacking C:\Navis\oracle\FRHome\j2ee\home\applications\IsWebCacheWorking.ear... done.

                    12/01/25 10:50:01 Notification ==> Unpack IsWebCacheWorking.ear ends...

                    12/01/25 10:50:01 Notification ==> Initialize IsWebCacheWorking.ear begins...

                    12/01/25 10:50:01 Auto-unpacking C:\Navis\oracle\FRHome\j2ee\home\applications\IsWebCacheWorking\IsWebCacheWorkingWeb.war... done.

                    12/01/25 10:50:01 Notification ==> Initialize IsWebCacheWorking.ear ends...

                    12/01/25 10:50:01 Notification ==> Initialize IsWebCacheWorkingWeb begins...

                    12/01/25 10:50:01 Notification ==> Initialize IsWebCacheWorkingWeb ends...

                    12/01/25 10:50:01 Notification ==> deleting:  C:\Navis\oracle\FRHome\j2ee\home\applications\IsWebCacheWorking.ear

                    12/01/25 10:50:01 Notification ==> deleting:  /C:/Navis/oracle/FRHome/j2ee/home/applications/IsWebCacheWorking/IsWebCacheWorkingWeb.war

                    12/01/25 10:50:01 Notification ==> Application Deployer for IsWebCacheWorking COMPLETES [ 2012-01-25T10:50:01.348AST ]

                    12/01/25 10:50:31 Shutting down...

                    rocess

                    • 7. Re: Application Server Performance Issues
                      Jayaprakash -Oracle

                      Hi Sultan,

                       

                      There is nothing much which could be inferred from the logs .So please fine tune the application and the JVM on which it is deployed .

                       

                      Regards,

                      Praaksh.

                      • 8. Re: Application Server Performance Issues
                        ASulthan

                        Hi

                         

                        Thanks for info

                        This is  a our production setup max memory

                         

                        -server -Xrs -Djava.security.policy=C:\navis\oracle\FRHome\j2ee\OC4J_BI_Forms\config\java2.policy -Djava.awt.headless=true -Xmx512M -Xms128M

                         

                        can i increase memory upto 1GB memory

                        • 9. Re: Application Server Performance Issues
                          Jayaprakash -Oracle

                          Hi Sultan,

                           

                          Yes you could increase but please check that there are plenty of resources available on the Server.

                           

                          Regards,

                          Prakash.

                          • 10. Re: Application Server Performance Issues
                            ASulthan

                            Hi Jaya

                             

                            How  i can check plenty of resource on the server ?

                            • 11. Re: Application Server Performance Issues
                              Jayaprakash -Oracle

                              Hi Sultan,

                               

                              Please check if the below things to ensure you have good resources :-

                               

                              1)Check the RAM Size

                               

                              2)Check Disk space

                               

                              Regards,

                              Prakash.

                              • 12. Re: Application Server Performance Issues
                                ASulthan

                                Hi

                                 

                                We have more than 32 GB RAM and 1 TB Disk Freespace

                                 

                                thanks

                                • 13. Re: Application Server Performance Issues
                                  Jayaprakash -Oracle

                                  Hi Sultan,

                                   

                                  As you plenty of space and ram please go ahead an increase the JVM parameters.

                                   

                                  Test the performance and let us know.

                                   

                                  Regards,

                                  Prakash.

                                  • 14. Re: Application Server Performance Issues
                                    ASulthan

                                    Hi Jaya

                                     

                                    I will Check and updated status aspap

                                     

                                    Thanks of  for support

                                     

                                    regards