search for: shmget

Displaying 20 results from an estimated 41 matches for "shmget".

2015 Sep 03
2
Starting emacs gives "shmget failed: error 28" message
In CentOS 6.7, if I start emacs from a terminal session, I always see a message, "(emacs:{PID}): Gdk-WARNING **: shmget failed: error 28 (No space left on device)" The message is also logged to .xsession-errors, and that occurs regardless of how emacs is started. The same thing occurs with SELinux in permissive mode. Emacs version is emacs-23.1-28.el6.x86_64 . Output from strace shows: shmget(IPC_PRIVAT...
2008 Sep 09
1
DTrace and shared memory id
Hello all, I saw this question about a year back in the archive[1], but with no final answer. I would like to trace shmget calls and also get the id of the shared memory segment. That script looked like[2], but we dont get the id since arg1 is the errno value. 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: ht...
2015 Sep 03
3
Starting emacs gives "shmget failed: error 28" message
On 09/03/2015 04:00 AM, Nicolas Thierry-Mieg wrote: > On 09/03/2015 03:04 AM, Robert Nichols wrote: >> In CentOS 6.7, if I start emacs from a terminal session, I always see >> a message, "(emacs:{PID}): Gdk-WARNING **: shmget failed: error 28 (No >> space left on device)" >> >> The message is also logged to .xsession-errors, and that occurs >> regardless of how emacs is started. The same thing occurs with >> SELinux in permissive mode. >> >> Emacs version is emacs-23.1-28.e...
2014 Mar 03
3
Re: method for communication between containers
...; <target dir="/tmp1"/> </filesystem> 4) write two programs: program1 writes a string to the shared memory program2 reads the string from the shared memory and compile both programs in the host machine. both of the two programs use ftok() and shmget() to obtain the shmfs id. 5) a. if we run both program1 and program2 in the host machine, the program2 can read the string that program1 has written. b. if we run both program1 and program2 in the container, both programs also work well. c. if we run program1 in the host and run program2 in the...
2015 Sep 03
0
Starting emacs gives "shmget failed: error 28" message
On 09/03/2015 03:04 AM, Robert Nichols wrote: > In CentOS 6.7, if I start emacs from a terminal session, I always see > a message, "(emacs:{PID}): Gdk-WARNING **: shmget failed: error 28 (No > space left on device)" > > The message is also logged to .xsession-errors, and that occurs > regardless of how emacs is started. The same thing occurs with > SELinux in permissive mode. > > Emacs version is emacs-23.1-28.el6.x86_64 . > > Output...
2015 Sep 03
0
Starting emacs gives "shmget failed: error 28" message
Robert Nichols wrote: > On 09/03/2015 04:00 AM, Nicolas Thierry-Mieg wrote: >> On 09/03/2015 03:04 AM, Robert Nichols wrote: >>> In CentOS 6.7, if I start emacs from a terminal session, I always see >>> a message, "(emacs:{PID}): Gdk-WARNING **: shmget failed: error 28 (No >>> space left on device)" >>> >>> The message is also logged to .xsession-errors, and that occurs >>> regardless of how emacs is started. The same thing occurs with >>> SELinux in permissive mode. >>> >>> Emac...
2006 May 09
0
is it possible share memory between domains like shmget, shmat??
...f there is a way to share memory between domains. i need to be able to write to a shared memory from one domain and allow other domain(s) to read from it. for example domA is always the writer and domB or domC are always readers. to be able to do that does hypervisor provide anything like "shmget" for domA and "shmat" for domB and domC?:) i''m just reading up grant tables etc where some frames are shared between domains. would grant tables mechanism allow me to do above thing? if so, can domA grant read access to, say 20 frames, for domB and domC upfront and...
2002 Oct 21
0
(fwd) "Cannot shmget structids"
...viders. If you want to obtain support from a company in your area, please just write to the address on the page. If you want to write to the samba user's mailing list, try samba@lists.samba.org. I've forwarded your mail there. > > This is was it says > > ERROR. Cannot shmget structids > Last file copied /user/lib/PerfectBACKUP./.fb/20000712/XBACK.7200 > Cannot write output (32768 bytes - errno=32) > XBACK: Got signal/exit status of 61 > XBACK: Abnormal termination of operation > Terminated with ERRORS > Backup Failed! Status 61 > > Any suggest...
2014 Mar 03
0
Re: method for communication between containers
...uot;/tmp1"/> > </filesystem> > 4) write two programs: program1 writes a string to the shared memory > program2 reads the string from the shared memory > and compile both programs in the host machine. > both of the two programs use ftok() and shmget() to obtain the shmfs id. > 5) a. if we run both program1 and program2 in the host machine, the program2 can read the string that program1 has written. > b. if we run both program1 and program2 in the container, both programs also work well. > c. if we run program1 in the host and run...
2014 Apr 09
1
Re: method for communication between containers
...uot;/tmp1"/> > </filesystem> > 4) write two programs: program1 writes a string to the shared memory > program2 reads the string from the shared memory > and compile both programs in the host machine. > both of the two programs use ftok() and shmget() to obtain the shmfs id. > 5) a. if we run both program1 and program2 in the host machine, the program2 can read the string that program1 has written. > b. if we run both program1 and program2 in the container, both programs also work well. > c. if we run program1 in the host and run...
2007 Oct 12
2
Increasing shared memory?
I have a machine with fairly much memory 16GB and I get shmget failed: error 28 (No space left on device). It seems that I may be out of shared memory, how do I increase that? $ free total used free shared buffers cached Mem: 14976000 14945552 30448 0 146560 1298908 -/+ buffers/cache: 13500084...
2014 Feb 27
2
method for communication between containers
Dear all, In my system, two containers need to exchange data as quick as possible and the two containers are hosted by the same physical machine, I wonder if socket is the only method for communication between containers? Thank you. Cheng Wang
2001 Mar 17
1
ogg123 doesn't destroy shm segment
...t creates another shared memory segment but fails to destroy it on exit. Thus an increasing number of shm segments keeps piling up and eat all the (often rather limited amount of) available shared memory. The patch below corrects this and also fixes the bizarre abuse of stat() permission bits for shmget(). On systems that support it, I'd very much like to get rid of using SYSVSHM altogether and instead use a shared memory mapping of /dev/zero. The code is very simple and I have it running on BSD, but I still need to steal an autoconf fragment to test for availability of this feature in a por...
2017 Aug 02
0
Timemaster systemd
.../usr/sbin/phc2sys -l 5 -a -r -R 1.00 -z /var/run/timemaster/ptp4l.0.socket -n 0 -E ntpshm -M 0 Aug 02 06:07:41 machinename chronyd[19231]: chronyd version 2.1.1 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +DEBUG +ASYNCDNS +IPV6 +SECHASH) Aug 02 06:07:41 machinename chronyd[19231]: Fatal error : shmget() failed Aug 02 06:07:41 machinename timemaster[19230]: [1494069.353] received signal 17 Aug 02 06:07:41 machinename timemaster[19230]: Fatal error : shmget() failed Aug 02 06:07:41 machinename timemaster[19230]: [1494069.354] process 19231 terminated with status 1 Aug 02 06:07:41 machinename ptp4l...
2004 Apr 13
1
shared mem advice
Hi, I want to write a package where I would use shared memory for some vectors Any suggestion is appreciated... I wonder if the right approach would be to modify add a modified version of the allocVector(SEXPTYPE type, int length) function specifically shared_mem_id = shmget(shared_mem_key, SHM_SIZE, IPC_CREAT); shared = (SEXP) shmat(shared_mem_id, (void *)0, 0); my_allocVector(SEXPTYPE type, int length, SEXP shared) { SEXP s=shared; .... And erase this if: ################...
2014 Feb 06
1
Application Hang issue in RHEL6.4
...SHM_LOCK). Kernel : 2.6.32-358.el6.x86_64 OS : Red Hat Enterprise Linux Server release 6.4 (Santiago) 1. When it hangs, this is what strace gives: [RHEL6.4 at 10.201.0.221 bin]# strace -p 23793 Process 23793 attached - interrupt to quit [ Process PID=23793 runs in 32 bit mode. ] shmget(0x110c1be, 16777216, 0666) = 3801140 shmat(3801140, 0, 0) = 0x85c2c70e7755000 shmctl(3801140, IPC_64|SHM_LOCK, 0^C <unfinished ...> 2. When we kill the application and generate a core file, Here is what gdb shows: Core was generated by ` <our app...
2006 Mar 02
2
[slightly-OT] postgresql 8.1.3 on intel OS X problems
Hi, Anybody have success with postgresql 8.1.3 on a new Intel OS X box? All hints welcome, please! I installed postgres 8.1.3 via darwinports, and everything is great until the initdb step. Initdb fails on shmget saying it couldn''t allocate enough memory (see below). So, I edited /etc/rc and increased kern.sysv.shmmax from 4194304 to 41943040 (4MB to 40MB) After reboot and attempt to initdb, I get the same error. Thanks, John jdell@xyz->sudo su postgres8 -c ''/opt/local/lib/pgsql8...
2010 May 05
1
heartbeat package in extras trouble with 5.4
...nfo: heartbeat: version 2.1.3 May 4 22:33:11 fc-fmcln02 heartbeat: [9345]: info: Heartbeat generation: 1208455492 However, the daemons never actually start. When I run the daemon interactively without the init script, the following error appears: heartbeat[8818]: 2010/05/04_22:23:37 ERROR: Cannot shmget for process status: Invalid argument This may suggest that some libs on the system may have been upgraded and heartbeat is trying to use the old ones? Does anyone have any suggestions on how to get heartbeat working again? Thanks, Josh -------------- next part -------------- An HTML attachment was...
2008 Aug 07
1
[ANNOUNCE] xf86-input-synaptics 0.15.0
...support for requesting the Mattia Dongili (1): ~ Add 03-escape-dashes-in-manpages.patch from Debian Mildred Ki'lya (1): ~ Add support for reporting multiple fingers as different buttons Peter Hutterer (5): ~ Plug memory leak - free synaptics private data. ~ Fix typo - xf86shmget is now shmget. ~ Move synclient and syndaemon into a /tools/ directory. ~ Pull in libX11 through PKG_CHECK_MODULES for syndaemon. ~ Use axis ranges reported by the hardware, if possible. Peter Osterlund (27): ~ Implement a SQR macro to simplify the code. ~ Added "Leno...
2003 Dec 17
0
g729 error - WARNING[1074433504]:
...g error; [codec_g729b.so] => (Annex B (floating point) G.729/PCM16 Codec Translator) WARNING[1082825920]: File asterisk.c, Line 234 (listener): Select retured error: Interrupted system call WARNING[1082825920]: File asterisk.c, Line 234 (listener): Select retured error: Interrupted system call shmget: Invalid argument WARNING[1074433504]: File codec_g729b.c, Line 511 (load_module): Unable to initialize va stuff: -1 == Detected 4 licensed G.729 transcoders WARNING[1074433504]: File translate.c, Line 219 (calc_cost): Translator 'g729tolinb' does not produce sample frames. == Registere...