bcgov / smk-legacy-ui

Legacy Admin UI for the SMK has been de-supported. Please see the CLI under https://github.com/bcgov/smk for an alternative.
Apache License 2.0
8 stars 3 forks source link

Stability Issues, Performance Issues, Other #82

Open cpspicer opened 6 years ago

cpspicer commented 6 years ago

1 Performance of the author is slow. Works best in Chrome 2 Zoom tools missing, mouse wheel no longer zooms on apps authored 3 Editing an existing site to add tools and re-publishing does not result in those tools being added to a site 4 Sites with layers from MPCM won't load other than the app title bar and name 5 Unpublishing and/or deleting a site takes a long time with no visual that something is happening 6 MPCM Layers are not showing attributes when selected in the author tool

dhlevi commented 6 years ago

I've been doing some investigation into performance and memory leaks.

On my dev machine I've built the docker image as deployed in openshift and done a series of memory and performance tests, and can't replicate all of the behaviour we're seeing up in openshift right now. For the memory leaks, memory is not leaking on the image, from the UI, service, or tomcat, so why openshift is not releasing memory I'm not exactly sure. We're seeing the image run stable at about 330 megs of use, and cleaning up after itself when you hammer it for a while. In Openshift memory just constantly creeps up.

Client and Admin UI performance is smooth, however we are running on an internal machine here so it's not quite the same as through the load balancing and routing on openshift. It'll take a bit more research to dig into where we're losing performance.

ll911 commented 6 years ago

@dhlevi maybe open this with in #help-me threads so get RHEL engineer to help. did you try with different GC flag? also which JDK are you running under? OpenJDK or OracleJDK?

dhlevi commented 6 years ago

We're running with OpenJDK at the moment, and we haven't tried setting up the pod differently yet, which was next on my debug list to see if it's just some basic configuration settings we need to apply. If we get stuck I'll make a post on #help-me to get some help

ll911 commented 6 years ago

@dhlevi I usually ran into some memory issues with OpenJDK, that's why I switch to Oracle JDK in my base. I think for RHEL base JAVA servlet, they recommend to use https://github.com/openshift-s2i/s2i-wildfly, then you would have to change from Docker build to S2I custom build