Severe restrictions are usually set by the system administrator to the highest value that would be convenient for them when using multiple users.
By default, system administrators set minimum limits on the values ββthat they would like to use in most cases. (Consider soft_limit * number_of_users == almost the entire available resource. Leave enough for root to clear everything that needs to be done, and users who can tinker with hard restrictions to push borders a little. Absolute stability will give hard restrictions very close to soft limits.)
If this is your first time care, I would just set soft limits. This gives you the opportunity to completely or completely remove them in the same session, without requiring you to kill this terminal and all its children.
I believe the kernel size limit is in bytes, so 1024 and 10240 too small for everyone but the most stupid programs . I would start with $(( 100 * 1024 * 1024 )) for most programs only out of laziness, but if I knew that the program is huge (Firefox), I would become much larger.
sarnold
source share