Hi, @Scott Sorry I did not understand you. "maxfiles" ist the only thing you have changed? After these changes it works for you.
@Fritz Does the Infos about > ulimit -a > ulimit -u gave you a hint? > Martin: > my ASSP are dying sommetime with these error: >[Out of Memory! Callback called exit at assp.pl line 17540 or [Out of Memory! >Callback called exit at assp.pl line 37811 ASSP Version: 2.0.2(0.0.02) Thanks for support Martin ------------------------------------------------------------------------------ -----Ursprüngliche Nachricht----- Von: Scott Haneda [mailto:talkli...@newgeo.com] Gesendet: Donnerstag, 25. März 2010 18:20 An: ASSP development mailing list Betreff: Re: [Assp-test] Assp dying -Out of Memory!- On Mar 25, 2010, at 8:59 AM, Fritz Borgstedt wrote: > ASSP development mailing list <assp-test@lists.sourceforge.net> > schreibt: >> Does anybody know a solution for me? > > ulimit -a > > ulimit -u I can not remember all the details, but keep in mind, on OS X, ulimit is a bit more mysterious that on other nix's. ulimit and sysctl do not seem to be as relevant on OS X. Default max values are terribly low, something like 256, which you can adjust higher, but also will hit a wall with the kernel stopping you from going anywhere near the ~65K some other OS's are able to. On OS X 10.5 and above I believe, 10.6 for certain, you need to use: launchctl limit This defaults to: cpu unlimited unlimited filesize unlimited unlimited data unlimited unlimited stack 8388608 67104768 core 0 unlimited rss unlimited unlimited memlock unlimited unlimited maxproc 266 532 maxfiles 256 unlimited To adjust: launchctl limit maxfiles user max system max For example: launchctl limit maxfiles 2048 unlimited These changes will not stick past a reboot until you put them in: /etc/launchd.conf For one of my machines, I put this in the launchd.conf file: limit maxfiles 4096 unlimited And remember, this is all launchd controlled, so you need to either reload the launchd item, or restart to get the changes to take effect. I do not remember what the max values are that are compiled into the kernel, and I believe OS X will happily take a larger value in a conf file, even telling you that value is the one being used, but the lower kernel value will be the one holding true. Don't quote me on that, please do your research first, I am going on information I had to find a year ago in a hurry to solve a problem and did not docuemnt it well. What I remember taking away from it is, that Mac OS X has a hard limit that is rather low, and starts with an even lower default value than what would be useful on any "server" type of deploy. If all these dying ASSP's were on Mac OS X, I would say that we need to look there, but it is apparently happening on other OS's as well. Either way, if ASSP is to support running on OS X, it will have to be pretty friendly to number of files values. Hope this sheds some light onto have Mac OS X deals with this, as it is entirely different than linux, but probably identical to some of the BSD's. Granted, I bet most of those BSD's compile with much higher defaults. -- Scott * If you contact me off list replace talklists@ with scott@ * ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test