On Thu, Mar 13, 2014 at 11:47 AM, Christopher Schultz < ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Felipe, > > On 3/13/14, 10:57 AM, Felipe Jaekel wrote: > > There are lots of this in catalina log: *12-Mar-2014 08:41:43.828 > > WARNING [http-nio-80-exec-28] > > com.sun.faces.application.resource.ResourceHandlerImpl.logMissingResource > > > > > JSF1064: Unable to find or serve resource, primefaces.js, from library, > > primefaces.* *12-Mar-2014 08:41:43.829 WARNING > > [http-nio-80-exec-28] > > com.sun.faces.application.resource.ResourceHandlerImpl.logMissingResource > > * * org.apache.catalina.connector.ClientAbortException: > > java.io.IOException: Connection reset by peer* > > > > But these always appeared in my logs, I guess it happens when the > > client cancel the page load. > Felipe, why would a user cancel the page load? is this quite common that user cancels page load? are there pages in your app that would provoke/motivate user(s) to cancel page load? this/some page(s) take a long time to load? > > > > > I did found something strange in the access log. Applications > > crashed around 2:20PM. I checked for primefaces.js at this time in > > the access log and its all 200 status, but I noticed some very > > small response sizes in some requests, which explains the > > JavaScripts errors on Chrome console. > > > > Here are the log files and some print-screens: > > https://dl.dropboxusercontent.com/u/66737052/logs-12-03-2014.tar.bz2 > > > > > > > > Nothing changed in the system. I started to use Tomcat 8.0.3 in > > production on February 28th and the server is restarted daily to > > recycle PermGen space. > > I'm curious about this: what eats-up your PermGen space? > if this behavior did not occur in tomcat7, why would it (start to) occur when using tomcat8? > > > I'm using Mojarra 2.2.5. > Mojarra 2.2.5 + tomcat8, hmmm.... Felipe, which servlet in your web.xml? servlet 2.5, 3.0, 3.1? Felipe, did you look at tomcat 8 migration guide (URL below)? https://tomcat.apache.org/migration-8.html > > > > This issue started to manifest at 10AM after a parallel deploy. At > > first only the icons disappeared from the new deployed version, but > > it was functional. Although new and old deployed versions had > > PrimeFaces 4.0.9, I started to think that might be something wrong > > with it, so I deployed a new version using 4.0.10. Problem was > > solved for some hours, but when it returned the status was what I > > mentioned above. Tried to parallel deploy with 4.0.8 but no > > success. After I restarted problem was solved, but in case it's > > relevant, there was only one version of each application running. > > My guess is still OOME: immediately after a parallel-deployment (which > roughly doubles the non-session resident footprint of your web > application, which you already say has PermGen issues) things start > going wonky, and a JVM restart fixes things? My money is on an OOME. > Note that they don't always have stack-traces along with them, so they > are easy to miss when eyeballing log files. > Felipe, can you share your java settings, similar to what I shared below? -Xms3G -Xmx3G -XX:MaxPermSize=384m -XX:+UseTLAB -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJTIdMGAAoJEBzwKT+lPKRYkkkP/31gOfqH+wxtEFTKXbNRmKPx > 56anmEVQqDo36icLTGRrXS9bhlq5UWZQvdm24n/aA2SeBYJWxOYK0eIU9SnY+Q5w > CurqA7KLQPw0UVTXXR3k85etGT8Uuivfnup28bPeJTtsifOzlQOHNC/MpyBzhMaR > vwhc94cXR3HC+eoM5mgGMHiMG17jT1P0ty6kCGuDPPNM3DwVyXxmZE0oQQ+Pgoq9 > XGJEnW1uKJG0vmM4tNRWWCrWxxu0nypMml/a93IdAZNgCkoEUuHnRqS4Qtie9O/i > sMjuJ/dBrc9qMpBfEvGUhLrO6whFbjnVqwfi6saXIcwvEUhs/w7h0dvOsgF9UxLa > a8R3mR14QNmLR9Pmh+3OqdwVOx+m4bec5oXjWvitin9RsuaurdRqRDAmvXIWG4ab > PLTDGaVmKPIx58uizN0WlQloj2haN7FPvlj18rlirb245KK23sYQHPWTRsOV/KXS > wkzlSmzUoIePzCS6jQcCA+lKQ0Is/+JQvoTlBxOgCV1FlqtYR9LTd4qzTDzsTnuH > wyhC1+ovscEZPDHlNBUu1RSJGvnB+YccWttcTeXQi3i25bitt+L3HqUyWE7VJbaL > 9SetiKGcsJK/gx9NzSQXEwEoPXuTK3vPmW4HVgIg6X51TKORZpPsfknX/iBd1Hml > VFCVjzEC334YBFgULc6a > =w3Sk > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >