Sponsored Content
Operating Systems Linux Debian Profiling Processes while shutdown Post 302982123 by Varun Pandey on Saturday 24th of September 2016 10:21:27 AM
Old 09-24-2016
More Details

Thanks Jim Smilie,

You are right, it could very much be a co/in-dependent set of processes creating the problem.

I have not installed any packages noticeably. I am sure gdb wouldn't have this issue. However, I do have my own code on the box (multiple demons). The problem started appearing recently when the reboot/shutdown command started taking more than 10 minutes as opposed to 45 second previous reboot time. And now, the delay is almost consistent.

Whether mine or external, I simply need to narrow down the problem.
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Profiling..entry for a function in pthread_create

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

Kernel Profiling

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

Script to force Oracle database shutdown when shutdown immediate does not work

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

profiling execution of a process

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

Profiling results and SMP

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

C profiling tool for 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
heart(3erl)						     Erlang Module Definition						       heart(3erl)

NAME
heart - Heartbeat Monitoring of an Erlang Runtime System DESCRIPTION
This modules contains the interface to the heart process. heart sends periodic heartbeats to an external port program, which is also named heart . The purpose of the heart port program is to check that the Erlang runtime system it is supervising is still running. If the port program has not received any heartbeats within HEART_BEAT_TIMEOUT seconds (default is 60 seconds), the system can be rebooted. Also, if the system is equipped with a hardware watchdog timer and is running Solaris, the watchdog can be used to supervise the entire system. An Erlang runtime system to be monitored by a heart program, should be started with the command line flag -heart (see also erl(1) . The heart process is then started automatically: % erl -heart ... If the system should be rebooted because of missing heart-beats, or a terminated Erlang runtime system, the environment variable HEART_COM- MAND has to be set before the system is started. If this variable is not set, a warning text will be printed but the system will not reboot. However, if the hardware watchdog is used, it will trigger a reboot HEART_BEAT_BOOT_DELAY seconds later nevertheless (default is 60). To reboot on the WINDOWS platform HEART_COMMAND can be set to heart -shutdown (included in the Erlang delivery) or of course to any other suitable program which can activate a reboot. The hardware watchdog will not be started under Solaris if the environment variable HW_WD_DISABLE is set. The HEART_BEAT_TIMEOUT and HEART_BEAT_BOOT_DELAY environment variables can be used to configure the heart timeouts, they can be set in the operating system shell before Erlang is started or be specified at the command line: % erl -heart -env HEART_BEAT_TIMEOUT 30 ... The value (in seconds) must be in the range 10 < X <= 65535. It should be noted that if the system clock is adjusted with more than HEART_BEAT_TIMEOUT seconds, heart will timeout and try to reboot the system. This can happen, for example, if the system clock is adjusted automatically by use of NTP (Network Time Protocol). In the following descriptions, all function fails with reason badarg if heart is not started. EXPORTS
set_cmd(Cmd) -> ok | {error, {bad_cmd, Cmd}} Types Cmd = string() Sets a temporary reboot command. This command is used if a HEART_COMMAND other than the one specified with the environment variable should be used in order to reboot the system. The new Erlang runtime system will (if it misbehaves) use the environment variable HEART_COMMAND to reboot. Limitations: The length of the Cmd command string must be less than 2047 characters. clear_cmd() -> ok Clears the temporary boot command. If the system terminates, the normal HEART_COMMAND is used to reboot. get_cmd() -> {ok, Cmd} Types Cmd = string() Get the temporary reboot command. If the command is cleared, the empty string will be returned. Ericsson AB kernel 2.14.3 heart(3erl)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy