mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2011-01-19, 00:03   #1
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

23·11·73 Posts
Default Utterly surreal OS bug

Code:
nfsslave2@cow:/home/nfsworld/2+956/linalg$ ps -L 11743
  PID   LWP TTY      STAT   TIME COMMAND
11743 11743 ?        Rl   9645:56 ../../msieve-svn/trunk/msieve-td130 -v -nc -t 4
11743 21509 ?        Rl   8653:20 ../../msieve-svn/trunk/msieve-td130 -v -nc -t 4
11743 21510 ?        Rl   9014:08 ../../msieve-svn/trunk/msieve-td130 -v -nc -t 4
11743 21515 ?        Rl   9043:40 ../../msieve-svn/trunk/msieve-td130 -v -nc -t 4
nfsslave2@cow:/home/nfsworld/2+956/linalg$ ps 11743
  PID TTY      STAT   TIME COMMAND
11743 ?        Rl   24260266:53 ../../msieve-svn/trunk/msieve-td130 -v -nc -t 4
(and whilst the times reported by -L go up at a rate of about one minute per minute, the one reported by 'ps' on its own stays at that ridiculous value)

I don't think I need to do anything about this, but it's most peculiar. Process 11743 also doesn't appear in 'top'.
fivemack is offline   Reply With Quote
Old 2011-01-19, 07:42   #2
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

2·5,393 Posts
Default

Quote:
Originally Posted by fivemack View Post
Code:
nfsslave2@cow:/home/nfsworld/2+956/linalg$ ps -L 11743
  PID   LWP TTY      STAT   TIME COMMAND
11743 11743 ?        Rl   9645:56 ../../msieve-svn/trunk/msieve-td130 -v -nc -t 4
11743 21509 ?        Rl   8653:20 ../../msieve-svn/trunk/msieve-td130 -v -nc -t 4
11743 21510 ?        Rl   9014:08 ../../msieve-svn/trunk/msieve-td130 -v -nc -t 4
11743 21515 ?        Rl   9043:40 ../../msieve-svn/trunk/msieve-td130 -v -nc -t 4
nfsslave2@cow:/home/nfsworld/2+956/linalg$ ps 11743
  PID TTY      STAT   TIME COMMAND
11743 ?        Rl   24260266:53 ../../msieve-svn/trunk/msieve-td130 -v -nc -t 4
(and whilst the times reported by -L go up at a rate of about one minute per minute, the one reported by 'ps' on its own stays at that ridiculous value)

I don't think I need to do anything about this, but it's most peculiar. Process 11743 also doesn't appear in 'top'.
I saw exactly the same thing when doing the LA for a c178 recently. I believe that the author of top(1) didn't expect a single process to clock up so much time and a variable overflowed. I'm almost, but not quite, tempted to check the source of top(1) to find out. The underlying bug is, presumably, in the code that implements the /proc/*/stat interface.


Paul

Last fiddled with by xilman on 2011-01-19 at 07:45
xilman is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 22:45.


Fri Aug 6 22:45:09 UTC 2021 up 14 days, 17:14, 1 user, load averages: 4.41, 4.23, 3.83

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.