Risks of Changing the Attachment Size Limit

MiY
Tera Contributor

Hello, I'm planning to change the following property values to change the attachment limit.
Please let me know if there are any risks associated with each of the following changes.
・com.glide.attachment.max_size: 1024 → 3000
・glide.sc.variable.attachment.default_max_size: 20 → 1024

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@MiY 

increasing "com.glide.attachment.max_size" will allow user to add 3GB file per record which will increase attachment table size.

glide.sc.variable.attachment.default_max_size -> will allow 1GB file to be attachment to attachment variable. same goes here, user can add large file during Catalog item submission.

Recommendations

-> discuss and inform customer about this and then only increase it

-> value above 1GB is rare so increasing it will risk for performance and storage issues

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Chaitanya ILCR
Kilo Patron

Hi @MiY ,

1 GB to 3 GB files? what's the business requirement? 

if possible can those be saved in some other sources like oneDrive or any other less costly clouds, cuz servicenow storage costlier than those 

ask these questions and take an action

  • Performance impact: Larger files can increase load on the instance, especially if many users upload large files simultaneously.
  • Storage consumption: May lead to faster consumption of disk space, requiring more frequent storage management.
  • Misuse: Users may unintentionally or intentionally upload unnecessarily large files.

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

    •  

Mark Manders
Mega Patron

It depends on the reason you want to update them. It can add cause performance issues, because you are allowing people to attach much bigger attachments. If that's not limited to a max number, your instance could be slowing down when people are starting to add attachments that are up to 3GB. 

What's the use case? Is it only necessary for certain records/tables?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

GlideFather
Tera Patron

Hi @MiY,

what files do you plan to attach?

 

Modifying this will not have the immediate impact, I don't expect your customers to upload movies to every single record... rather the impact might be present later, when form loading will take long time or in use cases like approval email containing all the attachments.

 

You will make the UX less friendly for people who use mobile data/hotspot or occasionally access to ServiceNow using their mobile devices.

 

Recommendation - don't change it unless you really really have to..

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */