The WebLogic ManagedServer opening is SLOW.
-
I ve created a managed server called server-3 for wlsdm monitoring purposes but it take very long time to start.
-
Hi Karim,
Missconfigured non WLSDM parameter could be the reason for slow performance.
There is an info about agent overhead in WLSDM readme page.
https://wlsdm.com/docs/README
Agent Overhead: WLSDM agent has almost zero overhead on managed server resources and it is only used for RJVM operations. Its cost is negligible. WLSDM injecting nothing to runtime codesKind regards.
-
@wlsdmsupport for testing i’ve configured 2 ms, 1 without argument and another is with wlsdm argument. The one without any argument (which is what normally done for every ms) started very fast . The one with wlsdm argument take a longer time to start.
The argument am using as below:
-javaagent:/weblogic/Middleware/user_projects/domains/em_domain/wlsdm_agent/wlsdm_agent.jar -Dwlsdm.agent.logger.level=INFO -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=repository=WLSDM/temp/JFR -XX:+DisableExplicitGC
Please help. Thank you
-
Hi Karim,
Could you send email WebLogic managedserver.out and WLSDM logs with zip to our SUPPORT team email address.
WLSDM logs in $(DOMAIN_HOME/WLSDM/logs) folder.
-
@wlsdmsupport i’ve send out the email. please check
-
Hi Karim,
You have Out of Memory error while opening this managed server. Please check below error in your managed server log.
You had better tune and optimize your WebLogic environment or increase server memory.
Kind Regards.
####<Jan 10, 2021 4:28:17 PM MYT> <Info> <Health> <WIHST03-VMAP03> <Server-4> <weblogic.GCMonitor> <<anonymous>> <> <> <1610267297840> <BEA-310002> <97% of the total memory in the server is free> ####<Jan 10, 2021 4:28:18 PM MYT> <Error> <HTTP> <WIHST03-VMAP03> <Server-4> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <fa71d3a8cd78f3f8:-638c60f4:176eb68c7a2:-7ffe-0000000000000004> <1610267298673> <BEA-101216> <Servlet: "CoordinatorPortTypeServlethttp" failed to preload on startup in Web application: "wls-wsat.war". java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at com.sun.xml.ws.server.sei.EndpointMethodHandlerFactory.create(EndpointMethodHandlerFactory.java:15) at com.sun.xml.ws.server.sei.ActionBasedDispatcher.<init>(ActionBasedDispatcher.java:92) at com.sun.xml.ws.server.sei.ActionBasedDispatcher.<init>(ActionBasedDispatcher.java:80) at com.sun.xml.ws.server.sei.EndpointMethodDispatcherGetter.<init>(EndpointMethodDispatcherGetter.java:75) at com.sun.xml.ws.server.sei.SEIInvokerTube.<init>(SEIInvokerTube.java:82) at weblogic.wsee.jaxws.WLSContainer$WLSEndpointFactory$1.createServer(WLSContainer.java:857) at weblogic.wsee.jaxws.ServerLateInitTube.postCreateEndpoint(ServerLateInitTube.java:63) at weblogic.wsee.jaxws.EndpointAwareLateInitTube.postCreateEndpoint(EndpointAwareLateInitTube.java:46) > ####<Jan 10, 2021 4:28:46 PM MYT> <Error> <Socket> <WIHST03-VMAP03> <Server-4> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <> <1610267326402> <BEA-000405> <Uncaught Throwable in processSockets java.lang.OutOfMemoryError: PermGen space. java.lang.OutOfMemoryError: PermGen space >
####<Jan 10, 2021 4:29:29 PM MYT> <Error> <Socket> <WIHST03-VMAP03> <Server-4> <ExecuteThread: '3' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <> <1610267369905> <BEA-000405> <Uncaught Throwable in processSockets java.lang.OutOfMemoryError: PermGen space. java.lang.OutOfMemoryError: PermGen space