09-25-2016
I think you have to work "backwards".
Change startup to be more minimal, do not start any your own daemons.
If the problem goes away, keep adding them back into the mix one by one. If it is resource contention, like waiting on some kind of lock, it may be hard to track down. Any daemons that work cooperatively with others may deserve first attention.
If the problem still exists, you may have to start looking at your configuration by changing to single user boot, then changing startup/shutdown script to boot and shutdown at each runlevel to eliminate process groups and processes as a problem.
I vote for your hand-rolled daemons as a great place to start. Sorry I cannot be more specific.
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
i am try to write a profiler for a multithreaded applciation. When i creat e a thread for "function f2()" the profiling information for this function does not get captured in the struct profileManager. i;e i get the exit information for "function f2()" in that thread, but the entry... (2 Replies)
Discussion started by: Vikky Panchal
2 Replies
2. UNIX for Advanced & Expert Users
I compiled my device driver with the profiling option -p but while linking I am getting undefined reference to _mcount.
LD /vobs/femto_drivers/DspBiosLink/dsplinkk/src/dsplinkk.o
Building modules, stage 2.
MODPOST
*** Warning: "_mcount" undefined!
Architechture: ppc32
From... (0 Replies)
Discussion started by: Ashok V
0 Replies
3. UNIX for Dummies Questions & Answers
I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS).
Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies
4. UNIX for Dummies Questions & Answers
question goes like this :
Explain how users can profile execution of a process with help of an example?
can some one pls give me the answer?? (1 Reply)
Discussion started by: rakesh1988
1 Replies
5. Programming
The SCO OSR 5.7 system was migrated from older HP DL360 to new DL380 G7. The SMP feature was not activated on older box, it is activated now on this 4 core Xeon.
A s/w we maintain has been copied without any change over to the new box. I noticed that the application profiling does not show any... (4 Replies)
Discussion started by: migurus
4 Replies
6. AIX
Hello everybody,
Please let me know if there are any free C profiling tool for AIX environment
Thanks in advance (0 Replies)
Discussion started by: SteAlma
0 Replies
LEARN ABOUT REDHAT
rc.news
RC.NEWS(8) InterNetNews Documentation RC.NEWS(8)
NAME
rc.news - Start or stop INN daemons
SYNOPSIS
rc.news [start | stop]
DESCRIPTION
rc.news can be used to start or stop innd and supporting programs. It checks to make sure INN is not already running, handles cases of
unclean shutdown, finishes up tasks which might have been interrupted by the preceding shutdown, e-mails certain boot-time warnings to
newsmaster (as set in inn.conf), and is generally safer and easier than starting and stopping everything directly. It needs to be run as
the news user so that files in pathrun are created with the right ownership (though this is less important for "rc.news stop").
Programs run and stopped by this script include:
o Always: innd is started or stopped.
o If doinnwatch is true in inn.conf: innwatch is started and stopped.
o If docnfsstat is true in inn.conf: cnfsstat is started and stopped.
o If ovmethod is set to "ovdb" in inn.conf: ovdb_init is run; ovdb_server and ovdb_monitor are stopped.
o If rc.news.local exists in pathbin: rc.news.local is run with argument "start" or "stop" (to perform site-specific startup or shutdown
tasks).
OPTIONS
"start"
If the first argument is "start", or no first argument is given, rc.news initiates INN startup.
"stop"
If the first argument is "stop", rc.news initiates INN shutdown. It is recommended to throttle the server first as described in
ctlinnd(8).
EXAMPLES
To start INN and leave certain error messages going to the terminal:
su - news -c <pathbin in inn.conf>/rc.news
To run INN at startup time from appropriate system boot scripts:
su - news -c <pathbin>/rc.news >/dev/console
To stop INN (throttling first):
<pathbin>/ctlinnd throttle reason
su - news -c '<pathbin>/rc.news stop'
BUGS
Running "rc.news start" as root is never the right thing to do, so we should at minimum check for this and error, or perhaps change
effective user ID.
HISTORY
// FIXME: any attribution for rc.news itself?
This manual page written by Jeffrey M. Vinocur <jeff@litech.org> for InterNetNews.
$Id: rc.news.pod 9340 2011-08-16 13:50:19Z iulius $
SEE ALSO
ctlinnd(8), cnfsstat(8), inn.conf(5), innwatch(8), ovdb(5).
INN 2.5.3 2011-08-22 RC.NEWS(8)