I need to increase the default stack size on Linux. As I know there are usually two ways:
ulimit -s size/etc/security/limits.conf
The ulimit method only works as long as I am logged in.
limits.conf will work after a restart.
Is there a possible way to increase the limit without restarting?