01-08-2012
Active sessions open or long time
What kind of problems can be faced if any session which connects to unix server is open for longer time?
How to find out from how much time that session is idle?
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
There's a user that opens various login sessions with a particular SOLARIS server at the same time - this locks the server thats tried to get logged into..
Kindly help on how to know the max limit of sessions a particular user can open with a particular server at the same time. AND, how to... (2 Replies)
Discussion started by: its.simron
2 Replies
2. Shell Programming and Scripting
I m need of something useful to reduce my n number of login sessions to save my time.
Scenario :
I will login 40+ servers daily with ip address. i hv generated ssh key gens in order to avoid passwords.
what i need is :
when i click a terminal, i need these 40 servers logged in... (1 Reply)
Discussion started by: anand.linux1984
1 Replies
3. Shell Programming and Scripting
Hi ,
Please help me
shell script to determine the active processes on the system which are running since long time (2 Replies)
Discussion started by: itian2010
2 Replies
4. Shell Programming and Scripting
Hi All,
I have a written a test script which retrieves the status of active and inactive sessions from oracle DB, but i am receiving error while executing.
My script is
filepath="/home/ocsg/scripts/db_session_report/current_session_report.txt"... (1 Reply)
Discussion started by: poweroflinux
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
How can i find out the average cpu utilization of a particular long-running process in UNIX? is there some command for this
Thanks (3 Replies)
Discussion started by: arunmanas
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
I try to copy the nohup.out to new file using cp command on solaris 10
However, the new file is very large size compare to nohup.out
The file is in English format text.
Any solution for copying active/open log file without problem with the size.
ex:
/dir > du -sh nohup.out
636K ... (7 Replies)
Discussion started by: xitrum
7 Replies
7. UNIX for Beginners Questions & Answers
Hi - If iam logged on to server A, on 4 putty windows using SSH ... and out of these 4 logged-in sessions, in one of the sessions if i did SSH from server A to server B;
i would now have 4 putty windows sessions ... of which 3 are actively logged on to Server A while 1 putty window is actively... (2 Replies)
Discussion started by: i4ismail
2 Replies
LEARN ABOUT CENTOS
ssl_ctx_sess_set_cache_size
SSL_CTX_sess_set_cache_size(3) OpenSSL SSL_CTX_sess_set_cache_size(3)
NAME
SSL_CTX_sess_set_cache_size, SSL_CTX_sess_get_cache_size - manipulate session cache size
SYNOPSIS
#include <openssl/ssl.h>
long SSL_CTX_sess_set_cache_size(SSL_CTX *ctx, long t);
long SSL_CTX_sess_get_cache_size(SSL_CTX *ctx);
DESCRIPTION
SSL_CTX_sess_set_cache_size() sets the size of the internal session cache of context ctx to t.
SSL_CTX_sess_get_cache_size() returns the currently valid session cache size.
NOTES
The internal session cache size is SSL_SESSION_CACHE_MAX_SIZE_DEFAULT, currently 1024*20, so that up to 20000 sessions can be held. This
size can be modified using the SSL_CTX_sess_set_cache_size() call. A special case is the size 0, which is used for unlimited size.
When the maximum number of sessions is reached, no more new sessions are added to the cache. New space may be added by calling
SSL_CTX_flush_sessions(3) to remove expired sessions.
If the size of the session cache is reduced and more sessions are already in the session cache, old session will be removed at the next
time a session shall be added. This removal is not synchronized with the expiration of sessions.
RETURN VALUES
SSL_CTX_sess_set_cache_size() returns the previously valid size.
SSL_CTX_sess_get_cache_size() returns the currently valid size.
SEE ALSO
ssl(3), SSL_CTX_set_session_cache_mode(3), SSL_CTX_sess_number(3), SSL_CTX_flush_sessions(3)
1.0.1e 2013-02-11 SSL_CTX_sess_set_cache_size(3)