Have anyone tried these before? What did you guys set for your memory
setting?

I tried changing the setting in the Apache Tomcat OpenBD Properties under
the Java tab. Increased the setting for Initial Memory Pool to 1GB and the
Maximum Memory Pool to 2GB.

I noticed that I have less downtime... but it still happens. What's the best
way to beat this?

Daniel

On Mon, Jul 25, 2011 at 5:02 PM, Alex Skinner <[email protected]> wrote:

> You need to tweak the JVM memory settings, if you installed Tomcat using
> the Viviotech installer the place these are actually set is in the Windows
> registry
>
> Search for the Key JvmMs and JvmMx
>
> This will show you the Parameters for the service and you can play with
> your memory settings there
>
>
> http://wiki.openbluedragon.org/wiki/index.php/Peformance_Tips_for_Tomcat_and_OpenBD
>
> Discusses memory but as I said above the place you need to tweak with
> Windows Service is different.
>
> A
>
> On 25 July 2011 09:44, Daniel Eng <[email protected]> wrote:
>
>> Recently, I got this error:
>>
>> *type* Exception report
>>
>> *message*
>>
>> *description* *The server encountered an internal error () that prevented
>> it from fulfilling this request.*
>>
>> *exception*
>>
>> javax.servlet.ServletException: Servlet execution threw an exception
>>
>> *root cause*
>>
>> java.lang.OutOfMemoryError: Java heap space
>>
>> *note* *The full stack trace of the root cause is available in the Apache
>> Tomcat/6.0.29 logs.*
>>
>> **
>> Any idea what this means?
>>
>> Daniel
>>
>> On Mon, Jul 25, 2011 at 2:09 PM, Daniel Eng <[email protected]> wrote:
>>
>>> Yes, for sure it is started. Because the websites were running fine. Only
>>> after a few hours I'll get this error.
>>>
>>> And this happens every time I restart the Tomcat.
>>>
>>> Regards,
>>> Daniel
>>>
>>>
>>> On Mon, Jul 25, 2011 at 1:57 PM, Peter Farrell <[email protected]>wrote:
>>>
>>>> Are you sure tomcat is started?
>>>> On Jul 25, 2011 12:18 AM, "Daniel Eng" <[email protected]> wrote:
>>>> > Apparently, when check the logs, this is what I get:
>>>> >
>>>> > [Mon Jul 25 13:14:59.577 2011] [5756:4312] [info]
>>>> > ajp_connect_to_endpoint::jk_ajp_common.c (959): Failed opening socket
>>>> > to (127.0.0.1:8009) (errno=61)
>>>> > [Mon Jul 25 13:14:59.585 2011] [5756:4312] [error]
>>>> > ajp_send_request::jk_ajp_common.c (1585): (ajp13w) connecting to
>>>> > backend failed. Tomcat is probably not started or is listening on the
>>>> > wrong port (errno=61)
>>>> > [Mon Jul 25 13:14:59.587 2011] [5756:4312] [info]
>>>> > ajp_service::jk_ajp_common.c (2540): (ajp13w) sending request to
>>>> > tomcat failed (recoverable), because of error during request sending
>>>> > (attempt=2)
>>>> > [Mon Jul 25 13:14:59.588 2011] [5756:4312] [error]
>>>> > ajp_service::jk_ajp_common.c (2559): (ajp13w) connecting to tomcat
>>>> > failed.
>>>> > [Mon Jul 25 13:14:59.589 2011] [5756:4312] [info]
>>>> > service::jk_lb_worker.c (1388): service failed, worker ajp13w is in
>>>> > error state
>>>> > [Mon Jul 25 13:14:59.589 2011] [5756:4312] [info]
>>>> > service::jk_lb_worker.c (1468): All tomcat instances are busy or in
>>>> > error state
>>>> > [Mon Jul 25 13:14:59.590 2011] [5756:4312] [error]
>>>> > service::jk_lb_worker.c (1473): All tomcat instances failed, no more
>>>> > workers left
>>>> > [Mon Jul 25 13:14:59.591 2011] [5756:4312] [error]
>>>> > HttpExtensionProc::jk_isapi_plugin.c (2195): service() failed with
>>>> > http error 503
>>>> > [Mon Jul 25 13:15:17.657 2011] [5016:3772] [info]
>>>> > service::jk_lb_worker.c (1440): Forcing recovery once for 1 workers
>>>> >
>>>> > Is it because I have removed the ajp13w that is causing all this
>>>> > problem?
>>>> >
>>>> > Daniel
>>>> >
>>>> > On Jul 23, 8:49 am, Daniel Eng <[email protected]> wrote:
>>>> >> Hi, need some help to troubleshoot this.
>>>> >>
>>>> >> I got this error notice not too long after I installed OpenBD:
>>>> >>
>>>> >>
>>>> ------------------------------------------------------------------------------------------
>>>> >>
>>>> >> Service Temporary Unavailable!
>>>> >> The server is temporarily unable to service your request due to
>>>> >> maintenance downtime or capacity problems. Please try again later.
>>>> >>
>>>> >> Jakarta/ISAPI/isapi_redirector/1.2.30
>>>> >>
>>>> >> Is it because my server can't handle the load? I ran php and asp
>>>> pages
>>>> >> at the same time but these sites didn't seem to have any problem.
>>>> >> However, all my cfm pages return the 503 error result.
>>>> >>
>>>> >> Please help!
>>>> >
>>>> > --
>>>> > official tag/function reference: http://openbd.org/manual/
>>>> > mailing list - http://groups.google.com/group/openbd?hl=en
>>>>
>>>> --
>>>> official tag/function reference: http://openbd.org/manual/
>>>> mailing list - http://groups.google.com/group/openbd?hl=en
>>>>
>>>
>>>
>>  --
>> official tag/function reference: http://openbd.org/manual/
>> mailing list - http://groups.google.com/group/openbd?hl=en
>>
>
>
>
> --
> Alex Skinner
> Managing Director
> Pixl8 Interactive
>
> Tel: +448452600726
> Email: [email protected]
> Web: pixl8.co.uk
>
>  --
> official tag/function reference: http://openbd.org/manual/
> mailing list - http://groups.google.com/group/openbd?hl=en
>

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to