Hello,

On a larger site (20 000 nodes) drush seems to be much slower than on other smaller sites.

How would I go about troubleshooting it? Perhaps a way to track it similar to devel query log?

During execution I can see drush pushing up a php-cli process to 60-100% of CPU but not sure why.

Comments

moshe weitzman’s picture

Status: Active » Fixed

Install XDebug php extension and configure devel to know about your XDebug. Then you get a link to the performance report at end of each Drush run. Thats gold for isolating slow functions.

moshe weitzman’s picture

Also, your mysql slow query log works for Drush requests as well.

giorgio79’s picture

It turns out that some symlinks I created in my modules dir were killing the file module as it was scanning the entire server, aaarrgggghhh

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.