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

PhantomJS Executable consumes all Disc Space in Production #11

Open
bodo-hugo-barwich opened this issue Nov 20, 2021 · 4 comments
Open

Comments

@bodo-hugo-barwich
Copy link
Owner

With shipping the PhantomJS Executable to the Production Environment the disc space consumption has increased drastically.
The latest deployment to Production has failed
Glitch Production Deployment failed

So, for the Integration Test with PhantomJS the Executable must be directly downloaded into the Test Environment and cannot be shipped with the Repository anymore.

@bodo-hugo-barwich
Copy link
Owner Author

bodo-hugo-barwich commented Nov 20, 2021

The disc space in the serverless Glitch Deployment is very reduced and with the PhantomJS executable has reached 92%

Inactive Boosted Apps iconDisk
92.24175490642425
0
92%
184MB / 199MB
You may have problems saving changes when your disk is full. Try removing unneeded files or deleting old data. Check out the help center guide on how to do this.

which makes the deployment fail:

remote: fatal: write error: No space left on device        
fatal: protocol error: bad line length character: Forw
error: remote unpack failed: index-pack abnormal exit
error: error in sideband demultiplexer
To https://api.glitch.com/git/plack-twiggy-pwa
 ! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'https://api.glitch.com/git/plack-twiggy-pwa'

@bodo-hugo-barwich
Copy link
Owner Author

As seen in the Test Logs of the
PhantomJS Integration Test
the Executable consumes 65 MB of disc space:

Testing and Installing Tools:
total 66M
drwxr-xr-x  2 runner docker 4.0K Nov 21 11:32 .
drwxr-xr-x 15 runner docker 4.0K Nov 21 11:32 ..
-rwxr-xr-x  1 runner docker 296K Nov 21 11:32 cpanm
-rwxr-xr-x  1 runner docker  65M Nov 21 11:32 phantomjs

@bodo-hugo-barwich
Copy link
Owner Author

Unfortunately according to the PhantomJS Project announcement the development is discontinued as documented at
PhantomJS project discontinued
So, the service of compiled binaries and the corresponding Web Site are in the risk of service disruption.
This will make necessary a compiling from Source Strategy to satisfy the dependency

@bodo-hugo-barwich
Copy link
Owner Author

As seen in the Deployment Log the Glitch Production Deployment succeeded
Glitch Production Deployment succeeded
although the disc space is worrying and much more bloated than the Product Data API Project with only 25 MB

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

1 participant