Knowledgebase: Miva Merchant FAQ > Run Time Errors
Error opening '/Merchant2/4.xx/modules/payment/whatever.mv': too many open files
Posted by - NA - on 04 February 2007 07:50 PM
|
|
Title : ---------- Runtime Error: Error opening '/Merchant2/4.xx/modules/payment/whatever.mv': Too many open files Audience : ---------------- Some of the steps required to resolve this issue need a level of server access that will not be available to most end users. If you are a MIVA Merchant end user experiencing this problem, you may have to forward this information to your Host, ISP, or Systems Administrator Symptom : ---------- Merchant2/4.xx/admin.mv: Line 3806: MvDO: Runtime Error: Error opening '/Merchant2/4.xx/modules/payment/whatever.mv': Too many open files Solution : ---------- You can adjust the number of files that the Miva Engine will open at a given time in order to remain within the OS ulimit settings. Use the directive 'maxfiles' to adjust the maximum number of file handles the engine will open (not including the handle for the executable file itself, standard input, standard output, and standard error). Scripts that need to access more than "maxfiles" files simultaneously will still execute, because the engine will create virtual file handles. The default value is 0, disabled. A good starting point for this option is maxfiles=16 If the error still persists, then lower the value until the error is no longer reported. If the error stops with maxfiles=16, you can either keep this setting, or increase the value until the error reappears. For 3.x mivavm.conf: maxfiles For 4.x httpd.conf: SetEnv MvCONFIG_MAX_FILES | |
|
Comments (0)