-
Story
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
SIdora Sprint 65
-
2
As an admin, I want the sidora-administer-tree script to handle higher load. Under high load Tuque appears to be unable to handle longer wait times for getting connections to Fedora. An example exception is shown below:
#1 /var/www/drupal/sites/all/libraries/tuque/RepositoryConnection.php(140): CurlConnection->getRequest('http://160.111....', false, NULL)
#2 /var/www/drupal/sites/all/libraries/tuque/FedoraApi.php(519): RepositoryConnection->getRequest('/objects/ct%3A2...')
#3 /var/www/drupal/sites/all/libraries/tuque/Object.php(691): FedoraApiA->listDatastreams('ct:2278743')
#4 /var/www/drupal/sites/all/libraries/tuque/Object.php(884): FedoraObject->populateDatastreams()
#5 /var/www/drupal/sites/all/libraries/tuque/FedoraRelationships.php(597): FedoraObject->offsetExists('RELS-EXT')
#6 /var/www/drupal/sites/all/libraries/tuque/FedoraRelationships.php(702): FedoraRelsExt->initializeDatastream()
#7 /var/www/drupal/sites/all/libraries/tuque/Object.php(402): FedoraRelsExt->get('info:fedora/fed...', 'hasModel')
#8 /var/www/drupal/sites/all/libraries/tuque/MagicProperty.php(72): AbstractFedoraObject->modelsMagicProperty('get', NULL)
#9 /var/www/drupal/sites/all/modules/sidora/workbench/includes/utils.inc(566): MagicProperty->__get('models')
#10 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.module(4334): sidora_is_concept(Object(IslandoraFedoraObject))
#11 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.drush.inc(236): sidora_obj('ct:2278743')
#12 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.drush.inc(198): sidora_drush_administer_child('ct:2265624', 'ct:2278743', NULL, false, NULL, false)
#13 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.drush.inc(189): sidora_drush_recursive_administer_tree('ct:2265624', Array, Array, Array, Array)
#14 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.drush.inc(189): sidora_drush_recursive_administer_tree('ct:2250156', Array, Array, Array, Array)
#15 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.drush.inc(118): sidora_drush_recursive_administer_tree('ct:2248021', Array, Array, Array, Array)
#16 [internal function]: drush_sidora_administer_tree('ct:2248021')
#17 /opt/drush/includes/command.inc(324): call_user_func_array('drush_sidora_ad...', Array)
#18 /opt/drush/includes/command.inc(198): _drush_invoke_hooks('sidora_administ...', Array, 'sidora')
#19 [internal function]: drush_command('ct:2248021')
#20 /opt/drush/includes/command.inc(165): call_user_func_array('drush_command', Array)
#21 /opt/drush/drush.php(92): drush_dispatch(Array)
#22 /opt/drush/drush.php(61): _drush_bootstrap_and_dispatch()
#23 /opt/drush/drush.php(16): drush_main()
#24 {main} in RepositoryConnection->parseFedoraExceptions() (line 247 of /var/www/drupal/sites/all/libraries/tuque/RepositoryConnection.php).
Cannot modify header information - headers already sent by (output started at /opt/drush/includes/output.inc:37) bootstrap.inc:1486 [warning]
RepositoryException: Failed to connect to 160.111.100.44: Cannot assign requested address#0 /var/www/drupal/sites/all/libraries/tuque/HttpConnection.php(772): CurlConnection->doCurlRequest(NULL)
#1 /var/www/drupal/sites/all/libraries/tuque/RepositoryConnection.php(140): CurlConnection->getRequest('http://160.111....', false, NULL)
#2 /var/www/drupal/sites/all/libraries/tuque/FedoraApi.php(519): RepositoryConnection->getRequest('/objects/ct%3A2...')
#3 /var/www/drupal/sites/all/libraries/tuque/Object.php(691): FedoraApiA->listDatastreams('ct:2278743')
#4 /var/www/drupal/sites/all/libraries/tuque/Object.php(884): FedoraObject->populateDatastreams()
#5 /var/www/drupal/sites/all/libraries/tuque/FedoraRelationships.php(597): FedoraObject->offsetExists('RELS-EXT')
#6 /var/www/drupal/sites/all/libraries/tuque/FedoraRelationships.php(702): FedoraRelsExt->initializeDatastream()
#7 /var/www/drupal/sites/all/libraries/tuque/Object.php(402): FedoraRelsExt->get('info:fedora/fed...', 'hasModel')
#8 /var/www/drupal/sites/all/libraries/tuque/MagicProperty.php(72): AbstractFedoraObject->modelsMagicProperty('get', NULL)
#9 /var/www/drupal/sites/all/modules/sidora/workbench/includes/utils.inc(566): MagicProperty->__get('models')
#10 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.module(4334): sidora_is_concept(Object(IslandoraFedoraObject))
#11 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.drush.inc(236): sidora_obj('ct:2278743')
#12 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.drush.inc(198): sidora_drush_administer_child('ct:2265624', 'ct:2278743', NULL, false, NULL, false)
#13 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.drush.inc(189): sidora_drush_recursive_administer_tree('ct:2265624', Array, Array, Array, Array)
#14 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.drush.inc(189): sidora_drush_recursive_administer_tree('ct:2250156', Array, Array, Array, Array)
#15 /var/www/drupal/sites/all/modules/sidora/workbench/sidora.drush.inc(118): sidora_drush_recursive_administer_tree('ct:2248021', Array, Array, Array, Array)
#16 [internal function]: drush_sidora_administer_tree('ct:2248021')
#17 /opt/drush/includes/command.inc(324): call_user_func_array('drush_sidora_ad...', Array)
#18 /opt/drush/includes/command.inc(198): _drush_invoke_hooks('sidora_administ...', Array, 'sidora')
#19 [internal function]: drush_command('ct:2248021')
#20 /opt/drush/includes/command.inc(165): call_user_func_array('drush_command', Array)
#21 /opt/drush/drush.php(92): drush_dispatch(Array)
#22 /opt/drush/drush.php(61): _drush_bootstrap_and_dispatch()
#23 /opt/drush/drush.php(16): drush_main()
#24 {main} in RepositoryConnection->parseFedoraExceptions() (line 247 of /var/www/drupal/sites/all/libraries/tuque/RepositoryConnection.php).
Drush command terminated abnormally due to an unrecoverable error.