precompile JSPs failure issue - Tomcat community

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

precompile JSPs failure issue - Tomcat community

Rathore, Rajendra

Hi Team,

 

We have precompileJSPs tests that include compilation of around 4000 jsp files. After upgrading to Tomcat 8.5.34 from Tomcat 8.5.32 we are facing an Error: java.lang.OutOfMemoryError: unable to create new native thread

 

The machines on which tests were executed have 16GB of RAM, out of which around 13GB was free.

The precompileJSPs tests were executed on Tomcat 8.5.34 by setting ANT_OPTS from -Xmx4096m to -Xmx10240m, But Still the result was OutOfMemoryError.

 

However, We successfully tested precompileJSPs tests for Tomcat 8.5.32 with ANT_OPTS as -Xmx384m

 

Can someone please have a look into this issue?

 

 

Thanks and Regards,

Rajendra Rathore

9922701491

 



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

precompileJSPs.txt (1K) Download Attachment
Error_Log.txt (796 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: precompile JSPs failure issue - Tomcat community

markt
On 01/11/2018 09:21, Rathore, Rajendra wrote:

> Hi Team,
>
>  
>
> We have precompileJSPs tests that include compilation of around 4000 jsp
> files. After upgrading to Tomcat *8.5.34* from Tomcat *8.5.32* we are
> facing an *Error:*/java.lang.OutOfMemoryError: unable to create new
> native thread /
>
>  
>
> The machines on which tests were executed have *16GB* of RAM, out of
> which around *13GB* was free.
>
> The precompileJSPs tests were executed on Tomcat *8.5.34* by setting
> ANT_OPTS from -Xmx4096m to -Xmx10240m, But Still the result was
> /OutOfMemoryError./
>
> / /
>
> However, We successfully tested precompileJSPs tests for Tomcat *8.5.32
> *with ANT_OPTS as -Xmx384m
>
>  
>
> Can someone please have a look into this issue?

Have you looked at the change log for the changes between 8.5.32 and
8.5.34 that might be relevant?

Have you tried testing with 8.5.33 to narrow down the version in which
the issue first appears?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: precompile JSPs failure issue - Tomcat community

Guang Chao
On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas <[hidden email]> wrote:

> On 01/11/2018 09:21, Rathore, Rajendra wrote:
> > Hi Team,
> >
> >
> >
> > We have precompileJSPs tests that include compilation of around 4000 jsp
> > files. After upgrading to Tomcat *8.5.34* from Tomcat *8.5.32* we are
> > facing an *Error:*/java.lang.OutOfMemoryError: unable to create new
> > native thread /
> >
> >
> >
> > The machines on which tests were executed have *16GB* of RAM, out of
> > which around *13GB* was free.
> >
> > The precompileJSPs tests were executed on Tomcat *8.5.34* by setting
> > ANT_OPTS from -Xmx4096m to -Xmx10240m, But Still the result was
> > /OutOfMemoryError./
> >
> > / /
> >
> > However, We successfully tested precompileJSPs tests for Tomcat *8.5.32
> > *with ANT_OPTS as -Xmx384m
> >
> >
> >
> > Can someone please have a look into this issue?
>
> Have you looked at the change log for the changes between 8.5.32 and
> 8.5.34 that might be relevant?
>

It could be changelog in 8.5.33
https://bz.apache.org/bugzilla/show_bug.cgi?id=53011
https://bz.apache.org/bugzilla/show_bug.cgi?id=53492



>
> Have you tried testing with 8.5.33 to narrow down the version in which
> the issue first appears?
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Guang <http://javadevnotes.com/java-string-to-date>
Reply | Threaded
Open this post in threaded view
|

RE: precompile JSPs failure issue - Tomcat community

Rathore, Rajendra
Hi Mark,

I am suspecting the same in 8.5.33 tomcat, do you still won't me to check it on tomcat 8.5.33?

Thanks and Regards,
Rajendra Rathore
9922701491

-----Original Message-----
From: Guang Chao <[hidden email]>
Sent: 01 November 2018 03:41 PM
To: Tomcat Users List <[hidden email]>
Subject: Re: precompile JSPs failure issue - Tomcat community

On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas <[hidden email]> wrote:

> On 01/11/2018 09:21, Rathore, Rajendra wrote:
> > Hi Team,
> >
> >
> >
> > We have precompileJSPs tests that include compilation of around 4000
> > jsp files. After upgrading to Tomcat *8.5.34* from Tomcat *8.5.32*
> > we are facing an *Error:*/java.lang.OutOfMemoryError: unable to
> > create new native thread /
> >
> >
> >
> > The machines on which tests were executed have *16GB* of RAM, out of
> > which around *13GB* was free.
> >
> > The precompileJSPs tests were executed on Tomcat *8.5.34* by setting
> > ANT_OPTS from -Xmx4096m to -Xmx10240m, But Still the result was
> > /OutOfMemoryError./
> >
> > / /
> >
> > However, We successfully tested precompileJSPs tests for Tomcat
> > *8.5.32 *with ANT_OPTS as -Xmx384m
> >
> >
> >
> > Can someone please have a look into this issue?
>
> Have you looked at the change log for the changes between 8.5.32 and
> 8.5.34 that might be relevant?
>

It could be changelog in 8.5.33
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.apache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53011&amp;data=02%7C01%7Crarathore%40ptc.com%7Cb925903f163440c0623908d63fe25fc4%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766638847501834&amp;sdata=0pWCHhvlD%2FBKThN%2FvGEbfDE1%2F4SSXHYOaQIx028%2Fk9Q%3D&amp;reserved=0
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.apache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53492&amp;data=02%7C01%7Crarathore%40ptc.com%7Cb925903f163440c0623908d63fe25fc4%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766638847501834&amp;sdata=jzH4WEv0RTY%2BvJYmGvNIKS%2FFM6OSO4Kc8ZFRX4hmt2s%3D&amp;reserved=0



>
> Have you tried testing with 8.5.33 to narrow down the version in which
> the issue first appears?
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Guang <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavadevnotes.com%2Fjava-string-to-date&amp;data=02%7C01%7Crarathore%40ptc.com%7Cb925903f163440c0623908d63fe25fc4%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766638847501834&amp;sdata=S2z9J%2Bb75VYOsUR0aeRgyXIAjBTUVPvMxM7BU%2FGCDQ0%3D&amp;reserved=0>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: precompile JSPs failure issue - Tomcat community

markt
On 01/11/2018 11:13, Rathore, Rajendra wrote:
> Hi Mark,
>
> I am suspecting the same in 8.5.33 tomcat, do you still won't me to check it on tomcat 8.5.33?

I'm simply providing some pointers to help you figure out what the
problem is. Which, if any, of those pointers you choose to follow is up
to you.

Mark


> Thanks and Regards,
> Rajendra Rathore
> 9922701491
>
> -----Original Message-----
> From: Guang Chao <[hidden email]>
> Sent: 01 November 2018 03:41 PM
> To: Tomcat Users List <[hidden email]>
> Subject: Re: precompile JSPs failure issue - Tomcat community
>
> On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas <[hidden email]> wrote:
>
>> On 01/11/2018 09:21, Rathore, Rajendra wrote:
>>> Hi Team,
>>>
>>>
>>>
>>> We have precompileJSPs tests that include compilation of around 4000
>>> jsp files. After upgrading to Tomcat *8.5.34* from Tomcat *8.5.32*
>>> we are facing an *Error:*/java.lang.OutOfMemoryError: unable to
>>> create new native thread /
>>>
>>>
>>>
>>> The machines on which tests were executed have *16GB* of RAM, out of
>>> which around *13GB* was free.
>>>
>>> The precompileJSPs tests were executed on Tomcat *8.5.34* by setting
>>> ANT_OPTS from -Xmx4096m to -Xmx10240m, But Still the result was
>>> /OutOfMemoryError./
>>>
>>> / /
>>>
>>> However, We successfully tested precompileJSPs tests for Tomcat
>>> *8.5.32 *with ANT_OPTS as -Xmx384m
>>>
>>>
>>>
>>> Can someone please have a look into this issue?
>>
>> Have you looked at the change log for the changes between 8.5.32 and
>> 8.5.34 that might be relevant?
>>
>
> It could be changelog in 8.5.33
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.apache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53011&amp;data=02%7C01%7Crarathore%40ptc.com%7Cb925903f163440c0623908d63fe25fc4%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766638847501834&amp;sdata=0pWCHhvlD%2FBKThN%2FvGEbfDE1%2F4SSXHYOaQIx028%2Fk9Q%3D&amp;reserved=0
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.apache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53492&amp;data=02%7C01%7Crarathore%40ptc.com%7Cb925903f163440c0623908d63fe25fc4%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766638847501834&amp;sdata=jzH4WEv0RTY%2BvJYmGvNIKS%2FFM6OSO4Kc8ZFRX4hmt2s%3D&amp;reserved=0
>
>
>
>>
>> Have you tried testing with 8.5.33 to narrow down the version in which
>> the issue first appears?
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
> --
> Guang <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavadevnotes.com%2Fjava-string-to-date&amp;data=02%7C01%7Crarathore%40ptc.com%7Cb925903f163440c0623908d63fe25fc4%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766638847501834&amp;sdata=S2z9J%2Bb75VYOsUR0aeRgyXIAjBTUVPvMxM7BU%2FGCDQ0%3D&amp;reserved=0>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: precompile JSPs failure issue - Tomcat community

Guang Chao
In reply to this post by Rathore, Rajendra
On Thu, Nov 1, 2018 at 7:13 PM Rathore, Rajendra <[hidden email]> wrote:

> Hi Mark,
>
> I am suspecting the same in 8.5.33 tomcat, do you still won't me to check
> it on tomcat 8.5.33?
>

How about increasing your perm memory?


>
> Thanks and Regards,
> Rajendra Rathore
> 9922701491
>
> -----Original Message-----
> From: Guang Chao <[hidden email]>
> Sent: 01 November 2018 03:41 PM
> To: Tomcat Users List <[hidden email]>
> Subject: Re: precompile JSPs failure issue - Tomcat community
>
> On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas <[hidden email]> wrote:
>
> > On 01/11/2018 09:21, Rathore, Rajendra wrote:
> > > Hi Team,
> > >
> > >
> > >
> > > We have precompileJSPs tests that include compilation of around 4000
> > > jsp files. After upgrading to Tomcat *8.5.34* from Tomcat *8.5.32*
> > > we are facing an *Error:*/java.lang.OutOfMemoryError: unable to
> > > create new native thread /
> > >
> > >
> > >
> > > The machines on which tests were executed have *16GB* of RAM, out of
> > > which around *13GB* was free.
> > >
> > > The precompileJSPs tests were executed on Tomcat *8.5.34* by setting
> > > ANT_OPTS from -Xmx4096m to -Xmx10240m, But Still the result was
> > > /OutOfMemoryError./
> > >
> > > / /
> > >
> > > However, We successfully tested precompileJSPs tests for Tomcat
> > > *8.5.32 *with ANT_OPTS as -Xmx384m
> > >
> > >
> > >
> > > Can someone please have a look into this issue?
> >
> > Have you looked at the change log for the changes between 8.5.32 and
> > 8.5.34 that might be relevant?
> >
>
> It could be changelog in 8.5.33
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.apache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53011&amp;data=02%7C01%7Crarathore%40ptc.com%7Cb925903f163440c0623908d63fe25fc4%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766638847501834&amp;sdata=0pWCHhvlD%2FBKThN%2FvGEbfDE1%2F4SSXHYOaQIx028%2Fk9Q%3D&amp;reserved=0
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.apache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53492&amp;data=02%7C01%7Crarathore%40ptc.com%7Cb925903f163440c0623908d63fe25fc4%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766638847501834&amp;sdata=jzH4WEv0RTY%2BvJYmGvNIKS%2FFM6OSO4Kc8ZFRX4hmt2s%3D&amp;reserved=0
>
>
>
> >
> > Have you tried testing with 8.5.33 to narrow down the version in which
> > the issue first appears?
> >
> > Mark
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
> --
> Guang <
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavadevnotes.com%2Fjava-string-to-date&amp;data=02%7C01%7Crarathore%40ptc.com%7Cb925903f163440c0623908d63fe25fc4%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766638847501834&amp;sdata=S2z9J%2Bb75VYOsUR0aeRgyXIAjBTUVPvMxM7BU%2FGCDQ0%3D&amp;reserved=0
> >
>


--
Guang <http://javadevnotes.com/java-string-compare>
Reply | Threaded
Open this post in threaded view
|

RE: precompile JSPs failure issue - Tomcat community

Rathore, Rajendra
Hi Chao,

We already tried it and it still failing.

Thanks and Regards,
Rajendra Rathore
9922701491

-----Original Message-----
From: Guang Chao <[hidden email]>
Sent: 01 November 2018 06:07 PM
To: Tomcat Users List <[hidden email]>
Subject: Re: precompile JSPs failure issue - Tomcat community

On Thu, Nov 1, 2018 at 7:13 PM Rathore, Rajendra <[hidden email]> wrote:

> Hi Mark,
>
> I am suspecting the same in 8.5.33 tomcat, do you still won't me to
> check it on tomcat 8.5.33?
>

How about increasing your perm memory?


>
> Thanks and Regards,
> Rajendra Rathore
> 9922701491
>
> -----Original Message-----
> From: Guang Chao <[hidden email]>
> Sent: 01 November 2018 03:41 PM
> To: Tomcat Users List <[hidden email]>
> Subject: Re: precompile JSPs failure issue - Tomcat community
>
> On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas <[hidden email]> wrote:
>
> > On 01/11/2018 09:21, Rathore, Rajendra wrote:
> > > Hi Team,
> > >
> > >
> > >
> > > We have precompileJSPs tests that include compilation of around
> > > 4000 jsp files. After upgrading to Tomcat *8.5.34* from Tomcat
> > > *8.5.32* we are facing an *Error:*/java.lang.OutOfMemoryError:
> > > unable to create new native thread /
> > >
> > >
> > >
> > > The machines on which tests were executed have *16GB* of RAM, out
> > > of which around *13GB* was free.
> > >
> > > The precompileJSPs tests were executed on Tomcat *8.5.34* by
> > > setting ANT_OPTS from -Xmx4096m to -Xmx10240m, But Still the
> > > result was /OutOfMemoryError./
> > >
> > > / /
> > >
> > > However, We successfully tested precompileJSPs tests for Tomcat
> > > *8.5.32 *with ANT_OPTS as -Xmx384m
> > >
> > >
> > >
> > > Can someone please have a look into this issue?
> >
> > Have you looked at the change log for the changes between 8.5.32 and
> > 8.5.34 that might be relevant?
> >
>
> It could be changelog in 8.5.33
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.ap
> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53011&amp;data=02%7C01%7Crar
> athore%40ptc.com%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d
> 828acb3381f678e2%7C0%7C0%7C636766727188877636&amp;sdata=diEmx1WNaWPvH%
> 2FGMd8Ex%2B4AgZCaGxcC6fez5UD%2FEF1c%3D&amp;reserved=0
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.ap
> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53492&amp;data=02%7C01%7Crar
> athore%40ptc.com%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d
> 828acb3381f678e2%7C0%7C0%7C636766727188877636&amp;sdata=rl1N7m5upe4E7A
> 3zTAx4oht2cjUHfuDoNCWoOHKfkrs%3D&amp;reserved=0
>
>
>
> >
> > Have you tried testing with 8.5.33 to narrow down the version in
> > which the issue first appears?
> >
> > Mark
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
> --
> Guang <
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavade
> vnotes.com%2Fjava-string-to-date&amp;data=02%7C01%7Crarathore%40ptc.co
> m%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d828acb3381f678e
> 2%7C0%7C0%7C636766727188877636&amp;sdata=lEQmu2kFIquRsA5rAeVw17HYosy6O
> 03GGZvt6d6CWCA%3D&amp;reserved=0
> >
>


--
Guang <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavadevnotes.com%2Fjava-string-compare&amp;data=02%7C01%7Crarathore%40ptc.com%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766727188877636&amp;sdata=Cp43ZHDMP7TAF44aMFpRhyHSgN6qtRD7YnSHYiRUc%2FA%3D&amp;reserved=0>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

RE: precompile JSPs failure issue - Tomcat community

Rathore, Rajendra
Hi Mark,

I tried with tomcat 8.5.33 and face the same issue, I logged a bug also
https://bz.apache.org/bugzilla/show_bug.cgi?id=62879

Please let me know how should I proceed here?

Thanks and Regards,
Rajendra Rathore
9922701491

-----Original Message-----
From: Rathore, Rajendra <[hidden email]>
Sent: 01 November 2018 06:10 PM
To: Tomcat Users List <[hidden email]>
Subject: RE: precompile JSPs failure issue - Tomcat community

Hi Chao,

We already tried it and it still failing.

Thanks and Regards,
Rajendra Rathore
9922701491

-----Original Message-----
From: Guang Chao <[hidden email]>
Sent: 01 November 2018 06:07 PM
To: Tomcat Users List <[hidden email]>
Subject: Re: precompile JSPs failure issue - Tomcat community

On Thu, Nov 1, 2018 at 7:13 PM Rathore, Rajendra <[hidden email]> wrote:

> Hi Mark,
>
> I am suspecting the same in 8.5.33 tomcat, do you still won't me to
> check it on tomcat 8.5.33?
>

How about increasing your perm memory?


>
> Thanks and Regards,
> Rajendra Rathore
> 9922701491
>
> -----Original Message-----
> From: Guang Chao <[hidden email]>
> Sent: 01 November 2018 03:41 PM
> To: Tomcat Users List <[hidden email]>
> Subject: Re: precompile JSPs failure issue - Tomcat community
>
> On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas <[hidden email]> wrote:
>
> > On 01/11/2018 09:21, Rathore, Rajendra wrote:
> > > Hi Team,
> > >
> > >
> > >
> > > We have precompileJSPs tests that include compilation of around
> > > 4000 jsp files. After upgrading to Tomcat *8.5.34* from Tomcat
> > > *8.5.32* we are facing an *Error:*/java.lang.OutOfMemoryError:
> > > unable to create new native thread /
> > >
> > >
> > >
> > > The machines on which tests were executed have *16GB* of RAM, out
> > > of which around *13GB* was free.
> > >
> > > The precompileJSPs tests were executed on Tomcat *8.5.34* by
> > > setting ANT_OPTS from -Xmx4096m to -Xmx10240m, But Still the
> > > result was /OutOfMemoryError./
> > >
> > > / /
> > >
> > > However, We successfully tested precompileJSPs tests for Tomcat
> > > *8.5.32 *with ANT_OPTS as -Xmx384m
> > >
> > >
> > >
> > > Can someone please have a look into this issue?
> >
> > Have you looked at the change log for the changes between 8.5.32 and
> > 8.5.34 that might be relevant?
> >
>
> It could be changelog in 8.5.33
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.ap
> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53011&amp;data=02%7C01%7Crar
> athore%40ptc.com%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d
> 828acb3381f678e2%7C0%7C0%7C636766727188877636&amp;sdata=diEmx1WNaWPvH%
> 2FGMd8Ex%2B4AgZCaGxcC6fez5UD%2FEF1c%3D&amp;reserved=0
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.ap
> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53492&amp;data=02%7C01%7Crar
> athore%40ptc.com%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d
> 828acb3381f678e2%7C0%7C0%7C636766727188877636&amp;sdata=rl1N7m5upe4E7A
> 3zTAx4oht2cjUHfuDoNCWoOHKfkrs%3D&amp;reserved=0
>
>
>
> >
> > Have you tried testing with 8.5.33 to narrow down the version in
> > which the issue first appears?
> >
> > Mark
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
> --
> Guang <
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavade
> vnotes.com%2Fjava-string-to-date&amp;data=02%7C01%7Crarathore%40ptc.co
> m%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d828acb3381f678e
> 2%7C0%7C0%7C636766727188877636&amp;sdata=lEQmu2kFIquRsA5rAeVw17HYosy6O
> 03GGZvt6d6CWCA%3D&amp;reserved=0
> >
>


--
Guang <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavadevnotes.com%2Fjava-string-compare&amp;data=02%7C01%7Crarathore%40ptc.com%7Ce055c122a344402f19ff08d63ff74502%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766728579713014&amp;sdata=wcK%2FUGcxwfCAgJVNS4TvabtLLsGavYUKrEON1uDUpCQ%3D&amp;reserved=0>
B KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB  [  X  ܚX KK[XZ[
 \ \  ][  X  ܚX P X ]
 \X K ܙ B  ܈Y][ۘ[  [X[  K[XZ[
 \ \  Z[ X ]
 \X K ܙ B

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: precompile JSPs failure issue - Tomcat community

Rainer Jung-3
Am 02.11.2018 um 10:57 schrieb Rathore, Rajendra:

> Hi Mark,
>
> I tried with tomcat 8.5.33 and face the same issue, I logged a bug also
> https://bz.apache.org/bugzilla/show_bug.cgi?id=62879
>
> Please let me know how should I proceed here?
>
> Thanks and Regards,
> Rajendra Rathore
> 9922701491
>
> -----Original Message-----
> From: Rathore, Rajendra <[hidden email]>
> Sent: 01 November 2018 06:10 PM
> To: Tomcat Users List <[hidden email]>
> Subject: RE: precompile JSPs failure issue - Tomcat community
>
> Hi Chao,
>
> We already tried it and it still failing.
>
> Thanks and Regards,
> Rajendra Rathore
> 9922701491
>
> -----Original Message-----
> From: Guang Chao <[hidden email]>
> Sent: 01 November 2018 06:07 PM
> To: Tomcat Users List <[hidden email]>
> Subject: Re: precompile JSPs failure issue - Tomcat community
>
> On Thu, Nov 1, 2018 at 7:13 PM Rathore, Rajendra <[hidden email]> wrote:
>
>> Hi Mark,
>>
>> I am suspecting the same in 8.5.33 tomcat, do you still won't me to
>> check it on tomcat 8.5.33?
>>
>
> How about increasing your perm memory?
>
>
>>
>> Thanks and Regards,
>> Rajendra Rathore
>> 9922701491
>>
>> -----Original Message-----
>> From: Guang Chao <[hidden email]>
>> Sent: 01 November 2018 03:41 PM
>> To: Tomcat Users List <[hidden email]>
>> Subject: Re: precompile JSPs failure issue - Tomcat community
>>
>> On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas <[hidden email]> wrote:
>>
>>> On 01/11/2018 09:21, Rathore, Rajendra wrote:
>>>> Hi Team,
>>>>
>>>>
>>>>
>>>> We have precompileJSPs tests that include compilation of around
>>>> 4000 jsp files. After upgrading to Tomcat *8.5.34* from Tomcat
>>>> *8.5.32* we are facing an *Error:*/java.lang.OutOfMemoryError:
>>>> unable to create new native thread /
>>>>
>>>>
>>>>
>>>> The machines on which tests were executed have *16GB* of RAM, out
>>>> of which around *13GB* was free.
>>>>
>>>> The precompileJSPs tests were executed on Tomcat *8.5.34* by
>>>> setting ANT_OPTS from -Xmx4096m to -Xmx10240m, But Still the
>>>> result was /OutOfMemoryError./
>>>>
>>>> / /
>>>>
>>>> However, We successfully tested precompileJSPs tests for Tomcat
>>>> *8.5.32 *with ANT_OPTS as -Xmx384m
>>>>
>>>>
>>>>
>>>> Can someone please have a look into this issue?
>>>
>>> Have you looked at the change log for the changes between 8.5.32 and
>>> 8.5.34 that might be relevant?
>>>
>>
>> It could be changelog in 8.5.33
>>
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.ap
>> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53011&amp;data=02%7C01%7Crar
>> athore%40ptc.com%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d
>> 828acb3381f678e2%7C0%7C0%7C636766727188877636&amp;sdata=diEmx1WNaWPvH%
>> 2FGMd8Ex%2B4AgZCaGxcC6fez5UD%2FEF1c%3D&amp;reserved=0
>>
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.ap
>> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53492&amp;data=02%7C01%7Crar
>> athore%40ptc.com%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d
>> 828acb3381f678e2%7C0%7C0%7C636766727188877636&amp;sdata=rl1N7m5upe4E7A
>> 3zTAx4oht2cjUHfuDoNCWoOHKfkrs%3D&amp;reserved=0
>>
>>
>>
>>>
>>> Have you tried testing with 8.5.33 to narrow down the version in
>>> which the issue first appears?
>>>
>>> Mark
>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>> --
>> Guang <
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavade
>> vnotes.com%2Fjava-string-to-date&amp;data=02%7C01%7Crarathore%40ptc.co
>> m%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d828acb3381f678e
>> 2%7C0%7C0%7C636766727188877636&amp;sdata=lEQmu2kFIquRsA5rAeVw17HYosy6O
>> 03GGZvt6d6CWCA%3D&amp;reserved=0
>>>
>>
>
>
> --
> Guang <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavadevnotes.com%2Fjava-string-compare&amp;data=02%7C01%7Crarathore%40ptc.com%7Ce055c122a344402f19ff08d63ff74502%7Cb9921086ff774d0d828acb3381f678e2%7C0%7C0%7C636766728579713014&amp;sdata=wcK%2FUGcxwfCAgJVNS4TvabtLLsGavYUKrEON1uDUpCQ%3D&amp;reserved=0>
> B KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB  [  X  ܚX KK[XZ[
>   \ \  ][  X  ܚX P X ]
>   \X K ܙ B  ܈Y][ۘ[  [X[  K[XZ[
>   \ \  Z[ X ]
>   \X K ܙ B

You can control the number of threads using -threadCount. By default the
number is equals to the number of cores the operating system show to the
JVM. You might want to use a smaller number to see whether that helps.

I suggest you also check your Linux system limits on processes per user.
That system limit on Linux in fact limits threads per user. So if such a
limit is set and your user has other processes with many threads
running, you might need to increase this limit.

In addition you can run your ant process with

strace -f -o /var/tmp/strace.out HERE_COMES_YOUR_ANT_COMMAND &

Then after you get the error, you can check the strace.out file for
system call errors. The file will be big, but most probably the error is
relatively close to the end.

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: precompile JSPs failure issue - Tomcat community

Rathore, Rajendra
Hi Rainer,

We never face this issue with tomcat 8.5.32 and from 8.5.33 it will causing the issue and it happen on both OS Window and Linux, it will be blocking for us because we are not able to update tomcat to latest on and it had some security issue fixed in it, please let me know how should I proceed from here.

Thanks and Regards,
Rajendra Rathore
9922701491

-----Original Message-----
From: Rainer Jung <[hidden email]>
Sent: 02 November 2018 03:50 PM
To: Tomcat Users List <[hidden email]>; Rathore, Rajendra <[hidden email]>
Subject: Re: precompile JSPs failure issue - Tomcat community

Am 02.11.2018 um 10:57 schrieb Rathore, Rajendra:

> Hi Mark,
>
> I tried with tomcat 8.5.33 and face the same issue, I logged a bug
> also
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.ap
> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D62879&amp;data=02%7C01%7Crar
> athore%40ptc.com%7C80d42185b225483c061508d640accfbb%7Cb9921086ff774d0d
> 828acb3381f678e2%7C0%7C0%7C636767508304565081&amp;sdata=FGguJAuq0y%2Ft
> TMNTsd%2Fezc6yTbuOD5wxzlNWdYs8wFI%3D&amp;reserved=0
>
> Please let me know how should I proceed here?
>
> Thanks and Regards,
> Rajendra Rathore
> 9922701491
>
> -----Original Message-----
> From: Rathore, Rajendra <[hidden email]>
> Sent: 01 November 2018 06:10 PM
> To: Tomcat Users List <[hidden email]>
> Subject: RE: precompile JSPs failure issue - Tomcat community
>
> Hi Chao,
>
> We already tried it and it still failing.
>
> Thanks and Regards,
> Rajendra Rathore
> 9922701491
>
> -----Original Message-----
> From: Guang Chao <[hidden email]>
> Sent: 01 November 2018 06:07 PM
> To: Tomcat Users List <[hidden email]>
> Subject: Re: precompile JSPs failure issue - Tomcat community
>
> On Thu, Nov 1, 2018 at 7:13 PM Rathore, Rajendra <[hidden email]> wrote:
>
>> Hi Mark,
>>
>> I am suspecting the same in 8.5.33 tomcat, do you still won't me to
>> check it on tomcat 8.5.33?
>>
>
> How about increasing your perm memory?
>
>
>>
>> Thanks and Regards,
>> Rajendra Rathore
>> 9922701491
>>
>> -----Original Message-----
>> From: Guang Chao <[hidden email]>
>> Sent: 01 November 2018 03:41 PM
>> To: Tomcat Users List <[hidden email]>
>> Subject: Re: precompile JSPs failure issue - Tomcat community
>>
>> On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas <[hidden email]> wrote:
>>
>>> On 01/11/2018 09:21, Rathore, Rajendra wrote:
>>>> Hi Team,
>>>>
>>>>
>>>>
>>>> We have precompileJSPs tests that include compilation of around
>>>> 4000 jsp files. After upgrading to Tomcat *8.5.34* from Tomcat
>>>> *8.5.32* we are facing an *Error:*/java.lang.OutOfMemoryError:
>>>> unable to create new native thread /
>>>>
>>>>
>>>>
>>>> The machines on which tests were executed have *16GB* of RAM, out
>>>> of which around *13GB* was free.
>>>>
>>>> The precompileJSPs tests were executed on Tomcat *8.5.34* by
>>>> setting ANT_OPTS from -Xmx4096m to -Xmx10240m, But Still the result
>>>> was /OutOfMemoryError./
>>>>
>>>> / /
>>>>
>>>> However, We successfully tested precompileJSPs tests for Tomcat
>>>> *8.5.32 *with ANT_OPTS as -Xmx384m
>>>>
>>>>
>>>>
>>>> Can someone please have a look into this issue?
>>>
>>> Have you looked at the change log for the changes between 8.5.32 and
>>> 8.5.34 that might be relevant?
>>>
>>
>> It could be changelog in 8.5.33
>>
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.a
>> p
>> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53011&amp;data=02%7C01%7Cra
>> r
>> athore%40ptc.com%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0
>> d
>> 828acb3381f678e2%7C0%7C0%7C636766727188877636&amp;sdata=diEmx1WNaWPvH
>> %
>> 2FGMd8Ex%2B4AgZCaGxcC6fez5UD%2FEF1c%3D&amp;reserved=0
>>
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.a
>> p
>> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53492&amp;data=02%7C01%7Cra
>> r
>> athore%40ptc.com%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0
>> d
>> 828acb3381f678e2%7C0%7C0%7C636766727188877636&amp;sdata=rl1N7m5upe4E7
>> A
>> 3zTAx4oht2cjUHfuDoNCWoOHKfkrs%3D&amp;reserved=0
>>
>>
>>
>>>
>>> Have you tried testing with 8.5.33 to narrow down the version in
>>> which the issue first appears?
>>>
>>> Mark
>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>> --
>> Guang <
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavad
>> e
>> vnotes.com%2Fjava-string-to-date&amp;data=02%7C01%7Crarathore%40ptc.c
>> o
>> m%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d828acb3381f678
>> e
>> 2%7C0%7C0%7C636766727188877636&amp;sdata=lEQmu2kFIquRsA5rAeVw17HYosy6
>> O
>> 03GGZvt6d6CWCA%3D&amp;reserved=0
>>>
>>
>
>
> --
> Guang
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavad
> evnotes.com%2Fjava-string-compare&amp;data=02%7C01%7Crarathore%40ptc.c
> om%7C80d42185b225483c061508d640accfbb%7Cb9921086ff774d0d828acb3381f678
> e2%7C0%7C0%7C636767508304565081&amp;sdata=Cx%2BDIalffZ3EcaSb7oPQVPx5sl
> JFqdnMg8r2A10E6M8%3D&amp;reserved=0>
> B KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB  [  X  ܚX KK[XZ[
>   \ \  ][  X  ܚX P X ]
>   \X K ܙ B  ܈Y][ۘ[  [X[  K[XZ[
>   \ \  Z[ X ]
>   \X K ܙ B

You can control the number of threads using -threadCount. By default the number is equals to the number of cores the operating system show to the JVM. You might want to use a smaller number to see whether that helps.

I suggest you also check your Linux system limits on processes per user.
That system limit on Linux in fact limits threads per user. So if such a limit is set and your user has other processes with many threads running, you might need to increase this limit.

In addition you can run your ant process with

strace -f -o /var/tmp/strace.out HERE_COMES_YOUR_ANT_COMMAND &

Then after you get the error, you can check the strace.out file for system call errors. The file will be big, but most probably the error is relatively close to the end.

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: precompile JSPs failure issue - Tomcat community

Rainer Jung-3
Am 02.11.2018 um 11:23 schrieb Rathore, Rajendra:
> Hi Rainer,
>
> We never face this issue with tomcat 8.5.32 and from 8.5.33 it will causing the issue and it happen on both OS Window and Linux, it will be blocking for us because we are not able to update tomcat to latest on and it had some security issue fixed in it, please let me know how should I proceed from here.

Others have already pointed you at

https://bz.apache.org/bugzilla/show_bug.cgi?id=53492

This introduced a new feature to JspC to make the compilation
multi-threaded. Before this change it was always done on only one thread.

The good: it will make the compilation of your many JSPs faster.

The bad: it seems to create a yet to understand new problem for you.

I suggest you follow the hints, that I gave in my previous mail.

Regards,

Rainer

> Thanks and Regards,
> Rajendra Rathore
> 9922701491
>
> -----Original Message-----
> From: Rainer Jung <[hidden email]>
> Sent: 02 November 2018 03:50 PM
> To: Tomcat Users List <[hidden email]>; Rathore, Rajendra <[hidden email]>
> Subject: Re: precompile JSPs failure issue - Tomcat community
>
> Am 02.11.2018 um 10:57 schrieb Rathore, Rajendra:
>> Hi Mark,
>>
>> I tried with tomcat 8.5.33 and face the same issue, I logged a bug
>> also
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.ap
>> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D62879&amp;data=02%7C01%7Crar
>> athore%40ptc.com%7C80d42185b225483c061508d640accfbb%7Cb9921086ff774d0d
>> 828acb3381f678e2%7C0%7C0%7C636767508304565081&amp;sdata=FGguJAuq0y%2Ft
>> TMNTsd%2Fezc6yTbuOD5wxzlNWdYs8wFI%3D&amp;reserved=0
>>
>> Please let me know how should I proceed here?
>>
>> Thanks and Regards,
>> Rajendra Rathore
>> 9922701491
>>
>> -----Original Message-----
>> From: Rathore, Rajendra <[hidden email]>
>> Sent: 01 November 2018 06:10 PM
>> To: Tomcat Users List <[hidden email]>
>> Subject: RE: precompile JSPs failure issue - Tomcat community
>>
>> Hi Chao,
>>
>> We already tried it and it still failing.
>>
>> Thanks and Regards,
>> Rajendra Rathore
>> 9922701491
>>
>> -----Original Message-----
>> From: Guang Chao <[hidden email]>
>> Sent: 01 November 2018 06:07 PM
>> To: Tomcat Users List <[hidden email]>
>> Subject: Re: precompile JSPs failure issue - Tomcat community
>>
>> On Thu, Nov 1, 2018 at 7:13 PM Rathore, Rajendra <[hidden email]> wrote:
>>
>>> Hi Mark,
>>>
>>> I am suspecting the same in 8.5.33 tomcat, do you still won't me to
>>> check it on tomcat 8.5.33?
>>>
>>
>> How about increasing your perm memory?
>>
>>
>>>
>>> Thanks and Regards,
>>> Rajendra Rathore
>>> 9922701491
>>>
>>> -----Original Message-----
>>> From: Guang Chao <[hidden email]>
>>> Sent: 01 November 2018 03:41 PM
>>> To: Tomcat Users List <[hidden email]>
>>> Subject: Re: precompile JSPs failure issue - Tomcat community
>>>
>>> On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas <[hidden email]> wrote:
>>>
>>>> On 01/11/2018 09:21, Rathore, Rajendra wrote:
>>>>> Hi Team,
>>>>>
>>>>>
>>>>>
>>>>> We have precompileJSPs tests that include compilation of around
>>>>> 4000 jsp files. After upgrading to Tomcat *8.5.34* from Tomcat
>>>>> *8.5.32* we are facing an *Error:*/java.lang.OutOfMemoryError:
>>>>> unable to create new native thread /
>>>>>
>>>>>
>>>>>
>>>>> The machines on which tests were executed have *16GB* of RAM, out
>>>>> of which around *13GB* was free.
>>>>>
>>>>> The precompileJSPs tests were executed on Tomcat *8.5.34* by
>>>>> setting ANT_OPTS from -Xmx4096m to -Xmx10240m, But Still the result
>>>>> was /OutOfMemoryError./
>>>>>
>>>>> / /
>>>>>
>>>>> However, We successfully tested precompileJSPs tests for Tomcat
>>>>> *8.5.32 *with ANT_OPTS as -Xmx384m
>>>>>
>>>>>
>>>>>
>>>>> Can someone please have a look into this issue?
>>>>
>>>> Have you looked at the change log for the changes between 8.5.32 and
>>>> 8.5.34 that might be relevant?
>>>>
>>>
>>> It could be changelog in 8.5.33
>>>
>>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.a
>>> p
>>> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53011&amp;data=02%7C01%7Cra
>>> r
>>> athore%40ptc.com%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0
>>> d
>>> 828acb3381f678e2%7C0%7C0%7C636766727188877636&amp;sdata=diEmx1WNaWPvH
>>> %
>>> 2FGMd8Ex%2B4AgZCaGxcC6fez5UD%2FEF1c%3D&amp;reserved=0
>>>
>>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbz.a
>>> p
>>> ache.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D53492&amp;data=02%7C01%7Cra
>>> r
>>> athore%40ptc.com%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0
>>> d
>>> 828acb3381f678e2%7C0%7C0%7C636766727188877636&amp;sdata=rl1N7m5upe4E7
>>> A
>>> 3zTAx4oht2cjUHfuDoNCWoOHKfkrs%3D&amp;reserved=0
>>>
>>>
>>>
>>>>
>>>> Have you tried testing with 8.5.33 to narrow down the version in
>>>> which the issue first appears?
>>>>
>>>> Mark
>>>>
>>>> --------------------------------------------------------------------
>>>> - To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>>
>>> --
>>> Guang <
>>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavad
>>> e
>>> vnotes.com%2Fjava-string-to-date&amp;data=02%7C01%7Crarathore%40ptc.c
>>> o
>>> m%7Cc0bce30fc877421ebd6808d63ff6f1f2%7Cb9921086ff774d0d828acb3381f678
>>> e
>>> 2%7C0%7C0%7C636766727188877636&amp;sdata=lEQmu2kFIquRsA5rAeVw17HYosy6
>>> O
>>> 03GGZvt6d6CWCA%3D&amp;reserved=0
>>>>
>>>
>>
>>
>> --
>> Guang
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjavad
>> evnotes.com%2Fjava-string-compare&amp;data=02%7C01%7Crarathore%40ptc.c
>> om%7C80d42185b225483c061508d640accfbb%7Cb9921086ff774d0d828acb3381f678
>> e2%7C0%7C0%7C636767508304565081&amp;sdata=Cx%2BDIalffZ3EcaSb7oPQVPx5sl
>> JFqdnMg8r2A10E6M8%3D&amp;reserved=0>
>> B KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB  [  X  ܚX KK[XZ[
>>    \ \  ][  X  ܚX P X ]
>>    \X K ܙ B  ܈Y][ۘ[  [X[  K[XZ[
>>    \ \  Z[ X ]
>>    \X K ܙ B
>
> You can control the number of threads using -threadCount. By default the number is equals to the number of cores the operating system show to the JVM. You might want to use a smaller number to see whether that helps.
>
> I suggest you also check your Linux system limits on processes per user.
> That system limit on Linux in fact limits threads per user. So if such a limit is set and your user has other processes with many threads running, you might need to increase this limit.
>
> In addition you can run your ant process with
>
> strace -f -o /var/tmp/strace.out HERE_COMES_YOUR_ANT_COMMAND &
>
> Then after you get the error, you can check the strace.out file for system call errors. The file will be big, but most probably the error is relatively close to the end.
>
> Regards,
>
> Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: precompile JSPs failure issue - Tomcat community

Christopher Schultz-2
In reply to this post by Rainer Jung-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Rainer,

On 11/2/18 06:20, Rainer Jung wrote:
> You can control the number of threads using -threadCount. By
> default the number is equals to the number of cores the operating
> system show to the JVM.

x 2

> You might want to use a smaller number to see whether that helps.
>
> I suggest you also check your Linux system limits on processes per
> user. That system limit on Linux in fact limits threads per user.
> So if such a limit is set and your user has other processes with
> many threads running, you might need to increase this limit.
>
> In addition you can run your ant process with
>
> strace -f -o /var/tmp/strace.out HERE_COMES_YOUR_ANT_COMMAND &
>
> Then after you get the error, you can check the strace.out file
> for system call errors. The file will be big, but most probably the
> error is relatively close to the end.

- -chris

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvcTpgACgkQHPApP6U8
pFjorRAAgGTY4qhWtokCdEqowTjN3rWQUk75aCCEEX/zxhQloiXf3cC1CeQEDqjG
SwnATFP7VN7/z1vAdgV9MQlK4SFBy5mp/Tf8HL8K33h6kv0CoEIcvjYbn5fUbpAu
QxmD7zZzEol2hXaKm8+oMnIe28G+dp74jqEpUgbhLDZhd4gAZxc+lejkHRIM8Sqj
hAdi1jh3cslwRpHf5j+Ff9BvYfAuS7ET6aT6e85zsFotj3S6LoXr8zX2HxoDuYWc
P1OebWr9lrJDp/QZEdVDGYPk3b4mZWWG56BK0TTBo+b0TY+52bgXnG71g0tfK1PB
MV1E4wVOj1wYwTuqmZIBXUfLzvGZMIEDG8p4Ne/pM3Hf/ekViQdW7wE19Ro28b3m
iF5AQqeG80P+yerTk7Vic5p7YV11rZrnFT9bUYOe3zBwLJL/GG9zgBQJj1usGtLT
nCmS/7wj4YvqWr8UtagqfbzYyXpEZZ0ZQt67bfONLCXTyyDkd4vRQauGJkMnQEL3
Qobw9SVOefxvVa7ChNBmja6KlmsGhmSlSzW51o2UUiGuwl0tuuwuccw4A+baUMF+
8d/rfzEhFW7SF4Y1/681rvWoEyxA05ILd80+i9BSzr66z+v2+21i5ivWqYZ+TWaF
g8X7kk84JriPgiEbuwqvCG6TmpaXOF0w1FW20s28XiH7uvyllPE=
=/xUp
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: precompile JSPs failure issue - Tomcat community

Rathore, Rajendra
Hi Rainer/Chris,

I tried below command, it also fails with same error,
Please find attached output of strace command, I am unable to found any help from that file or I might not have much idea about it, can you please check it and let me know your finding, mean while is there any way to run the jspc command in single thread model like 8.5.32 tomcat version.

Thanks and Regards,
Rajendra Rathore
9922701491

-----Original Message-----
From: Christopher Schultz <[hidden email]>
Sent: 02 November 2018 06:48 PM
To: [hidden email]
Subject: Re: precompile JSPs failure issue - Tomcat community

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Rainer,

On 11/2/18 06:20, Rainer Jung wrote:
> You can control the number of threads using -threadCount. By default
> the number is equals to the number of cores the operating system show
> to the JVM.

x 2

> You might want to use a smaller number to see whether that helps.
>
> I suggest you also check your Linux system limits on processes per
> user. That system limit on Linux in fact limits threads per user.
> So if such a limit is set and your user has other processes with many
> threads running, you might need to increase this limit.
>
> In addition you can run your ant process with
>
> strace -f -o /var/tmp/strace.out HERE_COMES_YOUR_ANT_COMMAND &
>
> Then after you get the error, you can check the strace.out file for
> system call errors. The file will be big, but most probably the error
> is relatively close to the end.
- -chris

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvcTpgACgkQHPApP6U8
pFjorRAAgGTY4qhWtokCdEqowTjN3rWQUk75aCCEEX/zxhQloiXf3cC1CeQEDqjG
SwnATFP7VN7/z1vAdgV9MQlK4SFBy5mp/Tf8HL8K33h6kv0CoEIcvjYbn5fUbpAu
QxmD7zZzEol2hXaKm8+oMnIe28G+dp74jqEpUgbhLDZhd4gAZxc+lejkHRIM8Sqj
hAdi1jh3cslwRpHf5j+Ff9BvYfAuS7ET6aT6e85zsFotj3S6LoXr8zX2HxoDuYWc
P1OebWr9lrJDp/QZEdVDGYPk3b4mZWWG56BK0TTBo+b0TY+52bgXnG71g0tfK1PB
MV1E4wVOj1wYwTuqmZIBXUfLzvGZMIEDG8p4Ne/pM3Hf/ekViQdW7wE19Ro28b3m
iF5AQqeG80P+yerTk7Vic5p7YV11rZrnFT9bUYOe3zBwLJL/GG9zgBQJj1usGtLT
nCmS/7wj4YvqWr8UtagqfbzYyXpEZZ0ZQt67bfONLCXTyyDkd4vRQauGJkMnQEL3
Qobw9SVOefxvVa7ChNBmja6KlmsGhmSlSzW51o2UUiGuwl0tuuwuccw4A+baUMF+
8d/rfzEhFW7SF4Y1/681rvWoEyxA05ILd80+i9BSzr66z+v2+21i5ivWqYZ+TWaF
g8X7kk84JriPgiEbuwqvCG6TmpaXOF0w1FW20s28XiH7uvyllPE=
=/xUp
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

errortomcat.txt (24K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: precompile JSPs failure issue - Tomcat community

Rainer Jung-3
Am 06.11.2018 um 10:10 schrieb Rathore, Rajendra:
> Hi Rainer/Chris,
>
> I tried below command, it also fails with same error,
> Please find attached output of strace command, I am unable to found any help from that file or I might not have much idea about it, can you please check it and let me know your finding, mean while is there any way to run the jspc command in single thread model like 8.5.32 tomcat version.

I see

10807 clone(child_stack=0x7f53af001fb0,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x7f53af0029d0, tls=0x7f53af002700,
child_tidptr=0x7f53af0029d0) = -1 EAGAIN (Resource temporarily unavailable)

I'm not sure, whether that is actualy the same error that you eported
originally "unable to create new native thread" or whether you now got a
different error logged?

The man pages for the clone() system call says:

   EAGAIN Too many processes are already running; see fork(2)

and the fork() man page says:

   EAGAIN fork() cannot allocate sufficient memory to copy the parent's
page tables and allocate a task structure for the child.

   EAGAIN It  was  not  possible  to create a new process because the
caller's RLIMIT_NPROC resource limit was encountered.  To exceed this
limit, the process must have either the CAP_SYS_ADMIN or the
CAP_SYS_RESOURCE capability.

So I would - as already mentioned - check you nproc limit (output of
"ulimit -u" and "ulimit -u -h") and I would also *reduce* the heap size
a lot.

Regards,

Rainer


> Thanks and Regards,
> Rajendra Rathore
> 9922701491
>
> -----Original Message-----
> From: Christopher Schultz <[hidden email]>
> Sent: 02 November 2018 06:48 PM
> To: [hidden email]
> Subject: Re: precompile JSPs failure issue - Tomcat community
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Rainer,
>
> On 11/2/18 06:20, Rainer Jung wrote:
>> You can control the number of threads using -threadCount. By default
>> the number is equals to the number of cores the operating system show
>> to the JVM.
>
> x 2
>
>> You might want to use a smaller number to see whether that helps.
>>
>> I suggest you also check your Linux system limits on processes per
>> user. That system limit on Linux in fact limits threads per user.
>> So if such a limit is set and your user has other processes with many
>> threads running, you might need to increase this limit.
>>
>> In addition you can run your ant process with
>>
>> strace -f -o /var/tmp/strace.out HERE_COMES_YOUR_ANT_COMMAND &
>>
>> Then after you get the error, you can check the strace.out file for
>> system call errors. The file will be big, but most probably the error
>> is relatively close to the end.
>
> - -chris

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: precompile JSPs failure issue - Tomcat community

Christopher Schultz-2
In reply to this post by Rathore, Rajendra
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Rajendra,

On 11/6/18 04:10, Rathore, Rajendra wrote:
> I tried below command, it also fails with same error,

> Please find attached output of strace command, I am unable to
> found any help from that file or I might not have much idea about
> it, can you please check it and let me know your finding, mean
> while is there any way to run the jspc command in single thread
> model like 8.5.32 tomcat version.
Please post the exact ant target which is being executed, including
all various switches that are being applied -- either directly on jspc
itself, or on the JVM running ant (if you are not forking the JVM to
run jspc). I'm especially interested in:

 a) the number of threads you have set
 b) the stack size (per thread)

Also, please post the output of these commands:

$ ulimit -a

$ cat /proc/sys/kernel/threads-max

- -chris

> -----Original Message----- From: Christopher Schultz
> <[hidden email]> Sent: 02 November 2018 06:48 PM To:
> [hidden email] Subject: Re: precompile JSPs failure issue
> - Tomcat community
>
> Rainer,
>
> On 11/2/18 06:20, Rainer Jung wrote:
>> You can control the number of threads using -threadCount. By
>> default the number is equals to the number of cores the operating
>> system show to the JVM.
>
> x 2
>
>> You might want to use a smaller number to see whether that
>> helps.
>
>> I suggest you also check your Linux system limits on processes
>> per user. That system limit on Linux in fact limits threads per
>> user. So if such a limit is set and your user has other processes
>> with many threads running, you might need to increase this
>> limit.
>
>> In addition you can run your ant process with
>
>> strace -f -o /var/tmp/strace.out HERE_COMES_YOUR_ANT_COMMAND &
>
>> Then after you get the error, you can check the strace.out file
>> for system call errors. The file will be big, but most probably
>> the error is relatively close to the end.
>
> -chris
>
>
> ---------------------------------------------------------------------
>
>
To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
>
> ---------------------------------------------------------------------
>
>
To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvhnKkACgkQHPApP6U8
pFirdQ/7BFd/Xpgdra2U0LMr3NwvsfXbEvsy5OgkgxEZgilaZrSVjwcXthIti0yD
SwxTOpaLhTD26aP4osJIo5BpjFvgqoBkxVaTVDCjflaujX6Pf1kIRnWJX3I4s6So
q9luIQiW901De1w50t+ydmNmEFyMXxbbDLwZCA/a3hgSAi9IUbL69R3zO8QthL3+
tzy//bg06UDwPGvb9G3JQO9EX4ehEIbcCJdgbyKQMIIscF8vyQch8uWUhlgzhByx
TF1xyOxr2XkbNaJ5oRw/YoRxOD9OuJnkjjLqKyPAZM63ZhIGED/Ef7C3i39w8tw8
8J/PO6Q8fSi/ZBBXhzicI2zqXBykQbOadkYdtq5Mr1KVswPZms7kYRYr1Dbupp9l
nsW68D8QJ0djkWDggidx0A+90XBZnhjjot1QszVi62r4VVnIIiDjREqavgryE6XB
ybzbCOeyUEDuVp9MZFe7Opl2KxoPZLrNABxfhPsdsa+b2br+QfQWeDjsDPdkEosv
6YyWz8O1x9Py4ugrBpHr4DZ8tE6cwACYuxMUbeYuZuWOpyEJgODTSX7xYj8ESesS
UrA7ik1/5UW8rEUd/E/BIqm6H+mgUtLvcQQHGLy7/1AiiGxVCYCLLCUt4eb+1uC4
boeJxX+3nrw96QkQOgi6p4SNcQH1ql46/1DuC05CMURi8FXhHQ8=
=GFeI
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]