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

Frontend memory issue #412

Closed
2 tasks
zeckli opened this issue Apr 10, 2024 · 3 comments
Closed
2 tasks

Frontend memory issue #412

zeckli opened this issue Apr 10, 2024 · 3 comments
Assignees

Comments

@zeckli
Copy link

zeckli commented Apr 10, 2024

Checklist

  • Investigate root cause and fix it
  • Enlist all relevant things into monitoring plan

Refs

Story

@zeckli zeckli changed the title Memory Frontend memory issue Apr 10, 2024
@robertu7
Copy link
Contributor

scaled up to 4-8 instances from 2-8 last week, no alert until now.

@tx0c
Copy link

tx0c commented Apr 17, 2024

problems found:

  • ElasticBeanstalk reports little visibility in CloudWatch; (for alerts, it only has HealthCount, not http status code reporting,)
  • https://auth.matters.news/ still serving, mostly forged non existed urls like /wp/admin attack with 500 internal errors
  • Warning: data for page "/..." is 141 kB which exceeds the threshold of 128 kB; looks like have duplicates in > JSON.stringify( JSON.parse(document.getElementById("__NEXT_DATA__").textContent) .props .apolloState .data ) .length
    135162 <= 135KB JSON data
    • for page "/"
    • for page "/tags/[tagId]"
    • for page "/[name]/collections/[collectionId]"
  • auth.matters.news triggered updated hostname to apiUrl: 'https://server.matters.news/graphql

@tx0c
Copy link

tx0c commented Apr 23, 2024

mitigation in thematters/matters-web#4291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants