Are you saying that I should use JAVA_OPTS instead of CATALINA_OPTS?  I've
set CATALINA_OPTS to use -Xmx896m and -Xms384m already.  Problem is, if I
raise -Xmx or maxProcessors, I get the OutOfMemoryError and Tomcat stops
creating request processors.

Thanks,
Mike

-----Original Message-----
From: Ben Ricker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 11:18 AM
To: Tomcat Users
Subject: Re: maxProcessors problem


On Mon, 2003-08-18 at 15:42, Mike Cherichetti (Renegade Internet) wrote:



> java.lang.OutOfMemoryError: JVMCI015:OutOfMemoryError, cannot create
anymore
> threads due to memory or resource constraints

There is the cheese right there. You need to WAY up your Java System
memory heap using JAVA_OPTS. See this post on the archives:
http://mikal.org/interests/java/tomcat/archive/view?mesg=53417. All the
available options are in the Java docs.

Ben Ricker


>         at java.lang.Thread.start(Native Method)
>         at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.<init>(ThreadPool.
> java:582)
>         at
> org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:460)
>         at
> org.apache.tomcat.util.threads.ThreadPool.runIt(ThreadPool.java:293)
>         at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:536)
>         at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:619)
>         at java.lang.Thread.run(Thread.java:568)
>
> Now, I know that the JVM has plenty of memory left that it can be
allocated
> and the system has plenty of free memory, so I'm not sure it's really a
> memory issue.  As I said, Tomcat still runs and the memory allocated to
the
> JVM increases, it just doesn't have nearly enough request processors
created
> at the point this error happens to deal with all of the traffic.  I've
tried
> playing around with ulimit settings, but those didn't have any impact.
I've
> also tried the Sun JVM and it did the same thing.
>
> Has anyone run into this problem or something like it before?
>
> Any help would be greatly appreciated!
>
> Thanks,
> Mike
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to