On Fri, Jan 29, 2010 at 9:12 AM, Minh Nguyen <nguyenmi...@gmail.com> wrote:
> Hi William,
>
> On Sat, Jan 30, 2010 at 3:58 AM, William Stein <wst...@gmail.com> wrote:
>
> <SNIP>
>
>> I ran tests on skynet 2 days ago and *also* end up with that "optimal"
>> running process sticking around.  It ended up possibly crashing
>> skynet, by the way.
>
> I have no such luck ;-)
>
> After my last doctest on skynet which crashed eno, I'm no longer able
> to ssh to eno. In some ways this can be a good thing. I have thrice
> crashed some machines on skynet while doctesting. I don't fancy having
> another doctesting session that results in a fourth crash.
>
>
>> What is this "optimal" program in Sage??????!
>>
>> I just tried to kill -9 yours... with no real luck.
>
> Me neither. I spent the better half of the last hour trying to "kill
> -9" that optimal process, but to no avail.

Did you try lsof to try to nail down what relevant resources might be
involved?  Often the kernel will not remove a process from the process
table until it frees up resources, which sometimes it can't do until
other
processes do.  Right now the line for optimal in top is:

10108 mvngu     20   0     0    0    0 R  100  0.0 281:36.96 optimal

This means that optimal is not using any memory resources at all (but
100% cpu, which is annoying).  The "R" means that there is a resource
that the kernel is waiting on before it will remove optimal from the
process table.

Given this:

r...@sage:/home/wstein# lsof -p 10108
COMMAND   PID  USER   FD      TYPE DEVICE SIZE/OFF    NODE NAME
optimal 10108 mvngu  cwd       DIR    8,1        0 1984176
/mnt/usb1/scratch/mvngu/release/sage-4.3.2.alpha0/devel/sage-main/sage/interfaces
(deleted)
optimal 10108 mvngu  rtd       DIR   8,33     4096       2 /
optimal 10108 mvngu  txt   unknown
/proc/10108/exe (readlink: No such file or directory)


I'm guessing there is something funny with how sage.math (=Ubuntu
9.10) deals with the external USB disk.   It may make sense to try
remounting that disk.    I wonder if you deleting that directory (the
sage-4.3.2.alpha0) install also confused things... but I don't know.

William

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to