01-07-2011
actually once i observed the problem from then on my program was not working due to same reason.
BTW, one more question is from the shmmax value i can see that its around some giga bytes. but that much memory is not available in the system. so it means will shmmax size will be set to 32MB(default shared memory maximum size)?
Once i got this issue, then on the same issue is continuously occuring till i restart the system.
---------- Post updated at 10:41 AM ---------- Previous update was at 10:39 AM ----------
ipcs command output:
ipcs -m
0x00000000 904855586 user 777 131072 2 dest
0x0052e2c1 1401815075 user 600 37879808 5
0x0000f24f 1401847844 root 644 28 22
0x00238003 1401880613 root 644 16 2
0x00000000 1402142758 user 777 12096 2 dest
0x00000000 1291714599 user 777 15840 2 dest
10 More Discussions You Might Find Interesting
1. Programming
Hi Folks
can any body suggest how to allocate virtual memory any function for that (2 Replies)
Discussion started by: munnu
2 Replies
2. Linux
Hi,
I'm developing a data processing pipeline with multiple stages, with data being moved between the stages using shared memory segments. The size of the data is typically of the order of hundreds of megabytes, and there are typically a few tens of main shared memory segments each of size... (2 Replies)
Discussion started by: theicarusagenda
2 Replies
3. UNIX for Advanced & Expert Users
On SunOS 5.8 I get an error when starting a large Java process with over 2Gb memory.
Error occurred during initialization of VM
Could not reserve enough space for object heap
When stopping several other Java processes we can start this process. This seems to indicate that we don't have... (11 Replies)
Discussion started by: rein
11 Replies
4. UNIX for Advanced & Expert Users
Hi,
I have 2 systems with same hardware and software. One system is giving me error "Error occurred during initialization of VM Could not reserve enough space for object " when I tried to increase JBoss App's heap size to 2GB while the other system is running fine without any issue. Is there... (5 Replies)
Discussion started by: ravi3553
5 Replies
5. UNIX for Advanced & Expert Users
hi... i want to find oracle allocate how many memory really..
i execute this code to list memory on unix system : ps -eo pmem,args | sort -k 1 -r -n
outputs ;
%mem command
12.9|ora_smon_RTX
12.9|ora_s000_RTX
12.9|ora_reco_RTX
12.9|ora_qmnc_RTX... (2 Replies)
Discussion started by: utoptas
2 Replies
6. SuSE
Maybe increase swap space will help? How to do it?
When I install suse 11 on this box, I remeber it shows the swap space is 2G, I didn't find it anywhere now... (5 Replies)
Discussion started by: fld2007
5 Replies
7. SuSE
Hi,
In my proj, one process was running for 2 days. after 2 days its throwing an error message "shmget failed cannot allocate memory". the same problem happened every time.i.e. i can reproduce the same issue if my process is running for every 2 days for a same operation.Within this 2 days there... (1 Reply)
Discussion started by: ManoharanMani
1 Replies
8. Linux
Hi,
In my proj, one process was running for 2 days. after 2 days its throwing an error message "shmget failed cannot allocate memory". the same problem happened every time.i.e. i can reproduce the same issue if my process is running for every 2 days for a same operation.Within this 2 days there... (1 Reply)
Discussion started by: ManoharanMani
1 Replies
9. Linux
Hi,
In my proj, one process was running for 2 days. after 2 days its throwing an error message "shmget failed cannot allocate memory". the same problem happened every time.i.e. i can reproduce the same issue if my process is running for every 2 days for a same operation.Within this 2 days there... (1 Reply)
Discussion started by: ManoharanMani
1 Replies
10. Programming
hi
I want to take string as a input from user and the string is very very length. From the lengthy string i have to substring take first 16 letters, then next 8 letters,................... Please guide me how to write program to take lengthy string from user and sub string it.
Thanks (4 Replies)
Discussion started by: atharalikhan
4 Replies
LEARN ABOUT REDHAT
lpoptions
lpoptions(1) Easy Software Products lpoptions(1)
NAME
lpoptions - display or set printer options and defaults
SYNOPSIS
lpoptions [ -h server ] -d dest[/instance] [ -o option=value ] ... [ -o option=value ]
lpoptions [ -h server ] [ -E ] [ -p dest[/instance] ] -l
lpoptions [ -h server ] [ -E ] [ -o option=value ] ... [ -o option=value ] [ -p dest[/instance] ] -r option
lpoptions [ -h server ] [ -E ] -x dest[/instance]
DESCRIPTION
lpoptions displays or sets printer options and defaults. lpoptions shows the default printer options when run with no arguments. Other
options include:
-E
Enabled encryption when communicating with the CUPS server.
-d dest[/instance]
Sets the default printer to dest. If instance is supplied then that particular instance is used. This option overrides the system
default printer for the current user.
-h server
Specifies the CUPS server to communicate with.
-l
Lists the printer specific options and their current settings.
-o option=value
Specifies a new option for the named destination.
-p dest[/instance]
Sets the destination and instance, if specified, for any options that follow. If the named instance does not exist then it is cre-
ated.
-r option
Removes the specified option for the named destination.
-x dest[/instance]
Removes the options for the named destination and instance, if specified. If the named instance does not exist then this does noth-
ing.
If no options are specified using the -o option then the current options for the named printer are reported on the standard output.
Options set with the lpoptions command are used by the lp(1) and lpr(1) commands when submitting jobs.
ROOT ACCOUNT OPTIONS
When run by the root user, lpoptions gets and sets default options and instances for all users in the /etc/cups/lpoptions file.
COMPATIBILITY
The lpoptions command is unique to CUPS.
FILES
~/.lpoptions - user defaults and instances created by non-root users.
/etc/cups/lpoptions - system-wide defaults and instances created by the root user.
SEE ALSO
cancel(1), lp(1), CUPS Software Users Manual, http://localhost:631/documentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
21 October 2002 Common UNIX Printing System lpoptions(1)