Quote:
Originally Posted by scasey
I'm pretty sure that you can't set the limits for a user higher than the global limits set with ulimit.
Just set the ulimit as needed.
|
Here's the crazy part.
The target machine for all the processing will eventually be a thin client with a 128MB SSD drive as a hard drive and I'm trying different flavors of linux as we speak, but for now I'm using another machine with plenty of resources.
I tried "Damn Small Linux" and it loads a 2.4 kernel. Everything is fine except the serial port implementation is broken (It names the serial port files ttyS00 and ttyS01 but they're never listed in /dev)
Now I'm using "Damn Small Linux NOT" (kernel 2.6) but it used double the space I have available for the target machine. Its serial implementation appears correct but adjusting ulimit is a pain. Its still stuck at 32K for max locked memory.
I did modify /etc/security/limits.conf to make the value higher for all users in question (root, dsl, and nobody) and I even modified a startup script manually and inserted "ulimit" commands to insert the new limits that way because I figured that would be a global limit to all processes.
To my dismay, the limit (hard and soft) is STILL stuck at 32 and the only way I can seem to adjust the limit for new processes is to put in the ulimit command before running the program, but the monkey webserver doesn't have a configuration that supports the ability for "ulimit" to be executed just before the script is run.
What other files could I modify?
It seems all the "Damn small linux" OS's are based on knoppix and I think a bit of debian.