Status: Accepted
Owner: [email protected]
Labels: Type-Defect Milestone-Release-1.2.1 Priority-Critical
New issue 2234 by [email protected]: qubit-sword daemon stops working
after a long time being running (MySQL server has gone away)
http://code.google.com/p/qubit-toolkit/issues/detail?id=2234
To reproduce this error:
========================
1) Start qubit-sword upstart service
2) Leave it running it and not using it for one day
3) Try to deposit a package using SWORD
Resulting error:
================
MySQL server has gone away.
The database connection should be kept alive or ensure that it is connected?
[31316] Running new fork...
[31316] A package was deposited by reference.
[31316] Location: file:///27 Budgets-55136a22-9ac9-4778-828b-907bb4b4fc22
[31316] Processing...
[31316] Object slug: series-3
[31316] Exception: exception 'PropelException' with message 'Unable to
execute UPDATE statement. [wrapped: SQLSTATE[HY000]: General error: 2006
MySQL server has gone away]' in
/var/www/qubit/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/BasePeer.php:420
Stack trace:
#0 /var/www/qubit/lib/model/om/BaseObject.php(686):
BasePeer::doUpdate(Object(Criteria), Object(Criteria), Object(PropelPDO))
#1 /var/www/qubit/lib/model/om/BaseInformationObject.php(449):
BaseObject->update(NULL)
#2 /var/www/qubit/lib/model/om/BaseObject.php(530):
BaseInformationObject->update(NULL)
#3 /var/www/qubit/lib/model/QubitObject.php(101): BaseObject->save(NULL)
#4 /var/www/qubit/lib/model/om/BaseInformationObject.php(360):
QubitObject->save(NULL)
#5 /var/www/qubit/lib/model/QubitInformationObject.php(196):
BaseInformationObject->save(NULL)
#6
/var/www/qubit/plugins/qtSwordPlugin/lib/qtPackageExtractorMETSArchivematicaDIP.class.php(200):
QubitInformationObject->save()
#7
/var/www/qubit/plugins/qtSwordPlugin/lib/qtPackageExtractorBase.class.php(72):
qtPackageExtractorMETSArchivematicaDIP->process()
#8
/var/www/qubit/plugins/qtSwordPlugin/lib/qtSwordPluginWorker.class.php(95):
qtPackageExtractorBase->run()
#9 [internal function]:
qtSwordPluginWorker::depositSwordPackage(Object(GearmanJob),
Object(sfGearmanWorker))
#10
/var/www/qubit/plugins/sfGearmanPlugin/lib/sfGearmanWorker.class.php(148):
GearmanWorker->work()
#11
/var/www/qubit/plugins/sfGearmanPlugin/lib/task/gearmanWorkerTask.class.php(65):
sfGearmanWorker->loop()
#12 /var/www/qubit/vendor/symfony/lib/task/sfBaseTask.class.php(68):
gearmanWorkerTask->execute(Array, Array)
#13 /var/www/qubit/vendor/symfony/lib/task/sfTask.class.php(97):
sfBaseTask->doRun(Object(sfCommandManager), NULL)
#14
/var/www/qubit/vendor/symfony/lib/command/sfSymfonyCommandApplication.class.php(76):
sfTask->runFromCLI(Object(sfCommandManager), NULL)
#15 /var/www/qubit/vendor/symfony/lib/command/cli.php(20):
sfSymfonyCommandApplication->run()
#16 /var/www/qubit/symfony(14): include('/var/www/qubit/...')
#17 {main}
[31316] Fork finished
Job finished
Expected result:
================
--
You received this message because you are subscribed to the Google Groups "Qubit
Toolkit Issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-issues?hl=en.