search for: semmsl

Displaying 8 results from an estimated 8 matches for "semmsl".

1998 Mar 31
0
Semaphore problem on HP-UX ?
...of them are > on HP-UX 10.20 as well with the same patch level. > Can this problem be introduced with 1.9.18 ? > Luc, Hope you don't mind, but I'm CC:ing the samba list with the reply to this, as other HPUX users will find this useful. It seems that HPUX10.x defines the symbol SEMMSL in the include files to be a rather large number (the max number of available semaphores on a system). The code in shmem_sysv.c (new for the 1.9.18 releases), which controls the use of System V semaphores in Samba, uses the value (SEMMSL-1) as the number of semaphores to use if SEMMSL is defined...
1998 Sep 15
1
SUNOS: Samba grabs all semaphores, breaking other softwares (PR#9755)
...this is a SunOS specific problem. We'd really like to > get this bug under control... > It's not actually a bug really, more a questionable design decision. The solution for Samba 1.9.18pXX is to set the number of semaphores manually in shmem_sysv.c, ie. change the lines: #ifdef SEMMSL #define SHMEM_HASH_SIZE (SEMMSL-1) #else #define SHMEM_HASH_SIZE 63 #endif to be just : #define SHMEM_HASH_SIZE <whatever you want here> Samba-2 won't have this problem as it is much more conservative about SYSV semaphore use. I'm CC:ing this reply to the mailing list as I think pe...
1998 Sep 16
0
SUNOS: Samba grabs all semaphores
Ole, Semaphores are a very cheap system resource in SunOS 4.1.x. You can easily bump up the max number using adb, without even recompiling the kernel. _seminfo: _seminfo+0 semmap 30 _seminfo+4 semmni 256 _seminfo+8 semmns 1024 _seminfo+0xc semmnu 1024 _seminfo+0x10 semmsl 1024 _seminfo+0x14 semopm 100 _seminfo+0x18 semume 256 _seminfo+0x1c semusz 2064 _seminfo+0x20 semvmx 32767 _seminfo+0x24 semaem 16384 To set "semmns" and other parameters without recompiling the kernel, do somthing like; # /bin/adb -w -k /vmunix /dev/mem <<EOF _s...
1999 Aug 11
0
HPUX shared memory creates error
...can't figure out exactly why samba is not working. This also happens when using the binary hpux package (2.0.4a) downloaded from samba.org. This problem is connected to Luc STEENHUYSE VAN DE VELDE's posting on Wed, 01 Apr 1998 (forwarded by Jeremy Alison), and other posting concerning the SEMMSL "Semaphore problem on HPU-UX" Tue 31 Mar 1998. I am not an expert on HP, however, and I do not know exactly how to attack the problem. Diagnostic ---------- I have been able to install samba on an (almost) identical machine and have it work, and the only differences seem to be (as viewe...
1999 Nov 01
0
SAMBA digest 2290
...eaders (MSGTQL) > 0 message segments (MSGSEG) >* >* IPC Semaphores >* > 10 entries in semaphore map (SEMMAP) > 70 semaphore identifiers (SEMMNI) > 5000 semaphores in system (SEMMNS) > 30 undo structures in system (SEMMNU) > 25 max semaphores per id (SEMMSL) > 10 max operations per semop call (SEMOPM) > 10 max undo entries per process (SEMUME) > 32767 semaphore maximum value (SEMVMX) > 16384 adjust on exit max value (SEMAEM) >* Oooh. I ran into this one too on SCO OpenServer 5.0.4. Samba allocates something like 12-15 semap...
2006 Mar 22
1
How do I change kern.ipc.shmmax in FreeBSD 5.x automatically after reboot?
Hello, I have the following entries in /boot/loader.conf: kern.ipc.shm_use_phys="1" kern.ipc.semmns="500" kern.ipc.semmni="40" kern.ipc.semmap="500" which are set correctly. Unfortunately, the following two entries kern.ipc.shmmax="512000000" kern.ipc.shmall="65526" do not change the corresponding values according to
1999 Oct 13
3
Root did not create the semaphore
Hello all, I have a very annoying situation (at least at my end). I set up Samba 2.0.5 on a Digital UNIX 4.0F system sitting on a Compaq DS20 server with great success.... until recently. I set up three directory file shares with no problems, when I tried to set up a forth, quite a while after setting up the inital three, I tried to access it from a NT box, I got the message server not found,
2006 Apr 12
1
powerd not behaving with an Asus A8V-MX and Athlon 64 X2 3800+
...0 kern.ipc.pipeallocfail: 0 kern.ipc.piperesizefail: 0 kern.ipc.piperesizeallowed: 1 kern.ipc.msgmax: 16384 kern.ipc.msgmni: 40 kern.ipc.msgmnb: 2048 kern.ipc.msgtql: 40 kern.ipc.msgssz: 8 kern.ipc.msgseg: 2048 kern.ipc.semmap: 30 kern.ipc.semmni: 10 kern.ipc.semmns: 60 kern.ipc.semmnu: 30 kern.ipc.semmsl: 60 kern.ipc.semopm: 100 kern.ipc.semume: 10 kern.ipc.semusz: 92 kern.ipc.semvmx: 32767 kern.ipc.semaem: 16384 kern.ipc.shmmax: 33554432 kern.ipc.shmmin: 1 kern.ipc.shmmni: 192 kern.ipc.shmseg: 128 kern.ipc.shmall: 8192 kern.ipc.shm_use_phys: 0 kern.ipc.shm_allow_removed: 0 kern.ipc.numopensockets:...