0

I have a command that is creating / updating large amounts of products for a webshop (90,000 products or so).

After it has gone through about 1000 - 1500 products or so it gives the following error when trying to persist just about anything:

'Failed to open stream: Too many open files'

I do a flush every 50 products, i have tried calling em->clear() while doing this flush, however this just results in persist errors like:

A new entity was found through the relationship: ... on just about every entity after the clear.

Does anyone know a fix for this issue? I can't think of anything anymore.

Thanks in advance!

0 Answers0