> "It's ok, I made some calculation and it is right. When a new thread is
> created the virtual memory for the new maximum stack size (2Mb in Linux)
> must be preallocated. It's virtual memory though and it'll never be
> requested. Look at RSS instead, that is the real RAM usage. For sure if
> you want to have thousands of threads/tasks on your system you must be
> generous with the swap space. But again, it'll never be committed. Look at
> the test program I sent you, even with thousand threads you see no
> swapping activity."

ps ax | grep -c XMail
42

The RSS is just 4 MB lower than the SIZE value:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
30202 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
30203 root       0   0  243M 239M  1868 S     0,0 23,7   6:47 XMail
30204 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
30205 root       9   0  243M 239M  1868 S     0,0 23,7   5:04 XMail
30206 root       9   0  243M 239M  1868 S     0,0 23,7   5:12 XMail
30207 root       9   0  243M 239M  1868 S     0,0 23,7   5:43 XMail
30208 root       9   0  243M 239M  1868 S     0,0 23,7   4:49 XMail
30209 root       9   0  243M 239M  1868 S     0,0 23,7   4:52 XMail
30210 root       8   0  243M 239M  1868 S     0,0 23,7   4:54 XMail
30211 root       8   0  243M 239M  1868 S     0,0 23,7   5:23 XMail
30212 root       9   0  243M 239M  1868 S     0,0 23,7   4:36 XMail
30213 root       9   0  243M 239M  1868 S     0,0 23,7   5:06 XMail
30214 root       9   0  243M 239M  1868 S     0,0 23,7   5:24 XMail
30215 root       9   0  243M 239M  1868 S     0,0 23,7   4:57 XMail
30216 root       9   0  243M 239M  1868 S     0,0 23,7   4:50 XMail
30217 root       9   0  243M 239M  1868 S     0,0 23,7   5:01 XMail
30218 root       8   0  243M 239M  1868 S     0,0 23,7   5:14 XMail
30219 root       9   0  243M 239M  1868 S     0,0 23,7   5:20 XMail
30220 root       9   0  243M 239M  1868 S     0,0 23,7   5:50 XMail
30221 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
30222 root       9   0  243M 239M  1868 S     0,0 23,7   3:13 XMail
30223 root       9   0  243M 239M  1868 S     0,0 23,7   0:34 XMail
30224 root       9   0  243M 239M  1868 S     0,0 23,7   0:14 XMail
30225 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
30226 root       9   0  243M 239M  1868 S     0,0 23,7   0:14 XMail
30227 root       9   0  243M 239M  1868 S     0,0 23,7   0:14 XMail
30228 root       9   0  243M 239M  1868 S     0,0 23,7   0:14 XMail
 9086 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
 9698 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
13786 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
13942 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
14206 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
15158 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
17019 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
18699 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
24816 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
10200 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
13116 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail
13284 root       9   0  243M 239M  1868 S     0,0 23,7   0:00 XMail

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to