OmnisDataBridge 1.78

Juan Bofill juanbofillaba at gmail.com
Wed Feb 21 09:50:19 UTC 2024


Hi Doug

The 256 limit was indeed the problem. Can not thank you enough for giving me this info on how to change this limit.

Kind regards
Juan

> On 20 Feb 2024, at 1:01 PM, Doug Easterbrook via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
> 
> if thats the case… you can set more ports or open files.
> 
> we put a file called Launchd.conf  into /etc   (you need to set the ownership of this right).  it contains the following single line to give more files/ports available to all processes.
> 
> limit maxfiles 1000000 1000000
> 
> 
> that was an early thing we did to deal with macs typically limiting files each process can open.     It may only be useable in certain versions of OSX..   
> 
> There is also a file you can create called limit.maxfiles.plist which goes into /Library/LaunchDaemons/      Also check that its permissions are correct.  I think this is where MOST RECENT version of OSX get its limit from
> 
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>  
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"  
>        "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">  
>  <dict>
>    <key>Label</key>
>    <string>limit.maxfiles</string>
>    <key>ProgramArguments</key>
>    <array>
>      <string>launchctl</string>
>      <string>limit</string>
>      <string>maxfiles</string>
>      <string>524288</string>
>      <string>524288</string>
>    </array>
>    <key>RunAtLoad</key>
>    <true/>
>    <key>ServiceIPC</key>
>    <false/>
>  </dict>
> </plist>  
> 
> 
> 
> you make also want to look at the ‘ulimit’ command.   I dug up something on stack overflow
> https://apple.stackexchange.com/questions/32235/how-to-properly-increase-a-ulimit-n-limits
> 
> 
> I know that when I type ‘ulimit’ in terminal, I get ‘unlimited’
> 
> Its been a fair number of years since I went through the exercise and figured out which approach was right for which versions of OSX.
> 
> 
> so, my Somoma machine still has both of them :). /etc/Launchd.conf and /Library/LaunchDaemons/limit.maxfiles.plist
> 
> 
> and that helps remove that ridiculous 256 open file limit per process on OSX.    
> 
> 
> 
> if that is indeed your problem, I hope this helps
> 
> 
> 
> Doug Easterbrook
> Arts Management Systems Ltd.
> mailto:doug at artsman.com
> http://www.artsman.com
> Phone (403) 650-1978
> 
>> On Feb 20, 2024, at 6:47 AM, Juan Bofill <juanbofillaba at gmail.com> wrote:
>> 
>> Hi all
>> 
>> I believe I hit some kind of port limit or number of files open. I see one can run more than one ODB on a single server and also on different ports. Learning how to do that…
>> 
>> Thanks all for their help
>> 
>> Juan
>> On Feb 19, 2024, 5:33 PM -0400, Juan Bofill <juanbofillaba at gmail.com>, wrote:
>>> Hi
>>> 
>>> The server is on a MacMini running Monterey.
>>> I used the terminal command :
>>> 
>>> Disable App Nap System Wide in Mac OS X
>>> 
>>> defaults write NSGlobalDomain NSAppSleepDisabled -bool YES
>>> 
>>> Maybe I should try with Big Sur or older?
>>> 
>>> Thanks
>>> 
>>> Juan
>>> 
>>>> On 19 Feb 2024, at 4:45 PM, Reg Paling <reg.pT
>>>> aling at lokanet.com> wrote:
>>>> 
>>>> Hi Juan,
>>>> 
>>>> The first thing you need to know is that the combination of Omnis Studio
>>>> 10.22 + Omnis DataBridge 1.78 works.  It works just as well (on both
>>>> Macintosh and Windows) as it did with Omnis Studio 4.x.  So it would be
>>>> overkill to start running around trying to look for alternatives to ODB at
>>>> this point.  There is nothing wrong with the strategy you chose and no need
>>>> for regret.
>>>> 
>>>> I suggest you contact Omnis Tech Support and they can go through your setup
>>>> with you.
>>>> 
>>>> Note that Studio 10.22 is 64-bit software and it won't run on older
>>>> versions of macOS, whereas Studio 4.x is 32-bit and it won't run on newer
>>>> versions of macOS.  If you need to run both 4.x and 10.22 on the same
>>>> computer, that will probably work on Mojave.
>>>> 
>>>> If you let us know in more detail what computers and operating systems you
>>>> are using for development, server and workstations, and precisely what
>>>> does work and what isn't working, we might be able to help more.
>>>> 
>>>> Kind regards,
>>>> Reg
>>>> 
>>>> 
>>>> 
>>>> On Tue, Feb 20, 2024 at 4:29 AM Juan Bofill <juanbofillaba at gmail.com> wrote:
>>>> 
>>>>> Hi all
>>>>> 
>>>>> I got myself in trouble
>>>>> 
>>>>> Just upgraded all my DML datas and libs to 10.22 using OmnisDataBridge
>>>>> 1.78. Have lots of data files…
>>>>> 
>>>>> Did all tests with a Development and just 1 Runtime. All was ok.
>>>>> 
>>>>> Installed all 5 Runtimes on each Mac and now can NOT open the data files
>>>>> on all the Macs.
>>>>> 
>>>>> Should have gone to SQL or Postgress but decided to do DML first with the
>>>>> newer 10.2 and I am regretting it. Studio 4 was very stable…
>>>>> 
>>>>> Thanks for any help
>>>>> 
>>>>> Juan Bofill
>>>>> 
>>>>> 
>>>>> _____________________________________________________________
>>>>> Manage your list subscriptions at https://lists.omnis-dev.com
>>>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>>> 
>>>> _____________________________________________________________
>>>> Manage your list subscriptions at https://lists.omnis-dev.com
>>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>> 
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
> 
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list