Hello, Maeda-san.

I just encounter such problem. So, everything step by step:

1) Create class1
2) Create class2
3) res=cpu,guarantee=20 for class1
4) res=cpu,guarantee=80 for class2
5) add a1.out (program with infinite loop) in class1
6) add a2.out (program with infinite loop) in class2
7) top and ctop show adequate info
8) rmdir class1 (and wait a little)
9) rmdir class2

After that a2.out just not sheduled! I doesn't react on signals and top shoes 0%...
This bug is 100% reproducable...

[EMAIL PROTECTED] $ ls /config/ckrm/
attrib  class1  class2  config  members  shares  stats

[EMAIL PROTECTED] $ cat /config/ckrm/class1/shares
res=numtasks,guarantee=-2,limit=-2,total_guarantee=100,max_limit=100
res=cpu,guarantee=20,limit=-2,total_guarantee=100,max_limit=-2
res=mem,guarantee=-2,limit=-2,total_guarantee=100,max_limit=100

[EMAIL PROTECTED] $ cat /config/ckrm/class2/shares
res=numtasks,guarantee=-2,limit=-2,total_guarantee=100,max_limit=100
res=cpu,guarantee=80,limit=-2,total_guarantee=100,max_limit=-2
res=mem,guarantee=-2,limit=-2,total_guarantee=100,max_limit=100

[EMAIL PROTECTED] $ cat /config/ckrm/class1/members
7283

[EMAIL PROTECTED] $ cat /config/ckrm/class2/members
7282

[EMAIL PROTECTED] $ top -p 7282,7283
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
7282 root      25   0  1308  248  200 R 83.7  0.0   4:44.91 a2.out
7283 root      25   0  1304  248  200 R 16.0  0.0   1:34.52 a1.out

dhcp0-138 ckrm # rmdir class1

dhcp0-138 ckrm # rmdir class2

[EMAIL PROTECTED] $ top -p 7282,7283
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
7283 root      25   0  1304  248  200 R 96.9  0.0   2:51.53 a1.out
7282 root      25   0  1308  248  200 R  0.0  0.0   6:08.79 a2.out
                                                             ^^^
And a2.out doesn't react...








-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to