BOB: Business Objects Board
Not endorsed by or affiliated with SAP

Register | Login 

Want to sponsor BOB? 
Want to sponsor BOB? (Opens a new window)  

General Notice: BOB is going to retire...please see details here.
General Notice: No events within the next 45 days.

TOMCAT sever
1 members found this topic helpful
Goto page 1, 2  Next
 
Search this topic... | Search Server Administration, Installation, Upgrades... | Search Box
Register or Login to Post    Forum Index -> Server Administration, Installation, Upgrades  Previous TopicPrint TopicNext Topic
Author Message
rajeshmasapu
Forum Member
Forum Member



Joined: 23 Jun 2007

Posts: 20



PostPosted: Thu Dec 30, 2010 8:21 am 
Post subject: TOMCAT sever

Hi all,

We have a problem with our tomcat server. Whenever we schedule more number of reports, say 200 tomcat is going to hung state. We use to restart the Tomcat and then everything looks fine. my collegue advised to restart tomcat every week (weekly activity).
My question is - Why we should do an weekly activity of restarting tomcat and what are the advanteges of it?
Can anyone tell us the details or any documentation available regarding the advantages of doing this weekely activity of restarting tomcat?

If my question is unclear and any details required, do let me know.

Request to reply as soon as possible as i need to prepare a document on the same.

Thanks in advance,
Rajesh
Back to top
Chris Pohl
Forum Addict
Forum Addict



Joined: 18 Jun 2002
ASUG Icon
speaker.gif
Posts: 2886
Location: da' burg


flag
PostPosted: Mon Jan 03, 2011 11:17 am 
Post subject: Re: TOMCAT sever

[Moved from Performance Management to Server Administration]

You should also list what version of the product you are using.

and I concur with your collegue, a periodic recycle for tomcat can only help

_________________
Chris Pohl
Follow me on Twitter
Search is Your Friend™
Back to top
BO_Chief
Forum Fanatic
Forum Fanatic



Joined: 06 Jun 2004
ASUG Icon
Posts: 5585
Location: Somewhere on God's Land.


flag
PostPosted: Mon Jan 03, 2011 5:28 pm 
Post subject: Re: TOMCAT sever

Quote:
Can anyone tell us the details or any documentation available regarding the advantages of doing this weekely activity of restarting tomcat?


This is what we call maintenance...!!

Without restart how will a process completely gets released from the memory once it is bought into the memory. ? In order not to waste more time on guessing or finding why a certain process did not released completely from the memory. You just need to reboot the server to start up clean. At our location, every 24 hours we reboot most of our servers.

Everyone is doing it, you have to do it.

_________________
help us help you! make sure your post has the following elements:
• Does it include BO version, Database, an error, a problem, a SQL for object or Condition ?
• Does it include some sample data what you have?
• Does it include any code you already tried ? (working or not..)
• Did you explain what you want for results?
If any of those elements are missing,chances are you didn't post enough information for us to help you!
Back to top
tenather
Principal Member
Principal Member



Joined: 29 Aug 2002
ASUG Icon
speaker.gif*6
Posts: 268


flag
PostPosted: Mon Jan 17, 2011 7:05 am 
Post subject: Re: TOMCAT sever

You can do a start/stop just on the Tomcat service, I found that to stablize everything.

We do all our servers every 24 hours and it releases all the memory and gives the system a fresh start every day. Reboots are done once a month during our patching cycle.

_________________
Thomas Nather
Lead Business Intelligence Developer
Sherwin Williams
Cleveland, OH
Back to top
Sohel.A.Syed
Forum Member
Forum Member



Joined: 17 Jun 2010
ASUG Icon
Posts: 16


flag
PostPosted: Wed Feb 23, 2011 9:48 am 
Post subject: Re: TOMCAT sever

Hi Rajesh,

I have few questions for you:
Which type of reports you schedule?(crystal, webi or deski)
Provide your environment details BO version, OS, CPU, Physical memory etc.
How much memory and CPU tomcat consumes at the peak time?
Do you have load balancing in the environment?

Cheers
Back to top
Unmesh702
Principal Member
Principal Member



Joined: 19 Feb 2009
ASUG Icon
Posts: 218
Location: PUNE


flag
PostPosted: Mon Apr 11, 2011 3:02 pm 
Post subject: Re: TOMCAT sever

When you schedule 200 reports 200 seperate threads are created.
All the threads occupy memory i.e java heap which is been set for Tomcat server. When the exection of a job is completed the thread kill itself. Sometimes if either the scheduling/viewing is interrupted or browser is closed ubruptly by user then the thread goes in hung state and will occupy memory which cannot be released untill web application server is restarted.

There are chances in your environment that the memory is not released due to which the tomcat server goes in hung state.

You can check the ulimit set at your end and the thread limits set in server.xml file of tomcat.
Back to top
its_vicky07
Principal Member
Principal Member



Joined: 02 Sep 2007

Posts: 194


flag
PostPosted: Wed Apr 20, 2011 9:32 am 
Post subject: Re: TOMCAT sever

I second BO_Chief. We used to have similar kind of issues and SAP-Business Objects support team recommended us to re-boot BO servers/services in regular intervals. We do it once or twice weekly, depending on the server load. Also we are recommended to re-boot the host server at times (not as option as the BO servers though). It clears the cache for better performance and this is a part of our regular server maintenance. But all these recommendation depends on the number of active users you have, the server hardware and software etc.
_________________
Thanks
Vicky.
Once you know how to quit, it becomes a habit.
Back to top
Amy Miller
Forum Enthusiast
Forum Enthusiast



Joined: 07 Jun 2002

Posts: 1145


flag
PostPosted: Thu Jun 09, 2011 5:41 am 
Post subject: Re: TOMCAT sever

Hi folks--

We're in the final push of moving to XI3.1 (Linux, SP3), with Webi, away from XIR2 with Deski. From past experience, we already restart tomcat and all the BOE servers (services, not hardware) each night, which seemed to be going fine. But, for the last week or so as more and more folks move off Deski, we've also seen issues around midday where tomcat memory usage seems to spike and it needs to be restarted in the middle of the day. The BOE processes on the appserver seem fine. We're trying to figure out how to balances this --- all our BOE servers are running on one Linux box, leaving the webserver just with tomcat, and, other than the memory usage for the java process, the box doesn't seem particularly stressed.

Any suggestions for tuning tomcat would be most welcome (I thought we already did the Xms/Xmx tweaks, but would be glad to look at them again). And, I know I should know this, but can we add another tomcat to the same server? We didn't really want a cluster, though..

Thanks,
Amy Miller
Back to top
ChrisW1204
Principal Member
Principal Member



Joined: 21 Apr 2011

Posts: 248


flag
PostPosted: Mon Aug 01, 2011 1:29 pm 
Post subject: Re: TOMCAT sever

You can add Instances to the same server provided you have the resources available. Adding an instance complicates your setup especially if you want to have ONE URL for your system. You can add in another server (VM?) and use a simple DNS round robin resolution to avoid having to cluster them.
Back to top
its_vicky07
Principal Member
Principal Member



Joined: 02 Sep 2007

Posts: 194


flag
PostPosted: Wed Aug 03, 2011 11:55 am 
Post subject: Re: TOMCAT sever

I am not sure if you still need a solution after a month or so. But still check with your log files that may be piling up. It takes a lot of memory though.
_________________
Thanks
Vicky.
Once you know how to quit, it becomes a habit.
Back to top
AmyJNelson
Forum Member
Forum Member



Joined: 21 Oct 2011

Posts: 1
Location: Hollywood, Florida



PostPosted: Tue Oct 25, 2011 11:19 am 
Post subject: Re: TOMCAT sever

Your application server, Tomcat, comes with a feature called “Reload.” Reload is a must in a development environment. After you compile an application or save an application, Tomcat reloads your changes, making them available to you for testing purposes. The downside of this is that at each reload, Tomcat must release all users (if Sign on Security has been implemented) and it can take a small hit in terms of performance. In a development environment, both of these affects are understandable.

In a production environment, on the other hand, a user should never be asked to sign in twice, nor should their be any performance hit. To solve this problem, the makers of Tomcat have given you the ability to turn off the ability for Tomcat to reload. Note: The following methods should only be needed on a production instance of Tomcat running on a Windows server .

Edit the following file:

C:\m-power\tomcat\conf\server.xml


Note the above highlighted area. This path is your runtime path (the location that controls your generated application. On the first highlighted line, change the value of reloadable from “true” to “false”

When completed, your page should look something like this:

Some other things to consider:

Because reload has now been turned off, anytime a new application is moved from development to production, Tomcat will ignore the application until Production Tomcat is restarted. Because of this, you might want to schedule Tomcat to be restarted on a Nightly or Weekly basis during non-peak hours of activity.

business development
Back to top
Mike Murray
Principal Member
Principal Member



Joined: 23 Dec 2005

Posts: 472
Location: Des Moines Iowa


flag
PostPosted: Fri Dec 30, 2011 11:33 am 
Post subject: Re: TOMCAT sever

Reccomendation from SAP for similar issues we had with window servers was to upgrade to Tomcat 64 bit to increase available memory.
_________________
Mike Murray
Back to top
videocaptain
Forum Member
Forum Member



Joined: 28 Feb 2012

Posts: 3



PostPosted: Tue Feb 28, 2012 9:07 am 
Post subject: TOMCAT sever

Noticed that with the use of INPUT CONTROLS and DRILL-DOWNS chews up a lot of memory on the TOMCAT server. We created a 3.1 webi report with input controls and drill-downs and whenever you use these features within the report, memeory is chewed up and cached on the TOMCAT server. It keeps adding up and the only way is to recycle or stop/run the services to release.

How do you release this cached memory? It's filling up memory space which will in turn provide poor BO performance. How do you control this? Do you increase memory space...what do you do? TOMCAT server is 32 bit and not 64.

Any help would be greatly appreciated.
Back to top
videocaptain
Forum Member
Forum Member



Joined: 28 Feb 2012

Posts: 3



PostPosted: Tue Feb 28, 2012 9:10 am 
Post subject: Re: TOMCAT sever

videocaptain wrote:
Noticed that with the use of INPUT CONTROLS and DRILL-DOWNS chews up a lot of memory on the TOMCAT server. We created a 3.1 webi report with input controls and drill-downs and whenever you use these features within the report, memeory is chewed up and cached on the TOMCAT server. It keeps adding up and the only way is to recycle or stop/run the services to release.

How do you release this cached memory? It's filling up memory space which will in turn provide poor BO performance. How do you control this? Do you increase memory space...what do you do? TOMCAT server is 32 bit and not 64.

Any help would be greatly appreciated.


Hi Mike, can this be done with the BO 3.1 environment or do we have to upgrade to BO 4?
Back to top
Marek Chladny
Forum Advocate
Forum Advocate



Joined: 27 Nov 2003

Posts: 19353
Location: Bratislava


flag
PostPosted: Tue Feb 28, 2012 10:18 am 
Post subject: Re: TOMCAT sever

Hi,

You can replace your 32-bit Tomcat with the 64-bit Tomcat also for BO XI 3.1 Provided that you have 64-bit OS.

This tutorial will be helpful:
http://wiki.sdn.sap.com/wiki/display/BOBJ/Quick+and+easy+tomcat+64+bits+configuration+with+BOE+XI3.1+on+Windows+64+Bits

_________________
BO: BI 4.0, 4.1 | XI 3, 3.1 | XI r2 | 6.x | 5.x
DB: Oracle, MS SQL Server, DB2, Teradata, Netezza
HW: Win, Linux and AIX servers
www.perpendulum.com

Latest Blog Posts
• 2013-07-16 Number of reports in a WebI document
• 2013-04-01 Optional prompts in a universe
• 2012-06-08 Calendar table script for Oracle
Back to top
Display posts from previous:   
Register or Login to Post    Forum Index -> Server Administration, Installation, Upgrades  Previous TopicPrint TopicNext Topic
Page 1 of 2 All times are GMT - 5 Hours
Goto page 1, 2  Next
 
Jump to:  

Index | About | FAQ | RAG | Privacy | Search |  Register |  Login 

Get community updates via Twitter:

Not endorsed by or affiliated with SAP
Powered by phpBB © phpBB Group
Generated in 0.0331 seconds using 17 queries. (SQL 0.0039 Parse 0.0010 Other 0.0282)
CCBot/2.0 (https://commoncrawl.org/faq/)
Hosted by ForumTopics.com | Terms of Service
phpBB Customizations by the phpBBDoctor.com
Shameless plug for MomentsOfLight.com Moments of Light Logo