10 More Discussions You Might Find Interesting
1. Programming
Hi,
Can I find size of the file from size of the buffer written?
nbECRITS = fwrite(strstr(data->buffer, ";") + 1, sizeof(char), (data->buffsize) - LEN_NOM_FIC, fic_sortie);
Thank You :) (1 Reply)
Discussion started by: ezee
1 Replies
2. Shell Programming and Scripting
Moderators,
Please excuse if I am in the wrong section.
I have a question that someone may know the answer to. We know that a current bash shell keeps a record of all commands in a buffer. When the shell is terminated this buffer is written out to ~/.bash_history for the user.
I know... (2 Replies)
Discussion started by: jaysunn
2 Replies
3. Linux
Hi all
I saw in Microsoft web site www.SysInternals.com a tool called CoreInfo from able to print out on screen the size of the Data and Instruction caches of your processor, the Locigal to Physical Processor mapping, the number of the CPU sockets. etc..
Do you know if in Linux is available a... (2 Replies)
Discussion started by: manustone
2 Replies
4. Filesystems, Disks and Memory
Hi,
I am trying to understand the role of buffer cache in block I/O.
I am monitoring /proc/meminfo, my question is does the value of 0 for 'buffers', mean that any subsequent disk read issued by a process, would get the data physically from the disk, and not an allocated buffer for the block?
... (1 Reply)
Discussion started by: jake24
1 Replies
5. UNIX for Dummies Questions & Answers
Greetings,
I haven't posted in a while and have a Firefox question.
I'm running Firefox 2.0.0.6 on Ubuntu 710 and am wondering if there is a way to increase the maximum size of files captured into the cache. The cache size was 50 megabytes and that seemed limit the files to 24 Meg. Increasing... (0 Replies)
Discussion started by: psikeyhackr
0 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Is it possible to reduce the amount of buffer cache in the memory allocation of a Unix Server? If so where can I do that?
Also, does buffer cache count as tied up memory, or will it decrease as more memory is requested by other programs. (1 Reply)
Discussion started by: dehuang83
1 Replies
7. Solaris
Does anyone know how the unix buffer / cache is set in a Solaris based system ?
( I presume it is a kernel based setting )
I notice from SAR -d that my read cache is consistently at 100% but my write cache frequently falls below 65%. What does this mean. Should I be tuning the write cache and... (1 Reply)
Discussion started by: jimthompson
1 Replies
8. HP-UX
What is the "Buffer Cache" used for? (1 Reply)
Discussion started by: ALTRUNVRSOFLN
1 Replies
9. UNIX for Advanced & Expert Users
i have a serious doubht about the assignment of memory
in hp-ux system .
i read from somewhere that the page allocation in
hp-ux is not unified unlike compaq .
i wanted to know in hp-ux kernel ,once the pages are
assigned for the univarsal buffer cache... (2 Replies)
Discussion started by: vish_shan
2 Replies
10. Filesystems, Disks and Memory
anybody please tell me how do i get all the information
about buffer cache in hp-ux .if anybody familiar with the system
call them please specify .
i found the extern variables in /sys/buf.h . but that didn't help .:) (2 Replies)
Discussion started by: vish_shan
2 Replies
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)