Closed (fixed)
Project:
Drush
Component:
PM (dl, en, up ...)
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2012 at 13:18 UTC
Updated:
28 Mar 2012 at 15:00 UTC
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
Comment #1
moshe weitzman commentedInstall 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.
Comment #2
moshe weitzman commentedAlso, your mysql slow query log works for Drush requests as well.
Comment #3
giorgio79 commentedIt turns out that some symlinks I created in my modules dir were killing the file module as it was scanning the entire server, aaarrgggghhh