Sponsored Content
Operating Systems Linux Debian Profiling Processes while shutdown Post 302982180 by rbatte1 on Monday 26th of September 2016 05:38:33 AM
Old 09-26-2016
There isn't a lot of detail in the thread, but things to consider might be:-
  • If you have a database, is it possible that there is a major transaction rollback being done?
  • Do any of you shutdown scripts have waits in them?
  • NFS (as already mentioned)
  • Is there some sort of notification you are trying to do and the target server is down? Perhaps a closing down report to ensure all transactions are centrally held etc.
  • Has someone introduced a backup into the wrong place, so it runs at shutdown?
  • Has someone created a shutdown script that actually does a startup by mistake? (i.e. never it checks $1 for start or stop, it just starts)
  • Is there an AV scan being triggered in the shutdown?
  • Do you run an fsck during shutdown?
  • Do you try to sync the clock during shutdown?
  • Is this a High Availability node, or worse an HA node where the other node(s) are all off?
There are lots of other possibles too, I'm sure. What more can you tell us about it?



Kind regards,
Robin
 

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
SSL_set_shutdown(3)						      OpenSSL						       SSL_set_shutdown(3)

NAME
SSL_set_shutdown, SSL_get_shutdown - manipulate shutdown state of an SSL connection SYNOPSIS
#include <openssl/ssl.h> void SSL_set_shutdown(SSL *ssl, int mode); int SSL_get_shutdown(SSL *ssl); DESCRIPTION
SSL_set_shutdown() sets the shutdown state of ssl to mode. SSL_get_shutdown() returns the shutdown mode of ssl. NOTES
The shutdown state of an ssl connection is a bitmask of: 0 No shutdown setting, yet. SSL_SENT_SHUTDOWN A "close notify" shutdown alert was sent to the peer, the connection is being considered closed and the session is closed and correct. SSL_RECEIVED_SHUTDOWN A shutdown alert was received form the peer, either a normal "close notify" or a fatal error. SSL_SENT_SHUTDOWN and SSL_RECEIVED_SHUTDOWN can be set at the same time. The shutdown state of the connection is used to determine the state of the ssl session. If the session is still open, when SSL_clear(3) or SSL_free(3) is called, it is considered bad and removed according to RFC2246. The actual condition for a correctly closed session is SSL_SENT_SHUTDOWN (according to the TLS RFC, it is acceptable to only send the "close notify" alert but to not wait for the peer's answer, when the underlying connection is closed). SSL_set_shutdown() can be used to set this state without sending a close alert to the peer (see SSL_shutdown(3)). If a "close notify" was received, SSL_RECEIVED_SHUTDOWN will be set, for setting SSL_SENT_SHUTDOWN the application must however still call SSL_shutdown(3) or SSL_set_shutdown() itself. RETURN VALUES
SSL_set_shutdown() does not return diagnostic information. SSL_get_shutdown() returns the current setting. SEE ALSO
ssl(3), SSL_shutdown(3), SSL_CTX_set_quiet_shutdown(3), SSL_clear(3), SSL_free(3) 0.9.7a 2001-08-20 SSL_set_shutdown(3)
All times are GMT -4. The time now is 03:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy