Error opening '/Merchant2/4.xx/modules/payment/': too many open files
Posted by - NA - on 04 February 2007 07:50 PM
Title :
Runtime Error: Error opening '/Merchant2/4.xx/modules/payment/': 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/ Line 3806: MvDO: Runtime Error: Error opening
'/Merchant2/4.xx/modules/payment/': 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

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:

For 4.x httpd.conf:
(246 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
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