10-13-2004
Shared memory shortage but lots of unused memory
I am running HP-UX B.11.11.
I'm increasing a parameter for a database engine so that it uses more memory to buffer the disk drive (to speed up performance). I have over 5GB of memory not being used.
But when I try to start the DB with the increased buffer parameter I get told.
"Not enough Shared Memory"
I am told that there is a Kernel paramater that I need to adjust so that I can use that "unused" memory for this DBs startup.
Does anyone know the kernel parameter that will allow me to use more of my available memory as shared memory?
Chris.
10 More Discussions You Might Find Interesting
1. Programming
hi,
this is the problem: i want to swap a linked list between 4 processes (unrelated), is there any way i can do that just by sending a pointer to a structure?
//example
typedef struct node
{
int x;
char c;
struct node *next;
} node;
or i should send the items ( x,c ) by... (9 Replies)
Discussion started by: elzalem
9 Replies
2. Programming
I need to create a shared library to access an in memory DB. The DB is not huge, but big enough to make it cumbersome to carry around in every single process using the shared library. Luckily, it is pretty static information, so I don't need to worry much about synchronizing the data between... (12 Replies)
Discussion started by: DreamWarrior
12 Replies
3. Programming
I am writing a shared library in Linux (but compatible with other UNIXes) and I want to allow multiple instances to share a piece of memory -- 1 byte is enough. What's the "best" way to do this? I want to optimize for speed and portability.
Obviously, I'll have to worry about mutual exclusion. (0 Replies)
Discussion started by: otheus
0 Replies
4. UNIX for Advanced & Expert Users
Hi,
Using ipcs we can see shared memory, etc.. details. How can I add/remove shared memory(command name)?
Thanks,
Naga:cool: (2 Replies)
Discussion started by: Nagapandi
2 Replies
5. Programming
Hi,
I'm trying to learn how to manage memory when I have to deal with lots of data.
Basically I'm indexing a huge file (5GB, but it can be bigger), by creating tables that
holds offset <-> startOfSomeData information. Currently I'm mapping the whole file at
once (yep!) but of course the... (1 Reply)
Discussion started by: emitrax
1 Replies
6. AIX
1.How to know wich process is using the shared memory?
2.How to flush (release) the process from the shared memory? (1 Reply)
Discussion started by: pchangba
1 Replies
7. AIX
Hello,
I've been reading your forums for quite a while and the great amount of information I find here always come in hand.This time however, I need some specific help...
I have a doubt with an AIX server which I'm failing to understand as I'm new to its concept of memory management...
... (8 Replies)
Discussion started by: flpgdt
8 Replies
8. Programming
Hello,
When creating shared memory in C, should be remove shared memory with shmctl function when don't need it. If it didn't remove, occupied shared memory stay and remain.
If we create shared memory repeatedly without removing unusable shared memory, /dev/shm will full.
Does Unix or... (1 Reply)
Discussion started by: pronetin
1 Replies
9. Programming
Hello.
I am new to this forum and I would like to ask for advice about low level POSIX programming.
I have to implement a POSIX compliant C shared library.
A file will have some variables and the shared library will have some functions which need those variables.
There is one special... (5 Replies)
Discussion started by: iamjag
5 Replies
10. AIX
I am new to AIX, I have few AIX 5.3 servers and I could see there are significant difference in paging space utilization on servers even though they are running same applications
below server is working fine which shows 2-5 % paging usage throuh out the day
cpu_scale_memp = 8... (12 Replies)
Discussion started by: bibish
12 Replies
LEARN ABOUT HPUX
services.window
services.window(4) Kernel Interfaces Manual services.window(4)
NAME
services.window - file containing applications and their associated memory window ID
DESCRIPTION
The file is used by applications using memory windows.
Each line in the file associates an application with a memory window ID. A line in the file cannot start with a space or tab. The format
is a unique name, defining the application, followed by a space/tab, followed by a unique window_id. See the sample file in
Memory windows allows for the starting of a process in a unique or existing memory window where it can create and share objects with other
applications in the same memory window.
The creation of memory windows removes the system wide restriction on shared resources. Without memory windows, 32-bit processes were lim-
ited to 1.75 gigabytes of shared resources. Each memory window allows for the definition of a unique 1 gigabyte quadrant and since multi-
ple memory windows can be defined in a system, the system total for shared resources can exceed the 1.75 gigabyte limitation for 32 bit
processes.
The definition of a memory window is only available for 32-bit processes.
The file provides a central place for memory window applications to associate their memory window IDs. In the event there are any colli-
sions, only a change in is necessary to select another memory window for the entire application. If is not used, and user applications
hard code window IDs in their startup scripts, collisions are not easily detected or easily fixed.
A memory window application uses the command getmemwindow(1M) to extract the application's window_id from the file, and then passes that ID
to the setmemwindow(1M).
Using the same window ID places applications in the same memory window.
EXAMPLES
Below is a example of a file.
AUTHOR
was developed by HP.
FILES
File containing applications' associated window ID.
SEE ALSO
getmemwindow(1M), setmemwindow(1M).
on
services.window(4)