-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Describe the issue:
The default stacksize on Linux is 8MB. For some problems, this isn't enough. The stack size should be set to be the maximum allowed (unlimited). It will be governed by the maximum memory size allocated to the process though (eg. 2GB)
To Reproduce:
Observe that the pc2v9/scripts/pc2sandbox* scripts do not do "ulimit -s unlimited". This causes the system to use the system default, which is 8MB.
Expected behavior:
Stack size should be set to the maximum memory allocated to the process.
Actual behavior:
Stack size maximum is 8MB.
Environment: please complete the following information:
Ubuntu 24.04
Log Info:
Screenshots:
Additional context:
This has not been a problem in recent contests because the scripts reside on on the AWS servers and they don't get updated, so they all have the ulimit -s unlimited. This issue is to update the scripts that go into the git repo.