Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
2.0.1 CSV Export hangs until timeout #3217
One of our clients has a 2.0.1 store that has 8,585 products in it (all imported through CSV imports). Everything looks fine with the data, no errors, nothing in debug. When we go to export the products, the pages hangs, and CPU usage is pegged. MySQL queries stop after one minute, but CPU runs until timeout is reached (we upped timeout to one hour and still times out). Once timeout is reached, export file appears in /var in its entirety.
It appears the export does initially complete in a minute, but the file does not get generated until the timeout occurs. Up until the timeout, CPU is pegged. Even if we exclude all fields but SKU and name, same behavior. Nothing in system.log or debug.log. Looks like a bug causing an infinite loop somehow, but I don't see what exactly.
An strace output of the php process stops with the following last few lines and then hangs until timeout: