Error when uploading a large microservice zip file

Product/components used and version/fix level:

cumulocity 1016.0.214

Detailed explanation of the problem:

When uploading a microservice with size of 4 GB we get an error:
“Wrong file format. Expected a*.zip file with a valid manifest.”

We have tried a simple service ~700 MB and it uploads fine but the same service with some temp files to increse the size for testing purpose producing a zip of 4 GB, fails.

Question: Is there a limit on the size of the microservice zip file ?
Is there some kind of workaround ?

Error messages / full error message screenshot / log file:

Question related to a free trial, or to a production (customer) instance?

Production, customer

There is a limit and it is defined in system property
system.files.max.size=524288000

Usually it’s 500MB (as above).

4GB is not very ‘micro’.

3 Likes

Hi Robert, thank you for the reply.
This is a unique case we are facing.
Can you please elaborate on the system.files.max.size ?
Is it configurable ? If so can you tell us where.

I couldn’t find anything in the online documentation on the subject. Do maybe have a reference to any documentation on the subject that you could share ?

Thank you in advance.

https://cumulocity.com/guides/users-guide/administration/#custom-microservices

The setting is defined by whoever operates the platform, on the core nodes that comprise cumulocity backend…

Other settings that may be relevant…

system.files.microservice.zipped.max.size
system.files.microservice.unzipped.max.size

2 Likes

Thanks a lot Robert. That clears everything up. Kudos

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.