我注册了OpenShift
并创建了一个基于WildFly
,Java 7
的应用,当我部署时,我看到了
remote: target/wildfly-8.1.0.Final/modules/system/layers/base/org/jboss/common-core/main/jboss-common-core-2.2.22.GA.jar
remote: stderr: rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
remote: rsync: write failed on "/var/lib/openshift/53cc3d974382ec1f72000304/app-deployments/2014-07-20_18-21-00.502/repo/target/wildfly-8.1.0.Final/modules/system/layers/base/org/jboss/common-core/main/jboss-common-core-2.2.22.GA.jar": Disk quota exceeded (122)
remote: rsync error: error in file IO (code 11) at receiver.c(301) [receiver=3.0.6]
remote: rsync: connection unexpectedly closed (17468 bytes received so far) [sender]
remote: rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
remote:
remote: For more details about the problem, try running the command again with the '--trace' option
然后我登录机器,看看占用了多少空间,我意识到wildfly
本身正在吃掉所有这些
du -h * | sort -rh | head -50
592M wildfly
317M wildfly/usr/lib/jvm/jdk1.8.0_05
317M wildfly/usr/lib/jvm
317M wildfly/usr/lib
317M wildfly/usr
166M wildfly/usr/lib/jvm/jdk1.8.0_05/jre
165M wildfly/usr/lib/jvm/jdk1.8.0_05/jre/lib
147M app-root/runtime/repo/target
147M app-root/runtime/repo
147M app-root/runtime
147M app-root
136M wildfly/versions/8
136M wildfly/versions
135M app-root/runtime/repo/target/wildfly-8.1.0.Final
120M app-deployments/2014-07-20_18-21-00.502/repo/target
120M app-deployments/2014-07-20_18-21-00.502/repo
120M app-deployments/2014-07-20_18-21-00.502
120M app-deployments
118M wildfly/versions/8/modules
118M wildfly/usr/lib/jvm/jdk1.8.0_05/lib
118M wildfly/modules
116M wildfly/versions/8/modules/system/layers/base
116M wildfly/versions/8/modules/system/layers
116M wildfly/versions/8/modules/system
116M wildfly/modules/system/layers/base
116M wildfly/modules/system/layers
116M wildfly/modules/system
116M app-root/runtime/repo/target/wildfly-8.1.0.Final/modules/system/layers/base
116M app-root/runtime/repo/target/wildfly-8.1.0.Final/modules/system/layers
116M app-root/runtime/repo/target/wildfly-8.1.0.Final/modules/system
116M app-root/runtime/repo/target/wildfly-8.1.0.Final/modules
107M app-deployments/2014-07-20_18-21-00.502/repo/target/wildfly-8.1.0.Final
95M wildfly/versions/8/modules/system/layers/base/org
95M wildfly/modules/system/layers/base/org
95M app-root/runtime/repo/target/wildfly-8.1.0.Final/modules/system/layers/base/org
90M app-deployments/2014-07-20_18-21-00.502/repo/target/wildfly-8.1.0.Final/modules/system/layers/base
90M app-deployments/2014-07-20_18-21-00.502/repo/target/wildfly-8.1.0.Final/modules/system/layers
90M app-deployments/2014-07-20_18-21-00.502/repo/target/wildfly-8.1.0.Final/modules/system
90M app-deployments/2014-07-20_18-21-00.502/repo/target/wildfly-8.1.0.Final/modules
68M app-deployments/2014-07-20_18-21-00.502/repo/target/wildfly-8.1.0.Final/modules/system/layers/base/org
59M wildfly/usr/lib/jvm/jdk1.8.0_05/jre/lib/i386
49M wildfly/usr/lib/jvm/jdk1.8.0_05/lib/missioncontrol
43M wildfly/usr/lib/jvm/jdk1.8.0_05/lib/missioncontrol/plugins
37M wildfly/versions/8/modules/system/layers/base/org/jboss
37M wildfly/modules/system/layers/base/org/jboss
37M app-root/runtime/repo/target/wildfly-8.1.0.Final/modules/system/layers/base/org/jboss
32M wildfly/usr/lib/jvm/jdk1.8.0_05/lib/visualvm
26M wildfly/usr/lib/jvm/jdk1.8.0_05/jre/lib/ext
21M wildfly/usr/lib/jvm/jdk1.8.0_05/lib/visualvm/platform
21M app-deployments/2014-07-20_18-21-00.502/repo/target/wildfly-8.1.0.Final/modules/system/layers/base/org/jboss
如何解决此问题?野生蝇不适合免费计划吗?
答案 0 :(得分:0)
如果您自己制作了一个DIY盒式磁带然后加载了野生动物,那么您正确的语言和框架库将会消耗部分配额。
修改强> 如果您使用位于此处的wildfly快速入门https://www.openshift.com/quickstarts/wildfly-I,也会使用您的部分配额。我发布了一个快速示例并获得以下内容
\> ls
app-deployments app-root git wildfly
\> quota -s
Disk quotas for user 53cebb8c5973caacc500017c (uid 1317):
Filesystem blocks quota limit grace files quota limit grace
/dev/mapper/EBSStore01-user_home01
593M 0 1024M 5676 0 80000
话虽这么说,但最好是签署铜牌计划并为更大的Java应用程序添加更多存储空间(每GB每月1美元)。