Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting certain data sets takes an inordinate amount of time #3365

Open
hackdna opened this issue May 1, 2019 · 0 comments
Open

Deleting certain data sets takes an inordinate amount of time #3365

hackdna opened this issue May 1, 2019 · 0 comments

Comments

@hackdna
Copy link
Member

hackdna commented May 1, 2019

  • Specific code commit: v1.6.8
  • Version of the web browser and OS: any
  • Environment where the error occurred: any

Steps to reproduce

  1. Set up a dev/test instance of SCC using a recent RDS snapshot
  2. Open /admin/core/dataset/319 (all.gene.FPKM) in a web browser
  3. Delete the data set

Observed behavior

  • After a few minutes web browser showed HTTP error 504
  • Data set deleted after about 1 hour 25 minutes
  • CPU utilization stayed at ~50% (on a t2.medium instance)
  • Memory utilization went up to ~3GB:
    • Django: ~1.5GB of RAM (~40% of total system memory)
    • Solr: ~0.5GB

Screen Shot 2019-05-01 at 12 27 30

Expected behavior

Data set should be deleted in seconds without excessive CPU or memory utilization

Notes

See also: #463, #713, #2394, #2645

PostgreSQL dump size:

  • before this data set was removed: ~268MB
  • after this data set was removed: ~190MB
@hackdna hackdna added this to the Next milestone May 1, 2019
@hackdna hackdna changed the title Impossible to delete certain data sets Deleting certain data sets take an inordinate amount of time May 1, 2019
@hackdna hackdna changed the title Deleting certain data sets take an inordinate amount of time Deleting certain data sets takes an inordinate amount of time May 1, 2019
@hackdna hackdna modified the milestones: Next, Release 1.7.0 May 8, 2019
@hackdna hackdna added this to To Do in Performance Jul 8, 2019
@gmnelson gmnelson modified the milestones: Release 1.7.0, Next Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants