Sponsored Content
Full Discussion: consumption memory
Operating Systems AIX consumption memory Post 302192521 by shockneck on Wednesday 7th of May 2008 05:31:14 AM
Old 05-07-2008
AIX always tries to use ALL of your real memory. Every piece of RAM that is not used by your application is used for file caching. So "all" of the memory appears to be "in use" all the time. When you exit your app the memory is not cleared but the former content is kept for possible reuse later. This is normal behaviour and expected. No reason to worry as long as no paging takes place. Having no "free" memory does not equal shortage of memory. AIX is not Windoze.

If you want to sort of flush the server's cache for a short period of time you could copy a huge file somewhere within your server (from /blah to /tmp or vice versa) and delete it immediately after copying. Then you would see "free" memory Smilie
 

10 More Discussions You Might Find Interesting

1. AIX

Memory consumption of threads

Hi, how can I find out how many memory (physical and virtual) a thread uses at the moment? I know how to find out the Thread-ID, but not how to monitor it... We use AIX 4.3.3 at th emoment. Please help, I am stuck :confused: !! (0 Replies)
Discussion started by: Fong
0 Replies

2. HP-UX

Memory Consumption Commands

I want to check the memory usuage on the HP-UX box. print_manifest : gave me the information of the system configuration and came to know that we have 8GB of ram. But on runtime I want to know what is the memory left. Iam new to HP-UX and I would appreciate if some one can assist me on... (2 Replies)
Discussion started by: siebeladmin
2 Replies

3. Solaris

real memory consumption of a process

hi pmap, prstat and ps gives the RSS which is shared memory. I need to know the consumption of real memory. how to do that? thx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies

4. Programming

Current and Peak Memory consumption of my program?

Hi, my C++ program does some memory consuming tasks and runs several minutes. During execution time, I want to print information on the current memory consumption and peak memory consumption of my program into a logfile. How can I retrieve this information, i.e. which functions are available... (0 Replies)
Discussion started by: DarthVader77
0 Replies

5. AIX

Memory consumption issue in AIX box

Hi, monitor memory usage on AIX machine on any day of the week from 3:00 PM ET to 5:00 PM ET - Povide min and max memory consumption. Determine if all of the available memory is visible to the operating system. If it is not, determine the amount of memory which may be allocated to the... (3 Replies)
Discussion started by: Rookie_newbie
3 Replies

6. UNIX Desktop Questions & Answers

Regarding Memory Consumption

Hi All I am new to UNIX ,can any one please help in finding MEMORY CONSUMPTION of VLC when i use it as Streaming Server. I need to log the memory consumption for atleast 10 hours. Can any one help me in finding this Please (1 Reply)
Discussion started by: ravikanth17
1 Replies

7. UNIX for Advanced & Expert Users

how to find memory consumption by application

Hello, we are using AIX 6.1 On our AIX 6.1 server there are two instance of Oracle, a Websphear, a Java application and informatica are running. Can I find out how much memory each of these are consuming? Thanks, (1 Reply)
Discussion started by: AIX_DBA
1 Replies

8. HP-UX

memory consumption over a time period

Hi, Can some one please tell me how do I generate a report of the Memory Consumption over a time period: HP-UX B.11.31 U ia64 0440531406 unlimited-user license I normally use glance to monitor memory in run time. Note: I do not have root privileges. Thanks Danish ... (5 Replies)
Discussion started by: danish0909
5 Replies

9. HP-UX

Find out most memory consumption process in HP UX

Dear All, I want to find out top 15 memory consumption processes in HP UX. Can anyone give me any idea about it? Kauser (2 Replies)
Discussion started by: makauser
2 Replies

10. HP-UX

Memory consumption history

I want to obtain memory consumption history on a HPUX machine. I know I can access data from the last week with sar sar -f /var/adm/sa/sa14 I do not know how to get memory usage with sar. Are there any other ways? thank you (3 Replies)
Discussion started by: black_fender
3 Replies
SSL_CTX_set_session_cache_mode(3)				      OpenSSL					 SSL_CTX_set_session_cache_mode(3)

NAME
SSL_CTX_set_session_cache_mode, SSL_CTX_get_session_cache_mode - enable/disable session caching SYNOPSIS
#include <openssl/ssl.h> long SSL_CTX_set_session_cache_mode(SSL_CTX ctx, long mode); long SSL_CTX_get_session_cache_mode(SSL_CTX ctx); DESCRIPTION
SSL_CTX_set_session_cache_mode() enables/disables session caching by setting the operational mode for ctx to <mode>. SSL_CTX_get_session_cache_mode() returns the currently used cache mode. NOTES
The OpenSSL library can store/retrieve SSL/TLS sessions for later reuse. The sessions can be held in memory for each ctx, if more than one SSL_CTX object is being maintained, the sessions are unique for each SSL_CTX object. In order to reuse a session, a client must send the session's id to the server. It can only send exactly one id. The server then either agrees to reuse the session or it starts a full handshake (to create a new session). A server will lookup up the session in its internal session storage. If the session is not found in internal storage or lookups for the internal storage have been deactivated (SSL_SESS_CACHE_NO_INTERNAL_LOOKUP), the server will try the external storage if available. Since a client may try to reuse a session intended for use in a different context, the session id context must be set by the server (see SSL_CTX_set_session_id_context(3)). The following session cache modes and modifiers are available: SSL_SESS_CACHE_OFF No session caching for client or server takes place. SSL_SESS_CACHE_CLIENT Client sessions are added to the session cache. As there is no reliable way for the OpenSSL library to know whether a session should be reused or which session to choose (due to the abstract BIO layer the SSL engine does not have details about the connection), the application must select the session to be reused by using the SSL_set_session(3) function. This option is not activated by default. SSL_SESS_CACHE_SERVER Server sessions are added to the session cache. When a client proposes a session to be reused, the server looks for the corresponding session in (first) the internal session cache (unless SSL_SESS_CACHE_NO_INTERNAL_LOOKUP is set), then (second) in the external cache if available. If the session is found, the server will try to reuse the session. This is the default. SSL_SESS_CACHE_BOTH Enable both SSL_SESS_CACHE_CLIENT and SSL_SESS_CACHE_SERVER at the same time. SSL_SESS_CACHE_NO_AUTO_CLEAR Normally the session cache is checked for expired sessions every 255 connections using the SSL_CTX_flush_sessions(3) function. Since this may lead to a delay which cannot be controlled, the automatic flushing may be disabled and SSL_CTX_flush_sessions(3) can be called explicitly by the application. SSL_SESS_CACHE_NO_INTERNAL_LOOKUP By setting this flag, session-resume operations in an SSL/TLS server will not automatically look up sessions in the internal cache, even if sessions are automatically stored there. If external session caching callbacks are in use, this flag guarantees that all lookups are directed to the external cache. As automatic lookup only applies for SSL/TLS servers, the flag has no effect on clients. SSL_SESS_CACHE_NO_INTERNAL_STORE Depending on the presence of SSL_SESS_CACHE_CLIENT and/or SSL_SESS_CACHE_SERVER, sessions negotiated in an SSL/TLS handshake may be cached for possible reuse. Normally a new session is added to the internal cache as well as any external session caching (callback) that is configured for the SSL_CTX. This flag will prevent sessions being stored in the internal cache (though the application can add them manually using SSL_CTX_add_session(3)). Note: in any SSL/TLS servers where external caching is configured, any successful session lookups in the external cache (ie. for session-resume requests) would normally be copied into the local cache before processing continues - this flag prevents these additions to the internal cache as well. SSL_SESS_CACHE_NO_INTERNAL Enable both SSL_SESS_CACHE_NO_INTERNAL_LOOKUP and SSL_SESS_CACHE_NO_INTERNAL_STORE at the same time. The default mode is SSL_SESS_CACHE_SERVER. RETURN VALUES
SSL_CTX_set_session_cache_mode() returns the previously set cache mode. SSL_CTX_get_session_cache_mode() returns the currently set cache mode. SEE ALSO
ssl(3), SSL_set_session(3), SSL_session_reused(3), SSL_CTX_add_session(3), SSL_CTX_sess_number(3), SSL_CTX_sess_set_cache_size(3), SSL_CTX_sess_set_get_cb(3), SSL_CTX_set_session_id_context(3), SSL_CTX_set_timeout(3), SSL_CTX_flush_sessions(3) HISTORY
SSL_SESS_CACHE_NO_INTERNAL_STORE and SSL_SESS_CACHE_NO_INTERNAL were introduced in OpenSSL 0.9.6h. 50 2013-03-05 SSL_CTX_set_session_cache_mode(3)
All times are GMT -4. The time now is 01:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy