01-25-2017
Quote:
Originally Posted by
bakunin
Have you made sure it is the application (and, for instance, NOT the system itself) that hangs for a few seconds? If, i.e., the system would be in a state of heavy swapping it might look like the application hangs but in fact it is the system that blocks the application because it has to get missing memory pages from swap to memory.
I hope this helps.
bakunin
The Unix server has no issues.
I m not looking to resolve any issue. All i want is to setup a non third part monitoring mechanism to monitor Tomcat Hung state. Unfortunately, all the suggestions be it mine or others is not helpful to print and debug Tomcat v8 hung state.
If anyone knows ... please suggest.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I Installed Tomcat in an remote linux server (/usr/tomcat)and start service, using ./startup.sh (and tried with ./catalina.sh too).
//----------------------------------------------------------------//
# ./startup.sh
Using CATALINA_BASE: /usr/tomcat/apache-tomcat-6.0.16/
Using... (1 Reply)
Discussion started by: gothama
1 Replies
2. Shell Programming and Scripting
hi,
I need a command that restart the tomcat server.
for example for restart the tomcat i am using following command, /etc/init.d/tomcat restart ..but sometimes is not working...might be i want to use java code access this peace of script.
like using the grep and ps commands can i use?... (2 Replies)
Discussion started by: sankar reddy
2 Replies
3. IP Networking
Hello,
I have a socket programming code to do chatting(both server and client).
But this is limited to a single machines with multi users.
But my target is to perform chat operation on multiple IP addresses in a given LAN in college.
Can you please tell me if I can use TOMCAT as my server to... (3 Replies)
Discussion started by: nsharath
3 Replies
4. Solaris
I do not know the difference between the apache-http and the apche-Tomcat.Is they are differentiated on their version or on their features.:confused: (2 Replies)
Discussion started by: jayaprakash
2 Replies
5. Shell Programming and Scripting
Hello all,
I am working on a script to automate the process of restarting some tomcat servers. The versions of tomcat are pretty old and it often happens that they don't shut down gracefully and the PID needs to be manually killed. I am having a bear of a time getting a consistent PID from ps... (1 Reply)
Discussion started by: dkaplowitz
1 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I am getting confused with the terms below. All I know is an application can be installed on a server. But I see the following terms used in a company. All of them are installed on same Unix box. Could you please help me out in layman terms as to what these exactly means. (PS: I don't... (1 Reply)
Discussion started by: tostay2003
1 Replies
7. Programming
Hi,
I have installed
following software on my linux machine.
Is there anything else required to run jsp pages on linux machine?
Please Help
Here are some details that might be helpful.
# lsb_release -a
LSB Version: ... (3 Replies)
Discussion started by: pinga123
3 Replies
8. Red Hat
Hi,
We have a OEL6.1 installed on our server.
We want developers to view there application logs generated on the server, but doesn't really want to give them access to server machine.
Can someone please suggest how can we configure apache/httpd to create a url which will show all files in... (1 Reply)
Discussion started by: shrshah64
1 Replies
9. UNIX for Advanced & Expert Users
Hi all,
on our application server we have the following script that monitor the status of the website, my problem here is that i have edite the retries from 3 to 5,
and the timewait to 120 second,
so the script should check 5 times every 2 minutes, and if the fifth check fails it must restart... (0 Replies)
Discussion started by: charli1
0 Replies
10. UNIX for Advanced & Expert Users
Hi,
I have been assigned a task to build a server with these requirements :
> has multiple tomcats running under the same apache.
> tomcat & jdk has to be binded with apache.
> latest openssl with all necesarry "mod" to bind with apache & tomcat.
I am fairly new to... (1 Reply)
Discussion started by: anaigini45
1 Replies
LEARN ABOUT ULTRIX
rpc_set_async_ack
rpc_set_async_ack(3ncs) rpc_set_async_ack(3ncs)
Name
rpc_set_async_ack - set or clear asynchronous-acknowledgement mode (client only)
Syntax
#include <idl/c/rpc.h>
void rpc_$set_async_ack (state)
unsigned long state;
Arguments
state If "true" (nonzero), asynchronous-acknowledgement mode is set. If "false" (zero), synchronous-acknowledgement mode is
set.
Description
The call sets or clears asynchronous-acknowledgement mode in a client.
Synchronous-acknowledgement mode is the default. Calling with a nonzero value for state sets asynchronous-acknowledgement mode. Calling
it with a zero value for state sets synchronous-acknowledgement mode.
After a client makes a remote procedure call and receives a reply from a server, the RPC runtime library at the client acknowledges its
receipt of the reply. This "reply acknowledgement" can occur either synchronously (before the runtime library returns to the caller) or
asynchronously (after the runtime library returns to the caller).
It is generally good to allow asynchronous reply acknowledgements. Asynchronous-acknowledgement mode can save the client runtime library
from making explicit reply acknowledgements, because after a client receives a reply, it may shortly issue another call that can act as an
implicit acknowledgement.
Asynchronous-acknowledgement mode requires that an "alarm" be set to go off sometime after the remote procedure call returns. Unfortu-
nately, setting the alarm can cause two problems:
1 There may be only one alarm that can be set, and the application itself may be trying to use it.
2 If, at the time the alarm goes off, the application is blocked in a system call that is doing I/O to a "slow device" (such as
a terminal), the system call will return an error (with the EINTR errno); the application may not be coded to expect this
error. If neither of these problems exists, the application should set asynchronous-acknowledgement mode to get greater
efficiency.
Files
See Also
intro(3ncs)
rpc_set_async_ack(3ncs)