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
(240 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?