+1 agree with chris
(I boosted to 4GB and I dont see any OOM's so getting more RAM always helps)
If you run JConsole you will see your java memory allocation over time (so
you can determine at what time which process is launched and consumes the
most memory)
M--
> Ok,
> I have taken all the pos
Ok,
I have taken all the posts seriously. I have not ran into a solution. Let me
work on the suggestions you provided. I resolved the OOME , but I am
worried about scaling users in my server, if tomcat consumes this much
memory. As you said since tomcat is not taking the memory I will further
i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Arun,
Arun wrote:
> I am replying once again, as I thought I need more help on these.
>
> top - 15:49:32 up 2 days, 21:33, 1 user, load average: 0.26, 0.28, 0.20
> Tasks: 57 total, 2 running, 55 sleeping, 0 stopped, 0 zombie
> Cpu(s): 4.5%
I am replying once again, as I thought I need more help on these.
top - 15:49:32 up 2 days, 21:33, 1 user, load average: 0.26, 0.28, 0.20
Tasks: 57 total, 2 running, 55 sleeping, 0 stopped, 0 zombie
Cpu(s): 4.5%us, 0.5%sy, 0.0%ni, 94.5%id, 0.0%wa, 0.0%hi, 0.5%si,
0.0%st
Mem: 2074
Arun wrote:
> That worked finally with the increase in PermGen space.
> I am a bit concerned about my server memory.
> See my top (not mine ofcourse)
>
> top - 09:38:18 up 9:16, 3 users, load average: 0.27, 0.18, 0.10
> PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND
> 97
Why I did not test this before is because, I donot thought this was a
soultion though. Tomorrow another developer add something to the product and
there we go. I will be asked "Hey guy increase the memory of the server,
that may be the problem, last time it was!!". Then I might need to empoy a
guy
And finally after 2 days of struggle I got my new server up.
Check ibaaz.com, that is what I was trying to bring up. Thanks for the help.
Being said that, I am going to use a heap profiler to see what is happening
in JVMs head.
And see if I can match its intelligence.
On 10/11/07, Arun <[EMAIL P
That worked finally with the increase in PermGen space.
Filip,
I am a bit concerned about my server memory.
See my top (not mine ofcourse)
top - 09:38:18 up 9:16, 3 users, load average: 0.27, 0.18, 0.10
Tasks: 72 total, 2 running, 70 sleeping, 0 stopped, 0 zombie
Cpu(s): 49.1%us, 2.0
>java.lang.OutOfMemoryError: PermGen space
just increase your permgen size
-XX:MaxPermSize=256m
Filip
Arun wrote:
Nope no use. Same error on JDk1.5
INFO: Server startup in 39569 ms
Oct 10, 2007 11:05:31 PM
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
SEVERE: Error
send the following files (send as attachments) to me
offline1)/WEB-INF/applicationContext.xml2)any files that are imported by
applicationContext.xml3)any files that are imported from each of the imported
files from step 24)the value clause for the configLocation property for
hibernate.cfg.xml
See my localmachine's tomcat logs
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 10, 2007 10:39:06 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/60 config=null
Oct 10, 2007 10:39:06 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 31934 ms
Hibernate: selec
Nope no use. Same error on JDk1.5
INFO: Server startup in 39569 ms
Oct 10, 2007 11:05:31 PM
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
SEVERE: Error reading request, ignored
java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-80-1" java.lang.NullPointer
> From: Arun [mailto:[EMAIL PROTECTED]
> Subject: Re: Native Library Not found
>
> *Exception in thread "DefaultQuartzScheduler_Worker-1"
> java.lang.OutOfMemoryError: PermGen space
To quote from the Tomcat FAQ (http://tomcat.apache.org/faq/memory.html):
"If you h
Chris,
Let me try installing Jdk1.5 and make same version on both sides. But I need
to use jdk1.6 as I need some of the features.
On 10/10/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Arun,
>
> Arun wrote:
> > Ok,
> > Help!! I do not
Chris,
I do not have any additional memory add ons on JAVA_OPTS on both sides.
My Quartz scheduler is a spring bean and works from inside the weapp on both
sides.
My app starts and works well in myeclipse' tomcat. I have given the start
logs, at the beginning of the mail. Will put here once more.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Arun,
Arun wrote:
> Ok,
> Help!! I do not have an OutOfMemory erro when running tomcat from myeclipse.
> I am running JDK1.5 and tomcat6.
>
> But in my ubuntu I have jdk1.6 and tomcat6.0 and I have an OutOfMemory
> problem why?
Compare your memory s
did not my local tomcat does not complain.?
On 10/10/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> > From: Arun [mailto:[EMAIL PROTECTED]
> > Subject: Re: Native Library Not found
> >
> > Why does my container thread gets shutdown.
>
> Becaus
> From: Arun [mailto:[EMAIL PROTECTED]
> Subject: Re: Native Library Not found
>
> Why does my container thread gets shutdown.
Because it ran out of memory - that should be obvious.
> Is there anyway I can stop that.
Fix your memory leak.
> I tried using the profiler
fsdfs
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 2007年10月10日 23:12
To: Tomcat Users List
Subject: RE: Native Library Not found
Hello ArunConfirm your environment is identical between 2Ubuntu has same
jvm/jre, same JAVA_OPTS, same RAM as dev boxTake a look at
Hello ArunConfirm your environment is identical between 2Ubuntu has same
jvm/jre, same JAVA_OPTS, same RAM as dev boxTake a look at Jprobe that chuck
suggested earlier to determine which class/method is consuming memory without
release
http://www.javaperformancetuning.com/tools/jprobe/index.sht
Why does my container thread gets shutdown.Is there anyway I can stop that.
I tried using the profiler webapp(Lamda Probe). But Since the container
shuts down I am not able to use that.
On 10/10/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> > From: Arun [mailto:[EMAIL PROTECTED]
> > Subj
I am running it on an unbunt machine. I do not get the OutOfMemory error on
my development machine which is Windows. I think as somebody else has said
that a profiler is a good way to start with.
I am running my tomcat from a putty. Can you give me an idea of which
profiler I can use.
Will the prof
> From: Arun [mailto:[EMAIL PROTECTED]
> Subject: Native Library Not found
>
> INFO: The Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
That's just an informational message indicating that APR is not
installed
Ok, right.
I want to fix this. Looks like it has something to do with tomcat
performance as such.
On 10/10/07, Konstantin Kolinko <[EMAIL PROTECTED]> wrote:
>
> > What is this.
> > I am getting an outofmemory error on running QuartzScheduler. Does this
> has
> > anything to do with that?
>
> No,
> What is this.
> I am getting an outofmemory error on running QuartzScheduler. Does this has
> anything to do with that?
No, Apache Tomcat Native library is not related to your out-of-memory
errors. You may note,
that the message shows even if you do not have your webapp deployed.
--
This is my full startup log.
[EMAIL PROTECTED]:~# pkill -9 java
[EMAIL PROTECTED]:~# catalina run
Using CATALINA_BASE: /usr/local/bin/apache-tomcat-6.0.13
Using CATALINA_HOME: /usr/local/bin/apache-tomcat-6.0.13
Using CATALINA_TMPDIR: /usr/local/bin/apache-tomcat-6.0.13/temp
Using JRE_HOME:
26 matches
Mail list logo