Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NCrunch Grid Node takes more disk space than allowed
Marqus
#1 Posted : Friday, July 26, 2019 8:01:38 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 2/22/2012(UTC)
Posts: 38
Location: Poland

Thanks: 2 times
Was thanked: 6 time(s) in 6 post(s)
Hi,

I've configured NCrunch Grid Node to take at most 9GB of storage space, but it looks like this setting isn't working - look attached pic. I've deleted this folder several times, reinstalled nCrunch Grid node, changed data limit value but without any effect - folder gets bigger and bigger till it takes all available disk space.

Remco
#2 Posted : Friday, July 26, 2019 11:11:38 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,759

Thanks: 745 times
Was thanked: 956 time(s) in 911 post(s)
Hi, thanks for posting.

There is some understandable confusion around how disk space allocation works on grid nodes.

Grid nodes use your disk space in two ways:

1. The storage of 'snapshot' solutions that are uploaded from grid clients. This is basically an xcopy of the solution as it sits on the client machine. It gets continuously updated on the server during the client's session and is retained on the server after the client disconnects, as it's often quite large and a full re-upload can take quite a while. The storage of these snapshots is limited by the config setting you're using (solution storage data limit). If the grid node needs to create a new snapshot past this limit, it will delete old ones so that the limit is adhered to.

2. The temporary storage of workspaces constructed to provide sandboxing for build and test operations being performed during a session. Grid nodes build these workspaces in the same manner as grid clients do for local processing. Depending on your solution, these workspaces can become very large during a session. We have no practical way to limit the disk space allocation for workspaces because to do so would greatly inhibit the processing of the grid node and essentially defeat the point of using it at all.

When setting up a grid node, it's often good to set a baseline of leaving at least as much free space for workspaces as you have for the solution snapshots. The number of workspaces required by the processor will increase depending on your concurrency level. For example, a grid node with 30 task processors will require a considerable amount of space for workspaces, where a grid node with only 1-2 task processors will have a much lighter footprint. The number of workspaces usually increases over time during a session, so make sure you leave enough space on the node.

If you're running your grid nodes on a cloud based server and reserving more disk space for them is prohibitively expensive, something else to try is to opt for a node with higher RAM but lower HDD. You could then set up a RAM drive on the machine and store your workspace base path on the RAM drive to greatly improve performance.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.025 seconds.