search for: shmid

Displaying 9 results from an estimated 9 matches for "shmid".

Did you mean: schmid
2008 Sep 09
1
DTrace and shared memory id
...How do i access the shm id, i would need this to debug a customer problem but i don''t have time to learn it the hard way. Regards Henrik 1: http://mail.opensolaris.org/pipermail/dtrace-discuss/2007-August/004473.html 2: #pragma D option quiet dtrace:::BEGIN { /* operation key shmid size flags cpu wall */ printf("%-10s %-10s %-10s %-10s %-10s %-10s %-10s\n", "operation", "key", "shmid", "size", "flags",...
2002 Jun 25
2
Help wanted: configure test for busted mmap
Linux 2.2 (and probably others) have a deficient mmap which has caused a number of problems (e.g. bug #285). A workaround is in development, but it would be helpful to have a configure test to detect the bad mmaps(). Any takers? -d
2001 Mar 17
1
ogg123 doesn't destroy shm segment
...@ -8,7 +8,6 @@ #include <sys/types.h> #include <sys/ipc.h> #include <sys/shm.h> -#include <sys/stat.h> #include <sys/time.h> #include <unistd.h> /* for fork and pipe*/ #include <fcntl.h> @@ -76,7 +75,7 @@ /* Get the shared memory segment. */ int shmid = shmget (IPC_PRIVATE, sizeof(buf_t) + sizeof (chunk_t) * (size - 1), - IPC_CREAT|S_IREAD|S_IWRITE); + IPC_CREAT|SHM_R|SHM_W); if (shmid == -1) { @@ -92,7 +91,10 @@ perror ("shmat"); exit (1); } - + + /* Remove segment aft...
2005 Dec 01
0
[fdo] Programming problems in Dual Head Mode.
...;no free Xv adaptor ports found"); > exit(1); > } > CompletionType = XShmGetEventBase(display) + ShmCompletion; > ximage = (XvImage *) XvShmCreateImage(display, portNum, > GUID_MBX1_PLANAR,0, yuv_width, yuv_height, (char *) &shminfo1); > shminfo1.shmid = shmget (IPC_PRIVATE, ximage->data_size, > IPC_CREAT|0777); > shminfo1.shmaddr = ximage->data = shmat (shminfo1.shmid, 0, 0); > shminfo1.readOnly = False; > if(!XShmAttach (display, &shminfo1)) { > printf("XShmAttach failed!\n"); > } >...
2005 Dec 05
0
[fdo] Programming problems in Dual Head Mode with Tiny-X.
...;no free Xv adaptor ports found"); > exit(1); > } > CompletionType = XShmGetEventBase(display) + ShmCompletion; > ximage = (XvImage *) XvShmCreateImage(display, portNum, > GUID_MBX1_PLANAR,0, yuv_width, yuv_height, (char *) &shminfo1); > shminfo1.shmid = shmget (IPC_PRIVATE, ximage->data_size, > IPC_CREAT|0777); > shminfo1.shmaddr = ximage->data = shmat (shminfo1.shmid, 0, 0); > shminfo1.readOnly = False; > if(!XShmAttach (display, &shminfo1)) { > printf("XShmAttach failed!\n"); > } >...
2004 Jan 06
0
Asterisk interop with Syndeo
...las-cms-a SmSipMgr-16:366 SIPResFactory 3 SmSIPUASSM::processRegister - resourceId= 371658; no loop detected @1073435488.956569 las-cms-a :366 InfoMgrClient 1 InfoMgrClient:: Information Manager is ACTIVE now @1073435488.956640 las-cms-a SmSipMgr-16:366 IMShmData 3 IMShmData::getSubscriberStatus shmID:5; logical address:7029390171 @1073435488.956714 las-cms-a SmSipMgr-16:366 IMShmData 3 IMShmData::getPassword shmID:5; logical address:7029390171 @1073435488.956780 las-cms-a SmSipMgr-16:366 SmSIPUserManager 3 void SmSIPUser::deleteExpiredContacts() - SQL Statement = DELETE sipregistration WH...
2001 Mar 17
1
ogg123: shared memory by mmap()
...; + } + if ((buf = (buf_t *) mmap (0, sizeof(buf_t) + sizeof (chunk_t) * (size - 1), + PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0)) < 0) + { + perror("mmap"); + exit(1); + } + close(fd); +#else /* Get the shared memory segment. */ int shmid = shmget (IPC_PRIVATE, sizeof(buf_t) + sizeof (chunk_t) * (size - 1), @@ -94,6 +110,7 @@ /* Remove segment after last process detaches it or terminates. */ shmctl(shmid, IPC_RMID, 0); +#endif /* HAVE_SMMAP */ buffer_init (buf, size); -- Christian "...
2011 Jan 10
9
Hugepage Support
hi, I tried to make huge page request in Fedora x86_64 PV guest using xen 4.1 unstable and it crashed(crash info given below) I had enabled superpages in config file I had also set hugepages parameter at boot time for the PV Dom U By excuting # cat /proc/mem_info | grep Huge gave me that there are 10 free huge pages available , still the domain crashed. [ 86.403654] BUG: unable to handle
2003 Dec 01
0
No subject
....samba.org/pipermail/samba/ Dear All, When I install samba 2.2.0, I follow the install instruction and finish install pcp. Also I have installed PCP in my Linux OS. When I use pminfo -d samba, the result is "no PMCD agent for domain of request". The log file in samba.log is "shmid: No such file or directory. samba not compiled with profile support or not running". Any suggestion is appreciate. Best Regards Coolsky.Zhu Return-Path: <nikolaus@erlm.siemens.de> Delivered-To: samba@lists.samba.org Received: from atlantis.erlm.siemens.de (atlanti...