Build pack fails on PCF -No space left on device

Build pack fails on PCF -No space left on device

book

Article ID: KB0083616

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks Container Edition -

Description

Pushing BWCE application in PCF environment fails with the following exception 

 2017-08-04T11:04:43.82-0700 [APP/PROC/WEB/0] OUT !STACK 0
   2017-08-04T11:04:43.82-0700 [APP/PROC/WEB/0] OUT java.io.IOException: No space left on device
   2017-08-04T11:04:43.82-0700 [APP/PROC/WEB/0] OUT     at java.io.FileOutputStream.writeBytes(Native Method)
   2017-08-04T11:04:43.82-0700 [APP/PROC/WEB/0] OUT     at java.io.FileOutputStream.write(FileOutputStream.java:326)
   2017-08-04T11:04:43.82-0700 [APP/PROC/WEB/0] OUT     at org.eclipse.osgi.storage.StorageUtil.readFile(StorageUtil.java:69)
   2017-08-04T11:04:43.82-0700 [APP/PROC/WEB/0] OUT     at org.eclipse.osgi.storage.BundleInfo$Generation.storeContent(BundleInfo.java:281)

 2017-08-04T11:04:48.90-0700 [APP/PROC/WEB/0] OUT 18:04:48.906 INFO  [Framework Event Dispatcher: Equinox Container: 109ac561-3f79-0017-1513-ff68289e5ec8] com.tibco.thor.frwk.Deployer - TIBCO-THOR-FRWK-300001: Started OSGi Framework of AppNode [standalone] in AppSpace [standalone] of Domain [standalone]
   2017-08-04T11:04:49.18-0700 [APP/PROC/WEB/0] OUT ssh is not running.
   2017-08-04T11:04:49.40-0700 [APP/PROC/WEB/0] OUT     at java.io.FileOutputStream.writeBytes(Native Method)
   2017-08-04T11:04:49.40-0700 [APP/PROC/WEB/0] OUT !MESSAGE Error saving on shutdown
   2017-08-04T11:04:49.40-0700 [APP/PROC/WEB/0] OUT !STACK 0
   2017-08-04T11:04:49.40-0700 [APP/PROC/WEB/0] OUT java.io.IOException: No space left on device
   2017-08-04T11:04:49.40-0700 [APP/PROC/WEB/0] OUT     at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
   2017-08-04T11:04:49.40-0700 [APP/PROC/WEB/0] OUT     at 

Issue/Introduction

Application startup fails in PCF environment.

Environment

PCF

Resolution

This issue is cased by insufficient hard disk size.

Be default, PCF allocate 512MB hard disk size for containers. It may not be sufficient if the application size is more or the build pack have plugins bundled. Increase the size to 1G or more to overcome this issue. "Disk Limit" parameter needs to be changed and the application requires restage.

User-added image