tbutler

Well-Known Member
Feb 11, 2004
59
9
158
It seems as though cPanel limits all shell users (other than root) to using just 200 mb of RAM for a process (according to ulimit's max memory), which is causing "Out of memory!" errors on a script I'm trying to run that is multithreaded. Is there a way to change the limit for a particular user?
 

tbutler

Well-Known Member
Feb 11, 2004
59
9
158
(The context: I have a Perl backend to one of my web sites that does a bunch of updates via multiple threads. Perhaps the version of Perl or the libraries it uses are somehow smaller on my old CentOS system, but on the new AlmaLinux server I put it on, it seems to need about 300-400MB of RAM to operate its four threads without running out of memory. It runs fine as root, when there are no limits on it.)
 

tbutler

Well-Known Member
Feb 11, 2004
59
9
158
Thanks @cPRex! I did try disabling it and didn't notice a difference. I only left it off momentarily -- does it take awhile to "take effect"?