Page Canary
CompareCompareDocsDocsBlogBlog
Page Canary logo (opens in a new tab)
  • Home
  • Business
  • Business requirements document
  • Business plan
  • Competitors
  • Deck
  • Emails
  • Funding
  • Lead generation
  • Marketing
  • Engineering
  • Product requirements document
  • Engineering design
  • Roadmap
  • Todo
  • Misc
  • Notes
  • Ai
  • Analytics
  • Churn
  • Content
  • Customer Interviews
  • Deals
  • Debugging
  • Demos
  • Ecommerce
  • Idea
  • Infra
  • Large Action Model
  • Learning
  • Llm Element Desriptors
  • Metrics
  • Non Coding Tasks
  • Onboarding
  • Operations
  • Pagecanary Script
  • Pagecanary Validation
  • Pagecanary Yc Application
  • Partners
  • Pitch
  • Pivot
  • Plan
  • Playbook
  • Questions
  • Sales
  • Sales Marketing
  • Sales Prospecting
  • Support
  • Team
  • Test Plan
  • Use Cases
  • Vision

On This Page

  • Debugging hosts
  • Host runs out of disk space
Question? Give us feedback → (opens in a new tab)
internal
Debugging

Debugging hosts

  1. Get host IP
  2. SSH to host
  3. Switch to root sudo su
  4. Check logs cat /var/log/cloud-init-output.log
  5. Check script logs pm2 logs

Host runs out of disk space

Periodically hosts can run out of disk space.

To fix:

  • Clear puppeteer cache rm -rf $HOME/.cache/
  • Identify large files or folders sudo du -ak | sort -nr | head -50
  • Add space to EBS ec2 instances if required

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html (opens in a new tab)

  1. growpart /dev/nvme0n1 1
  2. resize2fs /dev/nvme0n1p1
DealsDemos

Copyright 2024 © Page Canary