I'm trying to run drush pm-update on a site with a large number of modules and it is hanging at a certain point with a notice. I'm not sure if this is a duplicate of some of the other issues regarding pm-update hanging, but none of their debug outputs seem to include the notice I get. Here is the output of drush pm-update --debug:

ryanarmx@idzdev:~/projects/idz/www/sites$ drush pm-update --debug
Bootstrap to phase 0. [0.01 sec, 5.01 MB]                            [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.02 sec, 5.3 MB]  [bootstrap]
Cache HIT cid: 5.7-commandfiles-0-1ea5454ecf6f9ce17e867ad05b3df8d1 [0.03 sec, 5.32 MB]                                                                                                [debug]
Bootstrap to phase 0. [0.09 sec, 11.41 MB]                                                                                                                                        [bootstrap]
Bootstrap to phase 6. [0.12 sec, 11.41 MB]                                                                                                                                        [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.12 sec, 11.42 MB]                                                                                                       [bootstrap]
Initialized Drupal 7.15 root directory at /home/ryanarmx/projects/idz/www [0.16 sec, 15.47 MB]                                                                                       [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.16 sec, 15.48 MB]                                                                                                       [bootstrap]
Initialized Drupal site default at sites/default [0.16 sec, 15.48 MB]                                                                                                                [notice]
Cache HIT cid: 5.7-commandfiles-2-c32acd775c18a90c5b41d0fc9accf5ab [0.18 sec, 15.49 MB]                                                                                               [debug]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.18 sec, 15.49 MB]                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.19 sec, 15.52 MB]                                                                                                   [bootstrap]
Successfully connected to the Drupal database. [0.19 sec, 15.52 MB]                                                                                                               [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [0.2 sec, 16.83 MB]                                                                                                        [bootstrap]
Cache HIT cid: 5.7-commandfiles-5-78ff42b7e0af0bb0b84beae777c1278c [0.76 sec, 110.94 MB]                                                                                              [debug]
Drush bootstrap phase : _drush_bootstrap_drupal_login() [0.8 sec, 115.69 MB]                                                                                                      [bootstrap]
Successfully logged into Drupal as Anonymous (uid=0) [0.8 sec, 115.72 MB]                                                                                                         [bootstrap]
Found command: pm-update (commandfile=pm) [0.8 sec, 115.72 MB]                                                                                                                    [bootstrap]
Loading release_info engine. [1.43 sec, 120.35 MB]                                                                                                                                   [notice]
Loading version_control engine. [1.44 sec, 120.59 MB]                                                                                                                                [notice]
Loading package_handler engine. [1.44 sec, 120.63 MB]                                                                                                                                [notice]
Executing: wget --version
Including /opt/php53/lib/php/drush/commands/pm/updatecode.pm.inc [1.52 sec, 120.67 MB]                                                                                            [bootstrap]
Obtaining acl project path. [2.72 sec, 127.93 MB]                                                                                                                                     [debug]
Obtaining acquia_connector project path. [2.72 sec, 127.95 MB]                                                                                                                        [debug]
Obtaining views_bulk_operations project path. [2.72 sec, 127.96 MB]                                                                                                                   [debug]
Obtaining admin project path. [2.72 sec, 127.96 MB]                                                                                                                                   [debug]
Obtaining admin_menu project path. [2.72 sec, 127.96 MB]                                                                                                                              [debug]
Obtaining admin_vbo_views project path. [2.73 sec, 127.97 MB]                                                                                                                         [debug]
Obtaining advanced_forum project path. [2.73 sec, 127.97 MB]                                                                                                                          [debug]
Obtaining advanced_help project path. [2.73 sec, 127.97 MB]                                                                                                                           [debug]
Obtaining apachesolr project path. [2.73 sec, 127.97 MB]                                                                                                                              [debug]
Obtaining apachesolr_stats project path. [2.73 sec, 127.98 MB]                                                                                                                        [debug]
Obtaining service_links project path. [2.73 sec, 127.98 MB]                                                                                                                           [debug]
Obtaining better_exposed_filters project path. [2.73 sec, 127.99 MB]                                                                                                                  [debug]
Obtaining better_formats project path. [2.73 sec, 127.99 MB]                                                                                                                          [debug]
Obtaining blockcache_alter project path. [2.73 sec, 128 MB]                                                                                                                           [debug]
Obtaining brightcove project path. [2.74 sec, 128 MB]                                                                                                                                 [debug]
Obtaining ctools project path. [2.74 sec, 128 MB]                                                                                                                                     [debug]
Obtaining bundle_copy project path. [2.74 sec, 128.01 MB]                                                                                                                             [debug]
Obtaining calendar project path. [2.74 sec, 128.01 MB]                                                                                                                                [debug]
Obtaining captcha project path. [2.74 sec, 128.02 MB]                                                                                                                                 [debug]
Obtaining cctags project path. [2.74 sec, 128.02 MB]                                                                                                                                  [debug]
Obtaining chain_menu_access project path. [2.74 sec, 128.02 MB]                                                                                                                       [debug]
Obtaining node_clone project path. [2.74 sec, 128.03 MB]                                                                                                                              [debug]
Obtaining coder project path. [2.74 sec, 128.03 MB]                                                                                                                                   [debug]
Obtaining colorbox project path. [2.74 sec, 128.03 MB]                                                                                                                                [debug]
Obtaining nodeformsettings project path. [2.75 sec, 128.04 MB]                                                                                                                        [debug]
Obtaining content_taxonomy project path. [2.75 sec, 128.04 MB]                                                                                                                        [debug]
Obtaining cron_debug project path. [2.75 sec, 128.04 MB]                                                                                                                              [debug]
Obtaining facetapi project path. [2.75 sec, 128.05 MB]                                                                                                                                [debug]
Obtaining custom_breadcrumbs project path. [2.75 sec, 128.05 MB]                                                                                                                      [debug]
Obtaining date project path. [2.75 sec, 128.05 MB]                                                                                                                                    [debug]
Obtaining devel project path. [2.75 sec, 128.06 MB]                                                                                                                                   [debug]
Obtaining devel_themer project path. [2.75 sec, 128.06 MB]                                                                                                                            [debug]
Obtaining diff project path. [2.75 sec, 128.07 MB]                                                                                                                                    [debug]
Obtaining elysia_cron project path. [2.76 sec, 128.07 MB]                                                                                                                             [debug]
Obtaining entity project path. [2.76 sec, 128.07 MB]                                                                                                                                  [debug]
Obtaining entitycache project path. [2.76 sec, 128.08 MB]                                                                                                                             [debug]
Obtaining expire project path. [2.76 sec, 128.08 MB]                                                                                                                                  [debug]
Obtaining features project path. [2.76 sec, 128.08 MB]                                                                                                                                [debug]
Obtaining field_collection project path. [2.76 sec, 128.09 MB]                                                                                                                        [debug]
Obtaining field_group project path. [2.76 sec, 128.09 MB]                                                                                                                             [debug]
Obtaining field_permissions project path. [2.76 sec, 128.09 MB]                                                                                                                       [debug]
Obtaining field_redirection project path. [2.76 sec, 128.09 MB]                                                                                                                       [debug]
Obtaining media project path. [2.76 sec, 128.1 MB]                                                                                                                                    [debug]
Obtaining styles project path. [2.76 sec, 128.1 MB]                                                                                                                                   [debug]
Obtaining filefield_paths project path. [2.76 sec, 128.1 MB]                                                                                                                          [debug]
Obtaining filefield_sources project path. [2.76 sec, 128.11 MB]                                                                                                                       [debug]
Obtaining filefield_sources_plupload project path. [2.76 sec, 128.11 MB]                                                                                                              [debug]
Obtaining filter_perms project path. [2.76 sec, 128.11 MB]                                                                                                                            [debug]
Obtaining flag project path. [2.77 sec, 128.11 MB]                                                                                                                                    [debug]
Obtaining flood_control project path. [2.77 sec, 128.12 MB]                                                                                                                           [debug]
Obtaining forum_access project path. [2.77 sec, 128.12 MB]                                                                                                                            [debug]
Obtaining google_analytics project path. [2.77 sec, 128.12 MB]                                                                                                                        [debug]
Obtaining hacked project path. [2.77 sec, 128.13 MB]                                                                                                                                  [debug]
Obtaining i18n project path. [2.77 sec, 128.13 MB]                                                                                                                                    [debug]
Obtaining improved_multi_select project path. [2.77 sec, 128.13 MB]                                                                                                                   [debug]
Obtaining insert project path. [2.77 sec, 128.14 MB]                                                                                                                                  [debug]
Obtaining jcarousel project path. [2.77 sec, 128.14 MB]                                                                                                                               [debug]
Obtaining job_scheduler project path. [2.77 sec, 128.14 MB]                                                                                                                           [debug]
Obtaining jquery_countdown project path. [2.77 sec, 128.15 MB]                                                                                                                        [debug]
Obtaining l10n_update project path. [2.77 sec, 128.15 MB]                                                                                                                             [debug]
Obtaining libraries project path. [2.77 sec, 128.15 MB]                                                                                                                               [debug]
Obtaining link project path. [2.78 sec, 128.16 MB]                                                                                                                                    [debug]
Obtaining linkchecker project path. [2.78 sec, 128.16 MB]                                                                                                                             [debug]
Obtaining mail_edit project path. [2.78 sec, 128.16 MB]                                                                                                                               [debug]
Obtaining menu_editor project path. [2.78 sec, 128.16 MB]                                                                                                                             [debug]
Obtaining oembed project path. [2.78 sec, 128.17 MB]                                                                                                                                  [debug]
Obtaining memcache project path. [2.78 sec, 128.17 MB]                                                                                                                                [debug]
Obtaining menu_attributes project path. [2.78 sec, 128.18 MB]                                                                                                                         [debug]
Obtaining menu_import project path. [2.78 sec, 128.18 MB]                                                                                                                             [debug]
Obtaining messaging project path. [2.78 sec, 128.18 MB]                                                                                                                               [debug]
Obtaining metatag project path. [2.78 sec, 128.19 MB]                                                                                                                                 [debug]
Obtaining module_filter project path. [2.78 sec, 128.19 MB]                                                                                                                           [debug]
Obtaining mollom project path. [2.79 sec, 128.19 MB]                                                                                                                                  [debug]
Obtaining nginx_accel_redirect project path. [2.79 sec, 128.2 MB]                                                                                                                     [debug]
Obtaining node_convert project path. [2.79 sec, 128.2 MB]                                                                                                                             [debug]
Obtaining node_export project path. [2.79 sec, 128.2 MB]                                                                                                                              [debug]
Obtaining references project path. [2.79 sec, 128.21 MB]                                                                                                                              [debug]
Obtaining nodequeue project path. [2.79 sec, 128.21 MB]                                                                                                                               [debug]
Obtaining notifications project path. [2.79 sec, 128.21 MB]                                                                                                                           [debug]
Obtaining opengraph_meta project path. [2.79 sec, 128.22 MB]                                                                                                                          [debug]
Obtaining override_node_options project path. [2.79 sec, 128.22 MB]                                                                                                                   [debug]
Obtaining panels project path. [2.79 sec, 128.22 MB]                                                                                                                                  [debug]
Obtaining pathauto project path. [2.79 sec, 128.23 MB]                                                                                                                                [debug]
Obtaining pathologic project path. [2.79 sec, 128.23 MB]                                                                                                                              [debug]
Obtaining plupload project path. [2.8 sec, 128.23 MB]                                                                                                                                 [debug]
Obtaining privatemsg project path. [2.8 sec, 128.23 MB]                                                                                                                               [debug]
Obtaining potx project path. [2.8 sec, 128.24 MB]                                                                                                                                     [debug]
Obtaining print project path. [2.8 sec, 128.24 MB]                                                                                                                                    [debug]
Obtaining prod_check project path. [2.8 sec, 128.25 MB]                                                                                                                               [debug]
Obtaining queue_ui project path. [2.8 sec, 128.25 MB]                                                                                                                                 [debug]
Obtaining quote project path. [2.8 sec, 128.25 MB]                                                                                                                                    [debug]
Obtaining r4032login project path. [2.8 sec, 128.26 MB]                                                                                                                               [debug]
Obtaining redirect project path. [2.8 sec, 128.26 MB]                                                                                                                                 [debug]
Obtaining reroute_email project path. [2.8 sec, 128.26 MB]                                                                                                                            [debug]
Obtaining services project path. [2.8 sec, 128.26 MB]                                                                                                                                 [debug]
Obtaining rules project path. [2.8 sec, 128.27 MB]                                                                                                                                    [debug]
Obtaining scheduler project path. [2.81 sec, 128.27 MB]                                                                                                                               [debug]
Obtaining scheduler_workbench project path. [2.81 sec, 128.28 MB]                                                                                                                     [debug]
Obtaining securepages project path. [2.81 sec, 128.28 MB]                                                                                                                             [debug]
Obtaining services_views project path. [2.81 sec, 128.28 MB]                                                                                                                          [debug]
Obtaining sharedemail project path. [2.81 sec, 128.28 MB]                                                                                                                             [debug]
Obtaining subpathauto project path. [2.81 sec, 128.29 MB]                                                                                                                             [debug]
Obtaining synonyms project path. [2.81 sec, 128.29 MB]                                                                                                                                [debug]
Obtaining syntaxhighlighter_insert project path. [2.81 sec, 128.29 MB]                                                                                                                [debug]
Obtaining tac_lite project path. [2.81 sec, 128.3 MB]                                                                                                                                 [debug]
Obtaining taxonomy_manager project path. [2.81 sec, 128.3 MB]                                                                                                                         [debug]
Obtaining token project path. [2.81 sec, 128.3 MB]                                                                                                                                    [debug]
Obtaining translation_helpers project path. [2.81 sec, 128.31 MB]                                                                                                                     [debug]
Obtaining transliteration project path. [2.81 sec, 128.31 MB]                                                                                                                         [debug]
Obtaining username_enumeration_prevention project path. [2.82 sec, 128.31 MB]                                                                                                         [debug]
Obtaining userpoints project path. [2.82 sec, 128.32 MB]                                                                                                                              [debug]
Obtaining userpoints_nc project path. [2.82 sec, 128.32 MB]                                                                                                                           [debug]
Obtaining uuid project path. [2.82 sec, 128.32 MB]                                                                                                                                    [debug]
Obtaining variable project path. [2.82 sec, 128.33 MB]                                                                                                                                [debug]
Obtaining varnish project path. [2.82 sec, 128.33 MB]                                                                                                                                 [debug]
Obtaining views project path. [2.82 sec, 128.33 MB]                                                                                                                                   [debug]
Obtaining views_data_export project path. [2.82 sec, 128.34 MB]                                                                                                                       [debug]
Obtaining views_rss project path. [2.82 sec, 128.34 MB]                                                                                                                               [debug]
Obtaining views_slideshow project path. [2.82 sec, 128.34 MB]                                                                                                                         [debug]
Obtaining vinculum project path. [2.82 sec, 128.35 MB]                                                                                                                                [debug]
Obtaining webform project path. [2.83 sec, 128.35 MB]                                                                                                                                 [debug]
Obtaining webform_conditional project path. [2.83 sec, 128.36 MB]                                                                                                                     [debug]
Obtaining workbench project path. [2.83 sec, 128.36 MB]                                                                                                                               [debug]
Obtaining workbench_access project path. [2.83 sec, 128.36 MB]                                                                                                                        [debug]
Obtaining workbench_moderation project path. [2.83 sec, 128.36 MB]                                                                                                                    [debug]
Obtaining wysiwyg project path. [2.83 sec, 128.37 MB]                                                                                                                                 [debug]
Obtaining wysiwyg_filter project path. [2.83 sec, 128.37 MB]                                                                                                                          [debug]
Obtaining XHProf project path. [2.83 sec, 128.37 MB]                                                                                                                                  [debug]
Obtaining xmlsitemap project path. [2.83 sec, 128.38 MB]                                                                                                                              [debug]
Obtaining xsendfile project path. [2.83 sec, 128.38 MB]                                                                                                                               [debug]
Obtaining adaptivetheme project path. [2.84 sec, 128.39 MB]                                                                                                                           [debug]
Backend invoke: /opt/php53/bin/php /opt/php53/lib/php/drush/drush.php --php=/opt/php53/bin/php  --backend=2 --verbose --debug --root=/home/ryanarmx/projects/idz/www                [command]
--uri=http://default  batch-process 784563 784563 2>&1 [3.79 sec, 133.65 MB]
/opt/php53/bin/php /opt/php53/lib/php/drush/drush.php --php=/opt/php53/bin/php  --backend=2 --verbose --debug --root=/home/ryanarmx/projects/idz/www --uri=http://default            [notice]
batch-process 784563 784563 2>&1 [3.79 sec, 133.66 MB]
Bootstrap to phase 0. [0.01 sec, 5.01 MB]                            [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.02 sec, 5.3 MB]  [bootstrap]
Cache HIT cid: 5.7-commandfiles-0-1ea5454ecf6f9ce17e867ad05b3df8d1 [0.03 sec, 5.32 MB]                                                                                                [debug]
Bootstrap to phase 0. [4.06 sec, 11.41 MB]                                                                                                                                        [bootstrap]
Bootstrap to phase 6. [4.1 sec, 11.42 MB]                                                                                                                                         [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [4.1 sec, 11.42 MB]                                                                                                        [bootstrap]
Initialized Drupal 7.15 root directory at /home/ryanarmx/projects/idz/www [4.13 sec, 15.48 MB]                                                                                       [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [4.14 sec, 15.49 MB]                                                                                                       [bootstrap]
Initialized Drupal site default at sites/default [4.14 sec, 15.49 MB]                                                                                                                [notice]
Cache HIT cid: 5.7-commandfiles-2-c32acd775c18a90c5b41d0fc9accf5ab [4.15 sec, 15.49 MB]                                                                                               [debug]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [4.15 sec, 15.49 MB]                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [4.16 sec, 15.52 MB]                                                                                                   [bootstrap]
Successfully connected to the Drupal database. [4.16 sec, 15.52 MB]                                                                                                               [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [4.17 sec, 16.83 MB]                                                                                                       [bootstrap]
Cache HIT cid: 5.7-commandfiles-5-78ff42b7e0af0bb0b84beae777c1278c [4.79 sec, 110.87 MB]                                                                                              [debug]
Drush bootstrap phase : _drush_bootstrap_drupal_login() [4.82 sec, 115.61 MB]                                                                                                     [bootstrap]
Successfully logged into Drupal as Anonymous (uid=0) [4.82 sec, 115.65 MB]                                                                                                        [bootstrap]
Found command: batch-process (commandfile=core) [4.82 sec, 115.65 MB]                                                                                                             [bootstrap]
Checking available update data ... [4.97 sec, 117.71 MB]                                                                                                                          [ok]
Batch process has consumed in excess of 50% of available memory. Starting new thread [4.98 sec, 117.72 MB]                                                                            [batch]
Command dispatch complete [5.09 sec, 117.61 MB]                                                                                                                                      [notice]
 Timer             Cum (sec)  Count  Avg (msec) 
 page              0.935      1      934.51     
 batch_processing  0.161      1      160.61     

Peak memory usage was 118.81 MB [5.09 sec, 117.61 MB]                                                                                                                                [memory]
Undefined index: path drupal.inc:121 [5.45 sec, 134.15 MB]                                                                                                                           [notice]

Any ideas as to what's going on here? I noticed one thread mentioned clearing out the queue table and that fixed the issue for many people. I did find a very large amount of records in the queue table and removed them but it did not resolve the issue.

Comments

greg.1.anderson’s picture

Version: 7.x-5.7 » 8.x-6.x-dev
Status: Active » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.