-----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
> <ch...@christopherschultz.net> Sent: 02 November 2018 06:48 PM To:
> users@tomcat.apache.org 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: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
-----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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to