Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Eric Chua
I use free -m , ps and top.  I have three separate web applications.  One that runs one Tomcat7/Java 7, one built on Java8/Tomcat8 and one that  was converted from Java7/Tomcat7 to Java8/tomcat8.  When running our Java 7 application, it takes very little memory running on windows and Linux. For

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread calder
On Mon, Mar 20, 2017 at 4:46 PM, Eric Chua wrote: > siteadm@mavs01web11q:/data/tools/jvmtop $ top -U siteadm > > top - 12:41:20 up 19 min, 3 users, load average: 1.25, 1.24, 0.87 > > Tasks: 130 total, 1 running, 129 sleeping, 0 stopped, 0 zombie > Cpu(s):

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Aurélien Terrestris
"I think you are chasing a ghost that isn't actually there." I agree with Chris. You should try to clean the caches and I believe that you will see your memory back "free". Have a look at how to do it here :

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Eric Chua
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } When I run my application in a windows environment I use a few hundred megabytes.  When I use RHL, it takes up the entire 16gb

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Thomas Meyer
With kind regards Thomas > Am 17.03.2017 um 14:54 schrieb Christopher Schultz > : >> Note that Java *never* gives any memory back to the OS, even when the > heap-usage goes down. This is a Java thing, not a Tomcat thing. > Are you sure about this? I think I've

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Eric Chua
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } I took a based configuration right from the tar file and started tomcat.  I only changed the http and ajp port numbers. I

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Eric Chua
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Also the configuration files were taken from tomcat 7.  Could there be an issue there? Sent from Yahoo Mail for iPhone On

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Eric Chua
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } That is correct and baffling.  My user doesn't own that memory and the unix admin keeps saying it is an issue with a memory leak

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread tomcat
Hi. I will exceptionally contravene the usual rules of this list, which are to not top-post. But your message below is so badly-formatted, that a comment in the middle would be difficut to read otherwise. One thing attracted my attention below : you mention that "the entire memory was being

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Eric Chua
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } I used jvmtop.  The web application used the entire 16gb and the allocated heap.  The report I was running never finished ARGS:

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Eric Chua
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } siteadm   2007 1  7 11:04 pts/0    00:00:00 /data/java/jdk1.8.0_121/bin/java

Re: [OT] Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread tomcat
On 20.03.2017 09:36, Olaf Kock wrote: Am 20.03.2017 um 09:30 schrieb André Warnier (tomcat): One may wonder in fact : if when resizing the Heap downwards, the JVM is anyway not going to give the surplus memory back to the OS, then why bother ? what is the surplus ex-Heap memory then used

Re: Tomcat Hangs up and doesn't start

2017-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mahmoud, On 3/20/17 6:36 AM, Mahmoud Ramadan wrote: > Thanks for the reply , i solved my issue by disabling the Centos > firewall Don't do that! Instead, open the single port that you need (port 8080) and leave the firewall running. > now i can

Re: [OT] Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/18/17 2:58 PM, Mark Eggers wrote: > I also have a lot of systems running on AWS Elastic Beanstalk, but > right now those systems are stock AWS AMI images. > > They're running AWS's repackaged Tomcat 8.0.41, and OpenJDK > 1.8.0_121-b13.

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Erir, On 3/18/17 2:09 AM, Eric Chua wrote: > Thanks for getting back to me. The Linux version is 6.8. I am > unable to reclaim the memory on the system without a reboot . > Though i kill my process, i dont see where the memory went. When I > run

Re: Tomcat Hangs up and doesn't start

2017-03-20 Thread Mahmoud Ramadan
Hi , Thanks for the reply , i solved my issue by disabling the Centos firewall , now i can browse the server remotely , thanks Best Regards, Mahmoud Ramadan Ali Network and VOIP Specialist. Mobil: (+2) 01276877112 Blog | Website

Re: Tomcat 8.5.3 with Apr Connector throws NullPointerException

2017-03-20 Thread linbo liao
Thanks Mark. Now tomcat is in production. If upgrade to 8.5.12, we will test our application is compatible with 8.5.12 first. Sorry for the limit information. Here is tomcat configuration file (remove comment line):

Re: Tomcat 8.5.3 with Apr Connector throws NullPointerException

2017-03-20 Thread Mark Thomas
On 20/03/17 03:15, linbo liao wrote: > Hi, > > My tomcat throws NullPointerException sometimes. Here is environment: > > Linux VM: RedHat Enterprise Linux Server release 6.7 x86_64 > Tomcat: 8.5.3 > JVM: HotSpot 64-Bit Server VM 1.8.0_65 > APR: 1.5.2-1 > Tomcat Native: 1.2.7 I'd recommend

Re: [OT] Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread Olaf Kock
Am 20.03.2017 um 09:30 schrieb André Warnier (tomcat): > One may wonder in fact : if when resizing the Heap downwards, the JVM > is anyway not going to give the surplus memory back to the OS, then > why bother ? what is the surplus ex-Heap memory then used > interestingly for, by the JVM ?

Re: [OT] Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread tomcat
On 19.03.2017 20:33, Olaf Kock wrote: Am 19.03.2017 um 13:37 schrieb André Warnier (tomcat): On 17.03.2017 14:54, Christopher Schultz wrote: Note that Java *never* gives any memory back to the OS, even when the heap-usage goes down. This is a Java thing, not a Tomcat thing. I did not