【问题标题】:Disk quota exceeded - can't run "rhc app-tidy"超出磁盘配额 - 无法运行“rhc app-tidy”
【发布时间】:2023-03-20 06:45:01
【问题描述】:

我的应用程序的数据库太大,超出了我的磁盘空间:

rhc show-app reader --gears quota
Gear                     Cartridges                      Used Limit
------------------------ ------------------------------- ---- -----
5160647d4382ec2da5000019 php-5.3 postgresql-8.4 cron-1.4 1 GB  1 GB

quota -s
Disk quotas for user 5160647d4382ec2da5000019 (uid 1825): 
 Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
/dev/mapper/EBSStore01-user_home01
              1013M       0   1024M            7640       0   80000

但是,当我运行“rhc app-tidy”时,我得到了这个:

rhc app-tidy reader
Warning: Gear 5160647d4382ec2da5000019 is using 98.9% of disk quota
Failed to execute: 'control start' for /var/lib/openshift/5160647d4382ec2da5000019/postgresql

您能暂时增加我的配额,以便我可以运行 tidy 命令吗?我的申请网址是https://reader-rodrigocarvalho.rhcloud.com/

问候。

【问题讨论】:

    标签: openshift openshift-client-tools


    【解决方案1】:

    尝试 SSH 进入您的应用程序并手动删除日志文件和任何其他可能不需要的内容。

    【讨论】:

    • 我已经尝试过了...数据库占用了所有空间:du -hsx * |排序-rh | head -10 941M postgresql 25M app-root 20M app-deployments 15M php 5.0M git 108K cron 0 postgresql-8.4 0 php-5.3 0 cron-1.4 我正在运行TT-RSS,我的问题是:github.com/disconn3ct/tiny_tiny_rss-openshift-quickstart/issues/…跨度>
    • 我找到了一个日志文件夹,现在我可以运行命令了!谢谢!
    猜你喜欢
    • 1970-01-01
    • 2019-04-29
    • 1970-01-01
    • 1970-01-01
    • 2022-07-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-09-27
    相关资源
    最近更新 更多