[mythtv-users] Mythzoneminder and mmap

Greg Grotsky spikeygg.mythbox at gmail.com
Sat Oct 20 20:42:11 UTC 2012


On Sat, Oct 20, 2012 at 1:10 PM, Paul Harrison <mythtv at sky.com> wrote:
>
> Something like this added somewhere in ZMServer::ZMServer(int sock, bool
> debug)
>
> #ifdef _POSIX_MAPPED_FILES
>     cout << "_POSIX_MAPPED_FILES is defined and set to " <<
> _POSIX_MAPPED_FILES << "\n";
> #else
>     cout << "_POSIX_MAPPED_FILES is NOT defined \n";
>

Thanks Paul! I added an #endif and it compiled. I ran it and I see this in
the mythzmserver.log

loading zm config from /etc/zm.conf
ZM is version '1.25.0'
Listening on port: 6548
_POSIX_MAPPED_FILES is defined and set to 200809
Failed to shmget for monitor: 2

So the zm server sees that I have memory mapped files but still tries to
use shared memory, right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121020/1fbb6e1f/attachment.html>


More information about the mythtv-users mailing list