17 Jun
2010
17 Jun
'10
11:45 a.m.
On 17-06-2010 11:20:59 +0200, Miguel Ángel Águila Lorente wrote:
Hello,
I'm trying to use ulimit to limit memory but it doesn't work. My steps are:
1. Open a shell 2. write ulimit -m 4194304 3. and start mserver5
When I'm in a client I execute a query and with comand top I can see that is using more than 4194304 kbytes.
After several trials I did the same but limiting the cpu time with:
ulimit -t 3
and it works fine, after 3 seconds the server was killed.
I don't understand what is happening, the only thing I can supouse is that ulimit can't be used with monet.
you're probably using Linux, it is known for not respecting it.