Open kristofferbrabrand opened 13 years ago
Hello Kristoffer,
It does not look like direct ezupgrade issue. I suggest you to investigate it in your environment. Good starting point is to increase a file limit in your system (search for "Too many open files" in google and for ulimit)
I've increasedthe number of file descriptors in the system (OSX) without it making a difference – I for nothing else, the issue should be noted as a known bug. I do think, however, that ezupgrade should operate in such a way that it doesn't require so many files if that's possible.
May I ask how did you change the limit (what command), what limit did you set and how many files ezupgrade opens for 175 SAs?
Kind regards Jaroslaw
I set the maxfiles limit in /etc/launchd.conf as well as running the ulimit command. I've tried so many combinations that I'm not able to provide the specifics of the commands run.
K
Den 6. juni 2011 kl. 15.23 skrev jheba:
May I ask how did you change the limit (what command), what limit did you set and how many files ezupgrade opens for 175 SAs?
Kind regards Jaroslaw
Reply to this email directly or view it on GitHub: https://github.com/ezsystems/ezupgrade/issues/13#comment_1309109
Thanks for the response Kristoffer. I am wonder if the deamon has to be restarted to make system aware of the changes in /etc/launchd.conf. With reference to the ulimit command, according to this forum post >> https://discussions.apple.com/message/7412308#7412308 ulimit does not work with OSX Leopard - launchctl should be used instead.
Kind regards Jaroslaw
I've restarted both the deamon and the machine more than once since chaning launchd.conf file.
Den 7. juni 2011 kl. 15.42 skrev jheba:
Thanks for the response Kristoffer. I am wonder if the deamon has to be restarted to make system aware of the changes in /etc/launchd.conf. With reference to the ulimit command, according to this forum post >> https://discussions.apple.com/message/7412308#7412308 ulimit does not work with OSX Leopard - launchctl should be used instead.
Kind regards Jaroslaw
Reply to this email directly or view it on GitHub: https://github.com/ezsystems/ezupgrade/issues/13#comment_1315751
Spoken to Netmaking about this one and they would lke to have a look at it. Note that ezupgrade is being maintained by Netmaking on behalf of eZ Systems, so the maintenance of these issues will handled slightly differently from the regular eZ System processes.
When upgrading a site with a large number of siteaccesses the upgrade process fails with the error "Too many open files". The problem occured when upgrading a site with > 175 siteaccesses to ez 3.10.1 and happened after running the upgrade scripts for 3.9.4.