Displaying 20 results from an estimated 535 matches for "semaphore".
1998 Apr 01
0
[Fwd: Semaphore problem on HP-UX ?]
...the
samba on the test machine. Unfortunately it made no
difference. :-(.
I added some debugging code and looked what happened :
--------------------------------------------------------------------
DEBUG(4,("Trying sysv shmem open of size %d\n", shm_size));
/* first the semaphore */
sem_id = semget(SEMAPHORE_KEY, 0, 0);
if (sem_id == -1) {
if (read_only) return NULL;
hash_size = SHMEM_HASH_SIZE;
DEBUG(4,("semaphore : initial hash-size = %d \n",
hash_size));
w...
1998 Sep 15
1
SUNOS: Samba grabs all semaphores, breaking other softwares (PR#9755)
Ole.H.Nielsen@fysik.dtu.dk wrote:
>
> SAMBA grabs ALL available semaphores minus 1 on SunOS 4.1.3,
> where the kernel has 60, see /usr/include/sys/sem.h:
> #define SEMMNS 60 /* # of semaphores in system */
>
> This is a MAJOR PROBLEM to us, since our backup software
> (IBM ADSM) also needs available semaphores for the client
> part to wor...
1999 Oct 13
3
Root did not create the semaphore
...e
system came up, I started the Samba Server and gave the thumbs up. The
next day, I was confronted with users not being able to access ANY of
the shares. I checked to see if the processes were running, and they
were, then I ran smbstatus and recieved the messages:
ERROR:Root did not create the semaphore
ERROR:Failed to initialize share modes
Can't initialize shared memory - exiting
So I did some more kernel tuning, and even reverted back to the settings
when samba did work with no luck. Although I can see smbd and nmbd
running in my process lists, SWAT only shows that nmbd is running.
Any h...
2002 Nov 16
1
upgraded to kernel 2.4.19 from 2.4.7, samba not found from windows, network ok
...t work*
smbd version 2.0.7 started.
Copyright Andrew Tridgell 1992-1998
[2002/11/16 17:35:38, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are
available.
[2002/11/16 17:35:56, 0] locking/shmem_sysv.c:sysv_shm_open(566)
Can't create or use semaphore [1]. Error was Function not implemented
[2002/11/16 17:35:56, 0] locking/locking.c:locking_init(174)
ERROR: Failed to initialise share modes
[2002/11/16 17:35:56, 0] locking/shmem_sysv.c:sysv_shm_open(566)
Can't create or use semaphore [1]. Error was Function not implemented
[2002/11/16 17:...
2013 Feb 18
4
[PATCH for discussion only 0/3] Implement mutexes to limit number of concurrent instances of libguestfs.
...enable parallel-tests (the
default in automake >= 1.13) without blowing up the host. Secondly
oVirt has raised concerns about how to limit the number of libguestfs
appliances that can run to prevent this from interfering with their
ordinary guests.
The mutex is easy to use: You specify a POSIX semaphore file and the
maximum number of instances you want to allow to run at the same time,
eg:
LIBGUESTFS_MUTEX_FILE=/guestfs.mutex
LIBGUESTFS_MUTEX_LIMIT=3
export LIBGUESTFS_MUTEX_FILE LIBGUESTFS_MUTEX_LIMIT
As long as each handle has the same settings, the limit is applied
transparently, with handl...
2005 Oct 05
2
Apache won't start, semaphores exhausted
...d-2.0.52-12.2.ent.centos4
rpm). The kernel we're running is 2.6.9-11.ELsmp. After a few weeks
of uptime, Apache refuses to start with the following error in
error.log:
[crit] (28)No space left on device: mod_jk: could not create jk_log_lock
With Apache not running, there're a lot of semaphores left behind by
Apache, e.g.:
------ Semaphore Arrays --------
key semid owner perms nsems
0x00000000 98304 root 600 1
0x00000000 131073 apache 600 1
0x00000000 163842 apache 600 1
0x00000000 196611 apache 600 1
0x000...
1998 Mar 31
0
Semaphore problem on HP-UX ?
STEENHUYSE VAN DE VELDE Luc wrote:
>
> While testing the latest releases however we ran into a weird problem
> related to semaphores. As soon as we try to do something with samba
> HP-UX allocates all available semaphores and other services are having
> trouble because of this. E.g. Oracle won't start anymore as it cannot
> allocate any semaphores. I tested this on two different HP 800 systems
> :
> a 4 proce...
1999 Nov 01
0
SAMBA digest 2290
At 03:33 AM 11/01/1999 +1100, you wrote:
>
>From: Hai Nguyen <hhn1@yahoo.com>
>To: samba-technical@samba.org, samba@samba.org
>Subject: root did not create the semaphore
>Message-ID: <19991030210628.3575.rocketmail@web705.mail.yahoo.com>
>MIME-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>
>Hello,
>I am new to samba and need assistance for the error below. The daemons
>started fine (via script) but can't map drive and get...
2000 Jul 13
1
Semaphor Error?
I've just installed Samba on Solaris-8. When i start 'smbd' the following errors appear in the 'log.smb' log file:
# tail ../var/log.smb
[2000/07/13 13:53:19, 0] locking/shmem_sysv.c:sysv_shm_open(597)
ERROR: root did not create the semaphore
[2000/07/13 13:53:19, 0] locking/locking.c:locking_init(174)
ERROR: Failed to initialise share modes
[2000/07/13 13:53:22, 4] locking/shmem_sysv.c:sysv_shm_open(544)
Trying sysv shmem open of size 1048576
[2000/07/13 13:53:22, 0] locking/shmem_sysv.c:sysv_shm_open(597)...
2001 Feb 26
1
Semaphores
I am running Samba 2.0 and occasionally get a "semaphore timeout period has
expired" message when accessing Samba shares on a Digital UNIX 4.0e server.
Does anyone know what kernel semaphore settings should be. Or could a
upgrade to 2.0.7 help. I new to Samba and am very green with this product.
Thanks
David
2008 Feb 06
1
POSIX semaphores in CentOS 5.1?
According to the man pages for sem_wait, etc., POSIX semaphores are
available in Linux 2.6 (with the right NTPL threading in glibc).
However, I have a program that compiles just fine but won't link because it
can't find the library for the semaphore operations.
What am I missing?
I ran a find and grep through all the libc's on the system and the...
2009 Jul 23
2
how to calculate how many semaphores already use on server?
we have following setup on sysctl.conf:
kernel.sem = 256 32000 128 142
I tried to startup database and have error happen. I knew problem come from SEMMNS (32000) is not enough. Does anyone know how to calculate how many semaphores already use on system?
Thanks.
%ipcs -s
------ Semaphore Arrays --------
key semid owner perms nsems
0x963683ec 4751396 oracle 640 104
0xa2c7ff00 23920677 oracle 640 152
0xa2c7ff01 23953446 oracle 640 152
0xa2...
2013 Aug 03
1
[PATCH][git-pull] Fix mbox/semaphore checks, UNDI ID debug
...b6cb7e0cd40e4bb3681ada047fe77ffdd:
Gene Cumm (1):
Allow for UNDIIF_ID_DEBUG in 1 mk line
are available in the git repository at:
git://github.com/geneC/syslinux.git elflink-undi-thread-for-mfleming
Gene Cumm (3):
core/lwip/undi: Improve UNDIIF_ID_DEBUG messages
core: mbox/semaphore NULL checks
core: make mbox_post()/__sem_down_slow() check if valid
core/include/mbox.h | 5 +++--
core/include/thread.h | 5 +++--
core/lwip/src/arch/sys_arch.c | 5 ++++-
core/lwip/src/netif/undiif.c | 17 +++++++++--------
core/thread/mbox.c | 2...
2010 Feb 01
4
[PATCH 1/3] Introduce nouveau_bo_wait for waiting on a BO with a GPU channel
nouveau_bo_wait will make the GPU channel wait for fence if possible,
otherwise falling back to waiting with the CPU using ttm_bo_wait.
The nouveau_fence_sync function currently returns -ENOSYS, and is
the focus of the next patch.
Signed-off-by: Luca Barbieri <luca at luca-barbieri.com>
---
drivers/gpu/drm/nouveau/nouveau_bo.c | 68 ++++++++++++++++++++++++++++++-
2001 Dec 20
0
ERROR: root did not create the semaphore
I start Samba process smbd and nmbd correctly
But smbstatus did not run, it return :
# ./smbstatus
Samba version 2.0.5a
Service uid gid pid machine
----------------------------------------------
ERROR: root did not create the semaphore
ERROR: Failed to initialise share modes
Can't initialise shared memory - exiting
Here is an extract of log.smb :
[2001/12/20 17:22:54, 1] smbd/server.c:(628)
smbd version 2.0.5a started.
Copyright Andrew Tridgell 1992-1998
[2001/12/20 17:22:54, 1] smbd/files.c:(216)
file_in...
2005 Aug 16
0
FW: Error:The semaphore timeout period has expired
UPDATE:
We found out that there was still an entry in /etc/rc.local to start up
the old SAMBA after upgrading and setting up to run from inetd.conf.
Once the /etc/rc.local entry was removed, we no longer receive the
"semaphore timeout period has expired" messages and we are able to
connect to the shares.
Ben Burruel
Sr. Systems Manager
Metrics & Mainframe Capacity Planning
San Diego
(858) 886-3363
> -----Original Message-----
> From: BURRUEL, BENJAMIN D (SBCSI)
> Sent: Monday, August 15, 2005 7:44...
2010 Feb 09
2
[PATCH 1/3] Introduce nouveau_bo_wait for waiting on a BO with a GPU channel (v2)
Changes in v2:
- Addressed review comments
nouveau_bo_wait will make the GPU channel wait for fence if possible,
otherwise falling back to waiting with the CPU using ttm_bo_wait.
The nouveau_fence_sync function currently returns -ENOSYS, and is
the focus of the next patch.
Signed-off-by: Luca Barbieri <luca at luca-barbieri.com>
---
drivers/gpu/drm/nouveau/nouveau_bo.c | 68
2007 Jun 25
5
Module Patterns part 1 -- The Puppet Semaphor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear list!
While converting my config to modules, I''m applying puppet''s mechanisms to
interact with and between modules. Here I''ll try to collect a few patterns to
create awareness of fundamental module patterns. After feedback/discussion I
will add this to the wiki.
The Puppet Semaphor
===================
1999 Oct 23
3
semaphores and Solaris 7 8/99
...en Samba. I am running Samba 2.0.5a and it works fine
on an Ultra 10 running the 5/99 release of Solaris 7. All of the Ultra 10's
are using the 64 bit kernel. This is the errors that I am getting.
[1999/10/22 21:09:56, 0] locking/shmem_sysv.c:sysv_shm_open(597)
ERROR: root did not create the semaphore
[1999/10/22 21:09:56, 0] locking/locking.c:locking_init(174)
ERROR: Failed to initialise share modes
I used abd to compare the kernel settings for shminfo and seminfo and they
are indentical between the 2 releases. I also verified the samba install. I
am running smbd and nmbd as a daemon not thr...
2007 Nov 23
0
[PATCH] [Mini-OS] Add init_SEMAPHORE
Add init_SEMAPHORE() to dynamically initialize semaphores.
Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
diff -r f2711b7eae95 -r 36bf1e737b87 extras/mini-os/include/semaphore.h
--- a/extras/mini-os/include/semaphore.h Thu Nov 22 19:55:42 2007 +0000
+++ b/extras/mini-os/include/semaphore.h Fri No...