Displaying 6 results from an estimated 6 matches for "semget".
2010 Aug 10
1
semget() failed
Hello,
I'm trying to port RPL/2 (http://www.rpl2.net) to OS/2 and I don't
understand OS/2 semget(). RPL/2 uses POSIX semaphores. I have written a
minimal library that emulates POSIX semaphores with SysV ones. I have
tested this library on several Unix systems without any trouble.
On OS/2, semget() always returns -1 and I don't understand my mistake.
int
sem_init_SysV(sem_t *semaphore,...
1998 Apr 01
0
[Fwd: Semaphore problem on HP-UX ?]
.... 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));
while (hash_size > 1) {...
2002 Sep 30
0
Bug(?) in the example encoder (details re: audio from fifo)
...shmat(0, 0, 0x1ptrace: umoven: Input/output error
) = ?
shmat(1, 0xbffff858, 0x1) = 0xbffff878
shmat(2, 0, 0x1ptrace: umoven: Input/output error
) = ?
semop(3221223652, 0, 0) = 0
SYS_199(0, 0, 0x81b00c8, 0, 0x7) = 0
semget(IPC_PRIVATE, 0, 0x81b00c8|0200) = 0
ipc_subcall(0, 0, 0x81b00c8, 0) = 0
brk(0) = 0x81b0ce4
brk(0x81b0d04) = 0x81b0d04
brk(0x81b1000) = 0x81b1000
getpid() = 4009
brk(0x81b2000)...
2005 Jul 12
1
problem mounting ocfs2: heartbeat
When attempting to mount the OCFS2 file system I'm getting the
following error message:
ocfs2_hb_ctl: Internal logic failure while starting heartbeat
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
"Operation not permitted"
I followed the steps given in the users_guide:
modprobe ocfs2_dlmfs
mount -t configfs none /config
mount -t ocfs2_dlmfs none /dlm
o2cb_ctl
2008 Feb 29
1
cram-md5 crashes passdb
...|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=16,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL, revents=POLLIN}, {fd=14,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=18,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 5, 986) = 1
[pid 24794] gettimeofday( <unfinished ...>
[pid 24795] semget(89, 3214200836, 0x59|020 <unfinished ...>
[pid 24794] <... gettimeofday resumed> {1204280592, 130807}, {0, 0}) = 0
[pid 24794] read(16, "\1FCRAM-MD5 mechanism can\'t be su"..., 1024) = 59
[pid 24794] time([1204280592]) = 1204280592
[pid 24794] stat64("/etc/lo...
2004 Sep 15
2
Samba 2.0.6-3 (productive env.) slow down dramticaly
Hello together,
since today morning I have an massive performance issue with samba
2.0.6-3 (Debian - Testing-Tree) in my samba production environment.
Samba responds very slowly within the logon process (2-3 Minutes for
each line in the netlogon.cmd). Later during normal operations opening
from files works very slowly and often breaks connection.
There is no cpu or memory load on the system.