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 -- get set of semaphores LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/sem.h> int semget(key_t key, int nsems, int semflg); DESCRIPTION
The semget() system call returns the semaphore identifier associated with key. A new set containing nsems semaphores is created if either key is equal to IPC_PRIVATE, or key does not have a semaphore set associated with it and the IPC_CREAT bit is set in semflg. If both the IPC_CREAT bit and the IPC_EXCL bit are set in semflg, and key has a semaphore set associated with it already, the operation will fail. If a new set of semaphores is created, the data structure associated with it (the semid_ds structure, see semctl(2)) is initialized as fol- lows: o sem_perm.cuid and sem_perm.uid are set to the effective uid of the calling process. o sem_perm.gid and sem_perm.cgid are set to the effective gid of the calling process. o sem_perm.mode is set to the lower 9 bits of semflg. o sem_nsems is set to the value of nsems. o sem_ctime is set to the current time. o sem_otime is set to 0. RETURN VALUES
semget() returns a non-negative semaphore identifier if successful. Otherwise, -1 is returned and errno is set to reflect the error. ERRORS
[EACCES] The caller has no permission to access a semaphore set already associated with key. [EEXIST] Both IPC_CREAT and IPC_EXCL are set in semflg, and a semaphore set is already associated with key. [EINVAL] nsems is less than 0 or greater than the system limit for the number in a semaphore set. A semaphore set associated with key exists, but has fewer semaphores than the number specified in nsems. [ENOSPC] A new set of semaphores could not be created because the system limit for the number of semaphores or the number of sema- phore sets has been reached. [ENOENT] IPC_CREAT is not set in semflg and no semaphore set associated with key was found. SEE ALSO
ipcs(1), semctl(2), semop(2), ftok(3) STANDARDS
The semget system call conforms to X/Open System Interfaces and Headers Issue 5 (``XSH5''). HISTORY
Semaphores appeared in the first release of AT&T System V UNIX. BSD
May 13, 2004 BSD
All times are GMT -4. The time now is 12:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy