2009-04-15 06:47:37 |
nguyenthanhvuh |
bug |
|
|
added bug |
2009-04-15 06:52:11 |
nguyenthanhvuh |
description |
ulimit -t doesn't work as expected in kernel 2.6.28.
I think it might be some bug imcompatability w/ kernel 2.6.28 --- I want to file a bug to kernel dev group but just want to check here first. Whenever I use kernel 2.6.28 (e.g., compile my own), the problem occurs. To make sure that it isn't due to my own kernel compilation and setting, I tried on the latest Ubuntu version (Jaunty, beta) w/ 2.6.28 default, problem occurs again (I didn't touch the kernel of Jaunty at all, it's the stock default one). Everything seems fine w/ kernel 2.6.27 (e.g., Intrepid or Hardy) or lower. Also note that dash / bash doesn't seem to be the problem (i.e., ulimit should work w/ both dash and bash).
Below is an example to reproduce the bug.
file: ulimit_test.sh
#!/bin/bash
ulimit -t 1
perl -e 'while(true){}'
exit 0
sh ulimit_test.sh : expected: process is killed after 1 sec,
but w/ 2.6.28: it doesn't get killed at all -- loop forever. |
ulimit -t doesn't work as expected in kernel 2.6.28.
I think it might be some bug imcompatability w/ kernel 2.6.28 --- I want to file a bug to kernel dev group but just want to check here first. Whenever I use kernel 2.6.28 (e.g., compile my own vanilla linux source), the problem occurs. To make sure that it isn't due to my own kernel compilation and settings, I tried on the latest Ubuntu version (Jaunty, beta) w/ kernel 2.6.28 default, problem occurs again (I didn't touch the kernel of Jaunty at all, it's the stock default one).
Everything seems fine w/ kernel 2.6.27 (e.g., Intrepid or Hardy) or lower. Also note that dash / bash doesn't seem to be the problem (i.e., ulimit should work w/ both dash and bash).
Below is an example to reproduce the bug.
file: ulimit_test.sh
#!/bin/bash
ulimit -t 1
perl -e 'while(true){}'
exit 0
sh ulimit_test.sh : expected: process is killed after 1 sec,
but w/ 2.6.28: it doesn't get killed at all -- loop forever. |
|
2009-04-15 06:52:11 |
nguyenthanhvuh |
tags |
|
2.6.28 kernel ulimit |
|
2009-04-15 14:44:48 |
nguyenthanhvuh |
description |
ulimit -t doesn't work as expected in kernel 2.6.28.
I think it might be some bug imcompatability w/ kernel 2.6.28 --- I want to file a bug to kernel dev group but just want to check here first. Whenever I use kernel 2.6.28 (e.g., compile my own vanilla linux source), the problem occurs. To make sure that it isn't due to my own kernel compilation and settings, I tried on the latest Ubuntu version (Jaunty, beta) w/ kernel 2.6.28 default, problem occurs again (I didn't touch the kernel of Jaunty at all, it's the stock default one).
Everything seems fine w/ kernel 2.6.27 (e.g., Intrepid or Hardy) or lower. Also note that dash / bash doesn't seem to be the problem (i.e., ulimit should work w/ both dash and bash).
Below is an example to reproduce the bug.
file: ulimit_test.sh
#!/bin/bash
ulimit -t 1
perl -e 'while(true){}'
exit 0
sh ulimit_test.sh : expected: process is killed after 1 sec,
but w/ 2.6.28: it doesn't get killed at all -- loop forever. |
ulimit -t doesn't work as expected in kernel 2.6.28.
I think it might be some bug imcompatability w/ kernel 2.6.28 --- I want to file a bug to kernel dev group but just want to check here first. Whenever I use kernel 2.6.28 (e.g., compile my own vanilla linux source), the problem occurs. To make sure that it isn't due to my own kernel compilation and settings, I tried on the latest Ubuntu version (Jaunty, beta) w/ kernel 2.6.28 default, problem occurs again (I didn't touch the kernel of Jaunty at all, it's the stock default one).
Everything seems fine w/ kernel 2.6.27 (e.g., Intrepid or Hardy) or lower. Also note that dash / bash doesn't seem to be the problem (i.e., ulimit should work w/ both dash and bash).
Below is an example to reproduce the bug.
file: ulimit_test.sh
#!/bin/bash
ulimit -t 1
perl -e 'while(true){}'
exit 0
sh ulimit_test.sh : expected: process is killed after 1 sec,
but w/ 2.6.28: it doesn't get killed at all -- loop forever.
Update: okay it is a kernel related bug -> http://patchwork.kernel.org/patch/13605/ and a patch is being worked on. |
|
2009-04-15 19:26:47 |
Brian Murray |
affects |
ubuntu |
linux (Ubuntu) |
|
2009-04-15 23:21:54 |
Leann Ogasawara |
bug watch added |
|
http://bugzilla.kernel.org/show_bug.cgi?id=12911 |
|
2009-04-15 23:22:15 |
Leann Ogasawara |
bug task added |
|
linux (Ubuntu Jaunty) |
|
2009-04-15 23:22:37 |
Leann Ogasawara |
linux (Ubuntu Jaunty): importance |
Undecided |
Medium |
|
2009-04-15 23:22:37 |
Leann Ogasawara |
linux (Ubuntu Jaunty): status |
New |
Triaged |
|
2009-04-16 15:27:45 |
Brian Murray |
bug task added |
|
linux |
|
2009-04-16 23:25:54 |
Bug Watch Updater |
linux: status |
Unknown |
Fix Released |
|
2009-04-22 02:30:29 |
Manoj Iyer |
linux (Ubuntu Jaunty): assignee |
|
manjo |
|
2009-04-22 03:47:36 |
Manoj Iyer |
linux (Ubuntu Jaunty): status |
Triaged |
Incomplete |
|
2009-04-30 20:04:04 |
Manoj Iyer |
linux (Ubuntu Jaunty): status |
Incomplete |
Fix Committed |
|
2009-04-30 20:37:52 |
Manoj Iyer |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2009-05-01 09:49:20 |
Steve Langasek |
linux (Ubuntu): status |
Incomplete |
Triaged |
|
2009-05-01 10:12:23 |
Steve Langasek |
tags |
2.6.28 kernel ulimit |
2.6.28 kernel ulimit verification-needed |
|
2009-06-05 16:00:45 |
Manoj Iyer |
linux (Ubuntu): status |
Triaged |
Fix Committed |
|
2009-06-16 16:57:11 |
Steve Beattie |
tags |
2.6.28 kernel ulimit verification-needed |
2.6.28 kernel ulimit verification-done |
|
2009-06-18 07:18:11 |
Launchpad Janitor |
linux (Ubuntu Jaunty): status |
Fix Committed |
Fix Released |
|
2010-02-05 21:54:46 |
Jeremy Foshee |
linux (Ubuntu): status |
Fix Committed |
Fix Released |
|
2011-02-04 11:38:37 |
Bug Watch Updater |
linux: importance |
Unknown |
Medium |
|