[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available
From: |
Steven |
Subject: |
Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available |
Date: |
Mon, 9 Apr 2012 11:08:22 +0100 |
On 9 Apr 2012, at 01:16, Michael Dickens wrote:
>> Does anyone have any pointers as to where I should be looking?
>
>
> Hi Steven - First, the humor < http://xkcd.com/138/ >.
>
I was waiting for something like that :o)
> Do "ipcs -a" to see how many shared memory attachments are in place. You
> might see a lot, given that 'shmat' returns 'too many files open'. Here's
> the BASH script I run, very often in my work right now, to try to remove
> extraneous ones:
>
> for tf in `ipcs -m | sed -e 1d -e 2d -e 3d | awk '{print $2 }'`; do
> ipcrm -m $tf ;
> done
>
I only seem to have one entry:
$ ipcs -a
IPC status from <running system> as of Mon Apr 9 11:03:42 BST 2012
T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES
QNUM QBYTES LSPID LRPID STIME RTIME CTIME
Message Queues:
T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH
SEGSZ CPID LPID ATIME DTIME CTIME
Shared Memory:
m 262157 0x00000000 --rw------- steven staff steven staff 2
393216 2302 2120 19:39:30 20:03:03 19:39:30
T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS
OTIME CTIME
Semaphores:
$ ipcrm -m 262157
ipcrm: shmid(262157): : Invalid argument
> If all else fails, reboot and see if that doesn't take care of the issue, at
> least for now. If the issue persists, it might be a new Lion issue from
> 10.7.3; I know I've run GNU Radio in 10.7.[0-2]. I'll hopefully have a few
> spare cycles later this week to look into GNU Radio on Lion. - MLD
I've already tried that, doesn't seem to make any difference. I know of at
least one other person on 10.7.3 that is having this exact same issue.
Cheers,
Steven.
smime.p7s
Description: S/MIME cryptographic signature