Sponsored Content
Full Discussion: Extend semget on Solaris
Top Forums UNIX for Advanced & Expert Users Extend semget on Solaris Post 19439 by thehoghunter on Thursday 11th of April 2002 11:03:58 AM
Old 04-11-2002
Check out the info here:
http://sunsolve.sun.com/pub-cgi/retr...&wholewords=on

If this doesn't work, go to http://sunsolve.sun.com and do an advanced search of the free docs - you should get a few for semaphores.

Solaris 2.5.1 is set up the same as 2.6 and up.

In /etc/system you would add your values (these may be too high or low for your use - read the info doc first)

set shmsys:shminfo_shmmax=131072000
set semsys:seminfo_semaem=16384
set semsys:seminfo_semmap=66
set semsys:seminfo_semmni=70
set semsys:seminfo_semmns=200
set semsys:seminfo_semmnu=30
set semsys:seminfo_semume=10
set semsys:seminfo_semvmx=32767

and reboot the system. Remeber the comment in the /etc/system is * not #.
thehoghunter
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

semget failed for the semaphore

Hi Everyone I am having trouble using fbackup under SAM in HP-UX 10.20. I'm trying to perform a full backup of the entire system and keep bombing out and I am not sure why. Below is the result from the SAM window showing that fbackup has failed Starting interactive backup... br_backup:... (2 Replies)
Discussion started by: zippy
2 Replies

2. HP-UX

how to extend a vg on the same disk

on the disk array (EMC Clariion cx300): we added 3 disk and extended the LUN corresponding to HP-9000 (rp7410) on HP-UX 11.11: diskinfo /dev/rdsk/c10t0d0, show more disk space, but vgdisplay vg13 does not show more space So the problem is the disk had increased, but vgdisplay does not... (6 Replies)
Discussion started by: pedro_lezaeta
6 Replies

3. AIX

Extend a Filesystem with other LV

Hi Everybody, Is it possible to extend a Filesystem by adding a new LV that exist on different VG to this Filesystem? Thanks in advance. (6 Replies)
Discussion started by: aldowsary
6 Replies

4. Solaris

How to extend a filesystem

I am running solaris 10 with Veritas. I want to extend a filesystem. It's an oracle partition (/ora12). How can I find out if there is space available to expand the filesystem and then how does one extend it. I'm from the HPUX world and so LVM was always how I did things. Thanks jackie (5 Replies)
Discussion started by: jackiebaron
5 Replies

5. Filesystems, Disks and Memory

How to extend a filesystem??

OK I'm sure this question has been posed far too many times. I have solaris 10 x86 with NO Veritas or Disksuite filesystems. Below is the output of df -k # df -k Filesystem kbytes used avail capacity Mounted on / 10485760 547513 9317128 6% / /dev... (1 Reply)
Discussion started by: jackiebaron
1 Replies

6. Red Hat

Can't extend lv

Hi, I have recently increased the size of my pv and I am now attempting to increase the lv but I get the following error: # vgdisplay --- Volume group --- VG Name VolGroup00 System ID Format lvm2 Metadata Areas 1 Metadata... (7 Replies)
Discussion started by: Duffs22
7 Replies

7. Solaris

How to extend an existing file system using SVM in solaris 10

Hi All I want to extend this file system to 120Gb: df -h /xyz Filesystem size used avail capacity Mounted on /dev/md/dsk/d80 98G 35G 62G 37% /xyzand the NetApp admin is going to give me an LUN with 22Gb. This file system is mounted on: metastat d80... (1 Reply)
Discussion started by: fretagi
1 Replies

8. Solaris

Solaris x86 extend disk

hi all! i extend disk on SPARC solaris without problems, but with x86 Solaris 10 i have some troubles . Help pls iostat show me updated disk size, but in format i can't choose Auto configure options to use modified slice # iostat -E c0d1 cmdk1 Soft Errors: 0 Hard Errors: 0 Transport... (4 Replies)
Discussion started by: ijj
4 Replies

9. Linux

Unable to extend LV

Hi all. I have a Logical volume that I can't extend, with this error message: server171:root:/root# lvextend -L +1024M -v /dev/aplic_vg/siteminderwa_lv Finding volume group aplic_vg Archiving volume group "aplic_vg" metadata (seqno 75). Extending logical volume siteminderwa_lv to... (0 Replies)
Discussion started by: Gabriander
0 Replies

10. Red Hat

Is it possible to extend PV

Hello, I have redhat and centos systems that I've only been able to grow the VG by adding more disks. I've been searching the web for a way to extend a volume group by growing the physical disk only and not having to add a second disk. Is it possible? I can do this with AIX, by just... (0 Replies)
Discussion started by: bbbngowc
0 Replies
SEMGET(2)						      BSD System Calls Manual							 SEMGET(2)

NAME
semget -- obtain a semaphore id SYNOPSIS
#include <sys/sem.h> int semget(key_t key, int nsems, int semflg); DESCRIPTION
Based on the values of key and semflg, semget() returns the identifier of a newly created or previously existing set of semaphores. The key is analogous to a filename: it provides a handle that names an IPC object. There are three ways to specify a key: o IPC_PRIVATE may be specified, in which case a new IPC object will be created. o An integer constant may be specified. If no IPC object corresponding to key is specified and the IPC_CREAT bit is set in semflg, a new one will be created. o The ftok(3) function may be used to generate a key from a pathname. The mode of a newly created IPC object is determined by OR'ing the following constants into the semflg argument: SEM_R Read access for user. SEM_A Alter access for user. (SEM_R>>3) Read access for group. (SEM_A>>3) Alter access for group. (SEM_R>>6) Read access for other. (SEM_A>>6) Alter access for other. If a new set of semaphores is being created, nsems is used to indicate the number of semaphores the set should contain. Otherwise, nsems may be specified as 0. RETURN VALUES
The semget() system call returns the id of a semaphore set if successful; otherwise, -1 is returned and errno is set to indicate the error. ERRORS
The semget() system call will fail if: [EACCES] Access permission failure. [EEXIST] IPC_CREAT and IPC_EXCL were specified, and a semaphore set corresponding to key already exists. [EINVAL] The number of semaphores requested is either less than 1 or greater than the system imposed maximum per set. [EINVAL] A semaphore identifier exists for the argument key, but the number of semaphores in the set associated with it is less than nsems, and nsems is non-zero. [ENOENT] No semaphore set was found corresponding to key, and IPC_CREAT was not specified. [ENOSPC] Insufficiently many semaphores are available. [ENOSPC] The kernel could not allocate a struct semid_ds. LEGACY SYNOPSIS
#include <sys/types.h> #include <sys/ipc.h> #include <sys/sem.h> The include files <sys/types.h> and <sys/ipc.h> are necessary. SEE ALSO
semctl(2), semop(2), ftok(3), compat(5) BSD
September 12, 1995 BSD
All times are GMT -4. The time now is 10:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy