Thanks Julien! I'll update my docker-compose settings.
Tom
On Wed, Mar 7, 2018 at 1:22 PM, Julien Chastang <chastang@xxxxxxxx> wrote:
> Hi,
>
> Assuming these problems are rooted in OOMEs and you are using the TDS
> Docker container (https://github.com/Unidata/thredds-docker), via
> docker-compose you can augment Java heap size via compose.env
>
> Specifically, you can try to augment THREDDS_XMX_SIZE. For example,
>
> THREDDS_XMX_SIZE=6G
>
> I hope that helps.
>
>
> On Wed, Mar 7, 2018 at 1:00 PM, tom cook <tmcook@xxxxxxxx> wrote:
>
>> Thanks Rob, I've been having some hassles working with tomcat, nginx,
>> docker and and the ufw python firewall thing that ships with CentOS. A
>> blocked port could certainly be a possibility and I'll start there with my
>> troubleshooting.
>> Tom
>>
>> On Wed, Mar 7, 2018 at 10:12 AM, Robert Casey <rob@xxxxxxxxxxxxxxxxxxx>
>> wrote:
>>
>>>
>>> I did a little Stack Overflow poking around since this was an
>>> intriguing error. If the poster for this issue is correct:
>>>
>>> https://stackoverflow.com/questions/39710180/apr-error-730054/
>>>
>>> This is a Tomcat connection error and the code can point to
>>> something in this list of constants:
>>>
>>> https://tomcat.apache.org/tomcat-8.0-doc/api/constant-values.html
>>>
>>> I am not sure about the negative value, but a positive 120001 is
>>> equal to TIMEUP.
>>>
>>> The -32 might be a APR_POLLHUP, but there are so many 32's it's
>>> hard to be sure.
>>>
>>> APR is the Apache Portable Runtime and can be used as an option
>>> for your HTTP connectors and thread management. I haven't seen this as
>>> much in use, but it's supposed to be pretty performant because it bypasses
>>> Java. I wonder if the docker image has its OpenSSL library properly
>>> installed? Could also just be a blocked port that needs to be opened
>>> through Docker. More information on Tomcat connectors here. We typically
>>> use NIO.
>>>
>>> https://blog.eveoh.nl/2012/04/some-notes-on-tomcat-connector
>>> -performance/
>>>
>>>
>>> -Rob
>>>
>>>
>>>
>>> > On Mar 7, 2018, at 9:24 AM, tom cook <tmcook@xxxxxxxx> wrote:
>>> >
>>> > Hi,
>>> > I'm seeing a bunch of these errors.
>>> >
>>> > ERROR - thredds.server.ncss.controller.AbstractNcssController -
>>> Uncaught exception
>>> > org.apache.catalina.connector.ClientAbortException:
>>> java.io.IOException: APR error: -120001
>>> >
>>> > and
>>> >
>>> > ERROR - thredds.server.ncss.controller.AbstractNcssController -
>>> Uncaught exception
>>> > org.apache.catalina.connector.ClientAbortException:
>>> java.io.IOException: APR error: -32
>>> >
>>> > These often precede
>>> >
>>> > ERROR - thredds.server.ncss.controller.AbstractNcssController -
>>> Uncaught exception
>>> > org.springframework.web.util.NestedServletException: Handler dispatch
>>> failed; nested exception is java.lang.OutOfMemoryError: Java heap space
>>> >
>>> >
>>> > I understand the OutOfMemoryError error, but I don't understand the
>>> APR error and can't find those codes listed anywhere.
>>> > I running the latest TDS docker image (4.6.12-SNAPSHOT).
>>> >
>>> > Thanks,
>>> > Tom
>>> > _______________________________________________
>>> > NOTE: All exchanges posted to Unidata maintained email lists are
>>> > recorded in the Unidata inquiry tracking system and made publicly
>>> > available through the web. Users who post to any of the lists we
>>> > maintain are reminded to remove any personal information that they
>>> > do not want to be made public.
>>> >
>>> >
>>> > thredds mailing list
>>> > thredds@xxxxxxxxxxxxxxxx
>>> > For list information or to unsubscribe, visit:
>>> http://www.unidata.ucar.edu/mailing_lists/
>>>
>>>
>>
>> _______________________________________________
>> NOTE: All exchanges posted to Unidata maintained email lists are
>> recorded in the Unidata inquiry tracking system and made publicly
>> available through the web. Users who post to any of the lists we
>> maintain are reminded to remove any personal information that they
>> do not want to be made public.
>>
>>
>> thredds mailing list
>> thredds@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe, visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>
>
>
> --
> Julien Chastang (https://github.com/julienchastang.keys)
> Scientific Software Developer
> Unidata-UCAR
>
>
>