struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paweł Wielgus" <poulw...@gmail.com>
Subject Re: [SPAM] Re: Help please TOMCAT 5 + Struts
Date Fri, 18 Jul 2008 07:13:51 GMT
Hi all,
as the log says tomcat is out of perm gen space, if You want to know
what or where it is going just add parameters like Jorge said:
export JAVA_OPTS='-Xmx756m -server -XX:MaxPermSize=256m'
but also add -XX:+PrintGCDetails
export JAVA_OPTS='-Xmx756m -server -XX:MaxPermSize=256m -XX:+PrintGCDetails'
and simply watch the output.
In the mean time read about the java memory management.

Best greetings,
Paweł Wielgus.



On 17/07/2008, STRUTS SL. Mailing List <struts@trapsatur.com> wrote:
> thousand thanks attempts with what I spend. if you miss one you the idea agradecere.
>
>  ________________________________
>
>  De: Jim Kiley [mailto:jhkiley@summa-tech.com]
>  Enviado el: jue 17/07/2008 22:41
>
> Para: Struts Users Mailing List
>
> Asunto: Re: [SPAM] Re: Help please TOMCAT 5 + Struts
>
>
>
>
>  I haven't used this, but thirty seconds' search on "tomcat memory leak
>  tools" led me to this: http://java-source.net/open-source/profilers/jmemprof
>
>  jk
>
>  On Thu, Jul 17, 2008 at 4:34 PM, STRUTS SL. Mailing List <
>  struts@trapsatur.com> wrote:
>
>  > I know of tools that help test my application, for which I have looked and
>  > looked again the code. Or some techniques to help me refine ...
>  >
>  > thanks
>  >
>  > ________________________________
>  >
>  > De: Jianshuo Niu [mailto:jjmniu@gmail.com]
>  > Enviado el: jue 17/07/2008 22:22
>  > Para: Struts Users Mailing List
>  > Asunto: [SPAM] Re: Help please TOMCAT 5 + Struts
>  >
>  >
>  >
>  > I would take a look at the code first to see if there is any unclosed
>  > connection, loops, etc. Then, check the jdk version and tomcat config
>  > files.
>  >
>  >
>  > On Thu, Jul 17, 2008 at 4:10 PM, STRUTS SL. Mailing List <
>  > struts@trapsatur.com> wrote:
>  >
>  > > The application is started well and after a few hours or minutes that
>  > stays
>  > > frozen. without accepting more users.
>  > >
>  > >        thanks to all are very helpful
>  > >
>  > > ________________________________
>  > >
>  > > De: Jianshuo Niu [mailto:jjmniu@gmail.com]
>  > > Enviado el: jue 17/07/2008 19:41
>  > > Para: Struts Users Mailing List
>  > > Asunto: [SPAM] Re: Help please TOMCAT 5 + Struts
>  > >
>  > >
>  > >
>  > > It looks like that something wrong in your code/archtechture. Was it slow
>  > > right after you deployed the app, or gettting slower during the
>  > operation?
>  > >
>  > > On Thu, Jul 17, 2008 at 12:45 PM, Paolo Niccolò Giubelli <
>  > > paoloniccolo.giubelli@itestense.it> wrote:
>  > >
>  > > > Maybe you got some memory leak in your code. Use a memory-inspecting
>  > tool
>  > > > and check for static objects.
>  > > > If you check your memory usage, maybe you'll find that you eat all the
>  > > > memory available, so you should tune your tomcat server changing the
>  > > memory
>  > > > parameters.
>  > > > Regards,
>  > > > Paolo Niccolò Giubelli
>  > > >
>  > > > STRUTS SL. Mailing List ha scritto:
>  > > >
>  > > > Hello for everybody;
>  > > >>
>  > > >>
>  > > >> We have a big trouble with our Web Application. Our Tomcat 5.5 Server
>  > is
>  > > >> working properly, as we can see. The problem is concerning to the
Web
>  > > >> Project. It's frizzing randomly. It doesn't matter how many time
was
>  > > >> reloaded. From this moment never user can get in the Web Site. At
the
>  > > >> browser address bar we can see the session id that was assigned to
the
>  > > new
>  > > >> session, but never the home page is presented, and we must be going
to
>  > > >> reload it. This reloading is making on the Tomcat Server.
>  > > >>
>  > > >>
>  > > >> Web application historical summary:
>  > > >>
>  > > >>
>  > > >> The Trapsatur Project was hosting on a Tomcat 4 Web Server, it was
>  > > >> installed in our offices. It was working almost properly, but slowly.
>  > > Cause
>  > > >> that, we decided to get out this Server to be housing at office's
ISP,
>  > > front
>  > > >> to Internet. At this moment we passed to Tomcat 5.5.26. It was begin
>  > of
>  > > >> troubles.
>  > > >>
>  > > >>
>  > > >> We are adjusting the Web Application and the Tomcat Server
>  > continuously.
>  > > >> We resolved problems with DB connection, someone errors with SMTP
>  > > server. In
>  > > >> addition we adjusted several Tomcat's and JVM's parameters. Now we
are
>  > > doing
>  > > >> some tests. We have assumed that the problem is the difference between
>  > > >> servlet.jar used by our Web Project, and the servlet.jar used by
>  > Tomcat
>  > > >> Server.
>  > > >>
>  > > >>
>  > > >> We want to thank in advance any help from any body.
>  > > >>
>  > > >> Best regard;
>  > > >>
>  > > >>
>  > > >> /* Some mistakes catalina.out */
>  > > >>
>  > > >>
>  > > >> Exception in thread "DefaultQuartzScheduler_Worker-0"
>  > > >> java.lang.OutOfMemoryError: PermGen space
>  > > >>
>  > > >> Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread"
>  > > >> java.lang.OutOfMemoryError: PermGen space
>  > > >>
>  > > >> Exception in thread "http-80-Processor31" java.lang.OutOfMemoryError:
>  > > >> PermGen space
>  > > >>
>  > > >> Exception in thread "http-80-Processor32" java.lang.OutOfMemoryError:
>  > > >> PermGen space
>  > > >>
>  > > >> Exception in thread
>  > > >> "ContainerBackgroundProcessor[StandardEngine[Catalina]]"
>  > > >> java.lang.OutOfMemoryError: PermGen space
>  > > >>
>  > > >> 17-jul-2008 16:37:56 org.apache.coyote.http11.Http11BaseProtocol
pause
>  > > >>
>  > > >> INFO: Pausing Coyote HTTP/1.1 on http-80
>  > > >>
>  > > >> java.lang.reflect.InvocationTargetException
>  > > >>
>  > > >> Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
>  > > >>
>  > > >> 17-jul-2008 16:38:59 org.apache.catalina.core.AprLifecycleListener
>  > > >> lifecycleEvent
>  > > >>
>  > > >> INFO: The Apache Tomcat Native library which allows optimal
>  > performance
>  > > in
>  > > >> production environments was not found on the java.library.path:
>  > > >>
>  > >
>  > /opt/jdk1.5.0_15/jre/lib/i386/server:/opt/jdk1.5.0_15/jre/lib/i386:/opt/jdk1.5.0_15/jre/../lib/i386
>  > > >>
>  > > >> 17-jul-2008 16:38:59 org.apache.coyote.http11.Http11BaseProtocol
init
>  > > >>
>  > > >>
>  > > >>
>  > > >> ********************************
>  > > >>
>  > > >> Christian A. Villamizar Lamus.
>  > > >>
>  > > >> Dpto. Informática - Trapsatur.
>  > > >>
>  > > >> Tel: 91.542.6666 - Fax: 91.548.0044
>  > > >>
>  > > >> ?-mail: c.villamizar@trapsatur.com <mailto:c.villamizar@trapsatur.com
>  > >
>  > > >> www.trapsatur.com <http://www.trapsatur.com/>
>  > > >> www.excursionesenmadrid.com <http://www.excursionesenmadrid.com/>
>  > > >> www.excursionesenmadrid.es <http://www.excursionesenmadrid.es/>
>  > > >> C/ San Bernardo 5 - 7.
>  > > >> 28013 - Madrid. España.
>  > > >>
>  > > >>
>  > > >>
>  > > >
>  > > >
>  > > >  ---------------------------------------------------------------------
>  > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>  > > > For additional commands, e-mail: user-help@struts.apache.org
>  > > >
>  > > >
>  > >
>  > >
>  > > --
>  > > Jianshuo Niu
>  > >
>  > >
>  > >
>  >
>  >
>  > --
>  > Jianshuo Niu
>  >
>  >
>  >
>
>
>  --
>  Jim Kiley
>  Technical Consultant | Summa
>  [p] 412.258.3346 [m] 412.445.1729
>
> http://www.summa-tech.com <http://www.summa-tech.com/>
>
>
>
Mime
View raw message