05-08-2017
Thanks for your response.
In Linux (RHEL 6), when a process becomes orphan, it consumes all the CPU resources. No resources are left for the application to run.
In Solaris (10), when a process becomes orphan, we do not see any load on the server. We have no issues to run the application.
If possible, I would like to understand why the same orphan process consumes more resources in Linux and not in solaris.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have customers on our AIX/UNIX node startup a process that becomes stranded or orphaned and must be killed. I would like to create a script to check for these orphan processes and kill them. I can have cron run this job. The customers process will run and after 24 hours time out leaving an... (4 Replies)
Discussion started by: rjohnson
4 Replies
2. HP-UX
Hi All,
i am running a oracle procedure which writes a file . The same file is picked up by another script which runs in a cron after every 5 minutes.
Now the problem is that sometimes my script picks up a file while the procedure is still writing data in the file.
is there is any way i... (4 Replies)
Discussion started by: saurabhjain
4 Replies
3. Programming
Anybody happen to be familiar with any deficiencies with g++ 2.95.3 regarding exception handling, specifically in multi-threaded / multi-module (shared library) based applications?
I'm seeing behavior where thrown exceptions are not caught, but basically ignored causing the application to... (0 Replies)
Discussion started by: earl
0 Replies
4. Programming
hi
i m writin a program in which i keep track of all the child processes the program has generated and if a child process has an abnormal termination i need to do certain task related to that child process.
for handlin child process i used waitpid:
temp_cpid=waitpid(-1,&stat,WUNTRACED);
... (4 Replies)
Discussion started by: mridula
4 Replies
5. UNIX for Advanced & Expert Users
Hi Guys,
I'm working on a AIX 5.3 environment and I've been quite a few times in a situation where we can remove db2 orphan processes therefore our only alternative has been to reboot the entire server. Now I wonder is there is any other possible way that we can use to remove those processes... (5 Replies)
Discussion started by: hariza
5 Replies
6. UNIX for Dummies Questions & Answers
Sorry if this is a stupid question!
I have been developing a Java application that I am deploying on both Unix and Linux servers, which uses lots of socket handling. When the server side connection is dropped by the server un-gracefully I have been seeing close_waits and null connections.
... (0 Replies)
Discussion started by: Vinnie
0 Replies
7. Linux
I am using the standard vixie-cron am seeing the following my logs : crond: (username) ORPHAN (no passwd entry) Ordinarily this is a simple matter, there is no corresponding user, but I am using central authentication and the username does exist and is usable via the standard nsswitch mechanism, so... (2 Replies)
Discussion started by: humbletech99
2 Replies
8. Shell Programming and Scripting
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies
9. UNIX for Advanced & Expert Users
Our cron job stats its started on Oct20
% ps -ef | grep cron
root 1442044 1 0 Oct 20 - 25:23 /usr/sbin/cron
All the below jobs aixmf,aixgh are triggered from cron only.
user pid ppid date time cmd
gaix 1581282 1 35 16:33:01 - 20:56... (1 Reply)
Discussion started by: karnan
1 Replies
10. Solaris
Dear all,
yesterday I had a big problem on Solaris 9. I cannot write anymore on /var. I checked the inode usage, and I see that for /var was at 100% with ifree = 0.
I deleted some unused files (like old log on /var/tmp and /var/log), now I have ifree=19641 and 99% iused:
root@ciy01 # df -F ufs... (12 Replies)
Discussion started by: Lord Spectre
12 Replies
LEARN ABOUT SUNOS
list-jms-resources
asadmin-list-jms-resources(1AS) User Commands asadmin-list-jms-resources(1AS)
NAME
list-jms-resources - gets all the JMS resources
SYNOPSIS
list-jms-resources --user admin_user [--password admin_password][--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename]
[--terse=false] [--echo=false] [--interactive=true] [--restype resource_type]
Gets all the JMS resources. This command can only be run remotely.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script.
--echo setting to true will echo the command line statement on the standard output.
--interactive prompts you for the required options that are not already specified.
--restype JMS resource type which can be: javax.jms.Topic, javax.jms.Queue, javax.jms.TopicConnectionFactory,
javax.jms.QueueConnectionFactory.
Example 1: Using the list-jms-resources command to list all JMS resources
asadmin> list-jms-resources
jms/Queue
jms/Topic
jms/QueueConnectionFactory
jms/DurableTopicConnectionFactory
Command list-jms-resources executed successfully
Example 2: Using the list-jms-resources command to list JMS resources of a specified type
asadmin> list-jms-resources --restype javax.jms.TopicConnectionFactory
jms/DurableTopicConnectionFactory
jms/TopicConnectionFactory
Command list-jms-resources executed successfully
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-jms-resource(1AS), asadmin-delete-jms-resource(1AS)
J2EE 1.4 SDK March 2004 asadmin-list-jms-resources(1AS)