** Description changed:

  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.

-- 
ulimit -t doesn't work in Ubuntu 09.04 (beta) 2.6.28-11-generic
https://bugs.launchpad.net/bugs/361508
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to