Software :: Memory Depletion On Server Running Tomcat / Can't Find The Cause

Jan 14, 2011

Due to a ton of research I believe I now understand the output of ps, top, and free better than ever, and also have a relatively decent grasp on memory management (virtual address space, etc.) than I ever did before. With that being said, my server is super low on available memory and I can't make 1+1=2 on why it is. I suspect it's Tomcat/JVM (which I admittedly know precious little about). I am rebuilding this server (for a number of reasons) and plan to install 8GB but solving this mystery is key to supporting/promoting my design plans.

Relevant info So, I have very little memory left, I am swapping pretty hardcore, and even though I suspect it's the Tomcat/JVM stuff, it sure doesn't look like it from the memory tools. For that matter though it looks like "nothing" is using memory, or certainly not enough to cause such a low memory problem. The server was rebooted 24 days or so ago because it actually ran out of all virtual memory. How do I solve this mystery? Am I using the wrong tools? Am I misunderstanding my tools? What can I do to track down the processes depleting my memory?

View 5 Replies


ADVERTISEMENT

Server :: Using Apache As A Front End To A Running Tomcat Instance?

Jul 20, 2010

I am having a problem.I use Ubuntu 10.04 server edition.Two computers on LAN one with Public Ip A other with local (Class C IP)say it BWith a third computer in same subnet I can access a TomCat application running on B as http://Ip of B:8080/applicationI want to use A as a Reverse Proxy for this application to be reachable from internet.So on Googling I came across some thing known as mod_ajp I enabled that on my Server A asa2enmod proxya2enmod proxy_ajpa2enmod headersbut after that I am not able to understand as how do I define vhost to be able to forward HTTP request which come on A as www.myserver.com/appto B which I can see internally as http://Ip of B:8080/application so Tomcat on B handles this.

View 4 Replies View Related

Software :: Tomcat Server Is Running But Web-page Is Not Coming?

Jul 11, 2011

I am struggling with some issues Apache-tomcat is running fine, and port:8080 is also LISTEN but when am tiring to access the tomcat web_page is not up ,why ?

View 2 Replies View Related

CentOS 5 Networking :: XP Boxes - Tomcat Server Running On Port 8080

May 5, 2009

My first time installing centos server and adding it to xp home network. I am new to setting up my own network in general. I have a home windows wired ethernet xp network (simple linxs router) with 2 xp boxes and one centos5 box all connected to the same router. I just set up the centos box running tomcat on port 8080. I need to do two very basic things at this point, but am not sure what I need to do:

What do I need to do so I can:
1. Connect in firefox on one of my xp boxes and call the tomcat server running on my centos box?
2. Be able to ftp to centos box from either of my xp boxes?

View 2 Replies View Related

General :: Find Memory Usage Of Shared Library Running In System?

Nov 30, 2010

I need to find the memory usage of a shared library loaded in Linux environment.

I need this information for deciding on whether to make the library part in to application or a seperate application itself.

View 3 Replies View Related

Ubuntu Servers :: Eclipse And Tomcat Are Running But Can't See Tomcat In The Eclipse

Sep 1, 2010

I installed eclipse and tomcat with package manager. Eclipse and tomcat are running but i can't see tomcat in the eclipse. I just see 'Basic' folder. That is a screenshot [URL]

View 1 Replies View Related

General :: Find Out How Much Memory My Server Has?

Aug 15, 2010

how can i find out how much memory my server has?

i am running centOS 5

View 2 Replies View Related

Server :: Physical Memory Lost After Running SOSreport?

Jan 2, 2011

Before running SOSreport, the free physical memory is 5389Mb out of 8Gb.

After running SOSreport, the free physical memory is 3229Mb.

Why is this so? how we can free up the physical memory.

View 4 Replies View Related

CentOS 5 Server :: Determine Memory Consumed By Each Application Running?

Feb 22, 2011

What would be the best way to determine memory consumed by each application running on the server?

View 7 Replies View Related

Server :: Find Total Apache Memory Usage?

Sep 12, 2010

Top only show the memory usage for individual processes. Apache often runs hundreds of processes, each of which may use only a small amount of memory, however the total memory consumed by all apache processes can be fairly large.Is there a way to see the total memory usage for all apache processes?

View 7 Replies View Related

General :: Tomcat Stops Running When Exit The Terminal

Jul 10, 2011

I am trying to run Tomcat on Ubuntu System from a remote host. However, when I exit the terminal, Tomcat process shuts down.

The command I am using to run it is

nohup ./startup.sh &

View 1 Replies View Related

Ubuntu Servers :: Running Tomcat Using Java VM Option

May 31, 2010

I'm trying to get a Tomcat server running using the Java VM -server option on Ubuntu Karmic 9.10 (I'm using the official Karmic AMI on EC2: ami-bb709dd2)

I install Tomcat:
Code:
sudo apt-get -y install tomcat6

I set up a bit of configuration in /etc/default/tomcat6:
Code:
JAVA_OPTS="-Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"

I can start Tomcat with no problems:
Code:
sudo /etc/init.d/tomcat6 restart

However, if I add the -server option into the JAVA_OPTS variable, like so:
Code:
JAVA_OPTS="-server -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"

I get this:
Code:
$ sudo /etc/init.d/tomcat6 restart
* Stopping Tomcat servlet engine tomcat6
...done.
* Starting Tomcat servlet engine tomcat6
Invalid option -server
Cannot parse command line arguments

How do I set the -server option correctly?

View 1 Replies View Related

Fedora :: Unable To Start Tomcat 6 While Running Liferay?

May 26, 2010

after executing the commands

1. ./startup.sh
2. tail -f ../logs/catalina.out

the following error comes on the terminal

.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:1245)

[code]....

View 5 Replies View Related

General :: Script To Check Tomcat And Pgsql Running Or Not?

Jun 23, 2011

I have Linux server with cent OS.I have installed tomacat6.0 and postgresSQL8.3 on it.The thing is i wanna know whether the tomcat and postgresSQL is running or not using the script.

View 1 Replies View Related

Ubuntu :: Apache Tomcat - Cannot Find Common Lib Folder

Jan 3, 2011

I am trying out jUDDI. I have to copy the MySQL JDBC driver to {TOMCAT}/common/lib but the thing is I am new to Linux and I cannot find the common/lib folder. I tried to search for apache inside the usr/lib so that i could copy the MySQL JDBC driver inside it but couldn't find the specific folder. 'Locate' and 'which' were not very helpful. I have installed 'servlet and jsp engine' for tomcat 6.

View 1 Replies View Related

Ubuntu Servers :: Recommended System For Running Tomcat (for JIRA Etc) + GIT In WMWare?

Oct 9, 2010

I want to build a NAS like mini pc to be used as a simple tomcat server (for running Jira and perhaps experimenting a bit) and as a GIT server. What kind of system requirements would I have?

Would something like this:[URL]../nas/n...sed-nas-part-2 be sufficient? And if I'd virtualized everything via VMWares would that make a lot of difference?

View 2 Replies View Related

Security :: 100's Of "apache-init-server" - Keeps Running Out Of Memory

Sep 25, 2010

I have a VPS that has 512MB of ram. I'm using it as a mail/web server. It keeps running out of memory. I know amavis/clamav are memory hogs, but I checked my ps aux and found 100's of instances of "apache-init-server" running. I killed them all, and they keep spawning back. What could be causing this. I've never seen this on a webserver before. OS: CentOS 5.5

View 10 Replies View Related

Ubuntu Servers :: Setup SOCKS5 Proxy - Cannot Find A Way To Get A SOCKS Server Up And Running On VPS

Mar 30, 2010

I have an interesting situation. I'd like to use bittorrent for legitimate purposes (mainly linux distro based) but the powers that be have blocked access to bittorrent at my university. I have an ubuntu VPS that I use for odds and ends and was thinking that I could setup a SOCKS5 server on it. That way, I can input the SOCKS5 info directly into the proxy section of my local bittorrent application (Transmission 1.92 running on snow leopard) and be good to go. The problem, however, is that I cannot find a way to get a SOCKS server up and running on my VPS. I've heard that ssh can be used as a simple SOCKS server, but I've also heard that i may need to install a more complete SOCKS server such as dante. Does anyone have any thoughts on this?

View 1 Replies View Related

Ubuntu Multimedia :: Rhythmbox Won't Pickup Or Find Ps3 Media Server Running On Desktop?

Mar 5, 2011

I've installed this plugin via other guides

sudo apt-get install rhythmbox-plugin-coherence

just wondering why rhythmbox won't pickup or find my ps3 media server running on my desktop? my ps3 finds it?

i've done some research around the forums and google seems i'm not the only one with this trouble....

is there an alternative server that could work for this?

View 2 Replies View Related

Security :: Qmail Hacked In Server \ Cannot Find Any Suspicious Script Running Using Ps Xaf Command?

Jan 3, 2011

My server is probaly hacked and sending spam emails. I see them randomly in maillog (/usr/local/psa/var/log/maillog, server has a plesk panel), sometimes a few in a long time, sometimes a lot of them.Here is a sample of it:

Jan 4 00:47:08 acv360 qmail-remote-handlers[17662]: Handlers Filter before-remote for qmail started ...
Jan 4 00:47:08 acv360 qmail-remote-handlers[17662]: from=root@acv360.com

[code].....

View 7 Replies View Related

Server :: Clear Cache Memory ( RHEL 5.1 ) As It Consumes Almost 100% Physical Memory?

Jan 11, 2010

let me know how to clear cache memory ( RHEL 5.1 ) as it consumes almost 100% physical memory.

View 3 Replies View Related

OpenSUSE Install :: Virtual Memory / Resident Memory Of Server?

Feb 3, 2010

we found that if we use 'top' to show the memory usage of a server (SuSe Linux 10), we can get virtual memory usage as well as 'Resident memory' usage. For virtual mem or a particular process, it is around 1.1GB, which is large but for resident memory, it only consumes 300MB. Are there anyone who knows what the differences are? I would also like to know whether the difference (1.1GB - 300MB) = 800MB are actually available for use by other applications in the system.

View 1 Replies View Related

Server :: Performance Tunning Of Apache-tomcat And Jboss Application Server?

Jul 2, 2010

Can anyone tell me in performance tunning of apache-tomcat and jboss application server?when I deploy some application in apache-tomcat the performance is say 100 users per second and incase of jboss it is even worst (35-40 users per second)i want to improve my performance 1000 uesrs per second..

View 1 Replies View Related

Server :: Single Wildcard Certificate For Apache Httpd Server And Tomcat?

Feb 10, 2010

I have a requirement of using a wildcard certificate for 5 subdomains running under apache httpd server and 1 subdomain under tomcat.Is there any possibility of using the single wildcard certificate both in tomcat and apache

View 3 Replies View Related

CentOS 5 Server :: Start Jboss And Tomcat Automatically, When I Do Reboot The Server?

Sep 9, 2009

I have one server with Jboss and Tomcat installed, I have to start these servers manually everytime I do reboot the server.How I could do to start Jboss and Tomcat automatically, when I do reboot the server?

View 1 Replies View Related

Server :: SFTP Memory Error / Getting An Out Of Memory?

Jan 8, 2011

I have been setting up a vps I got out with bhost.net, with CentOS installed. I've been learning and have set up everying I need with the exception of ftp/sftp.

Using yum I installed vsftpd and ran into problems, thinking it was something I might of done I did a fresh install of CentOS and I still recieve the same problem on a fresh install so it is nothing I have done to the server.

The problem is when connecting via a sftp client I get an out of memory error. This error is listed in the putty faq ( url ) under A.7.5, there is a brief explaintion of the cure under A.7.6.

there is mention of a login script but I don't know where this is located. I'm a novice at Linux but by no means incompotent when it comes to computing.

View 5 Replies View Related

Red Hat / Fedora :: Setting Up A DNS Server For Tomcat

Apr 11, 2010

I am stuck with an issue related to domain hosting. Currently i have an application hosted in my own server using a static ip from a service provider. I got a domain name from another domain provider. Everything went in right way till when i click my url in browser using internet through another system. I am able to see my application when i use my ip address, where as when i use my domain name its not working.

[Code]....

View 2 Replies View Related

Server :: Benchmarking Tomcat Vs Apache

Jun 4, 2009

I have used same Hardware and OS platfrom for web server benchmarking and i have used similar php and jsp scripts for Apache and Tomcat. For this testing i have used apache ab benchmarking toolFrom this statistics i would like to clarify the performances about Apache and Tomcat.

1. why Tomcat have taken too much of time to finish this 10 million requests to compare with Apache?
2. why this huge different for "Request per Second"?
3. To Tomcat i have increased multi thread level 300 and JVM memory usage upto 2048mb(but performances not increased), rather than these, is there any other performance tune-up settings for Tomcat?
4. from these statistics, can i come to the conclusion that apache is the best?
5.do u feel that ab tool favouring to Apache?

View 1 Replies View Related

Server :: How To Connect Apache To Tomcat?

May 1, 2011

I'm configuring a web server using Apache and Tomcat. I use Apache 2 and various instances of Tomcat5 and Tomcat6..I try that Apache serves the static data and tomcat the dynamic (Apache receives all requests, sending tomcat only the dynamic)I see that Apache and Tomcat can be connected using http or ajp Can any tell me:
- What connector should I use: ajp, http,...?
- How can I say Apache to serve the static data and Tomcat the dynamic?Due to I have many instances of Tomcat, connectins http and https, https with client certificates, and due to the port configuration:
- Is there any way to configure Apache-tomcat without the use of ports in tomcat (a differect connector)?

View 3 Replies View Related

Server :: Install Apache Tomcat

Mar 16, 2010

I need to install apache tomcat on centos 5.3...How can i do it

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved