Follow

PHP Warning: failed to open stream: Too many open files in ...

Hi

 Lucene while indexing and optimising is producing large number of files which are opened by php in same time. For most dedicated and VPS servers it is not a problem, but on shared environments where resources are very limited by hosting providers this error might appear:

 

PHP Warning: include(/xxxx/xxx/xxxx/xxx/lib/Zend/Log/Exception.php): failed to open stream: Too many open files in /xxxx/xxxx/xxxlib/Varien/Autoload.php on line 93

 

To help we have created configuration option to make optimizations more frequently and avoid problems

blast-indexing-batch_size.jpg

 

Try to reduce "Run optimize index every n document" to low number, this will increase indexing time but should help you with avoiding above error message.

 

Steps to follow

  1. Remove index folder completely
  2. Mark product as unprocessed
  3. Change configuration
  4. Reindex (preferably via SSH not admin)

 

 

 

0 Comments

Article is closed for comments.
Powered by Zendesk