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

33·239 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·3·7·271 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 02:40.


Sun Jul 3 02:40:37 UTC 2022 up 80 days, 41 mins, 0 users, load averages: 1.33, 1.24, 1.21

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

โ‰  ยฑ โˆ“ รท ร— ยท โˆ’ โˆš โ€ฐ โŠ— โŠ• โŠ– โŠ˜ โŠ™ โ‰ค โ‰ฅ โ‰ฆ โ‰ง โ‰จ โ‰ฉ โ‰บ โ‰ป โ‰ผ โ‰ฝ โŠ โŠ โŠ‘ โŠ’ ยฒ ยณ ยฐ
โˆ  โˆŸ ยฐ โ‰… ~ โ€– โŸ‚ โซ›
โ‰ก โ‰œ โ‰ˆ โˆ โˆž โ‰ช โ‰ซ โŒŠโŒ‹ โŒˆโŒ‰ โˆ˜ โˆ โˆ โˆ‘ โˆง โˆจ โˆฉ โˆช โจ€ โŠ• โŠ— ๐–• ๐–– ๐–— โŠฒ โŠณ
โˆ… โˆ– โˆ โ†ฆ โ†ฃ โˆฉ โˆช โŠ† โŠ‚ โŠ„ โŠŠ โŠ‡ โŠƒ โŠ… โŠ‹ โŠ– โˆˆ โˆ‰ โˆ‹ โˆŒ โ„• โ„ค โ„š โ„ โ„‚ โ„ต โ„ถ โ„ท โ„ธ ๐“Ÿ
ยฌ โˆจ โˆง โŠ• โ†’ โ† โ‡’ โ‡ โ‡” โˆ€ โˆƒ โˆ„ โˆด โˆต โŠค โŠฅ โŠข โŠจ โซค โŠฃ โ€ฆ โ‹ฏ โ‹ฎ โ‹ฐ โ‹ฑ
โˆซ โˆฌ โˆญ โˆฎ โˆฏ โˆฐ โˆ‡ โˆ† ฮด โˆ‚ โ„ฑ โ„’ โ„“
๐›ข๐›ผ ๐›ฃ๐›ฝ ๐›ค๐›พ ๐›ฅ๐›ฟ ๐›ฆ๐œ€๐œ– ๐›ง๐œ ๐›จ๐œ‚ ๐›ฉ๐œƒ๐œ— ๐›ช๐œ„ ๐›ซ๐œ… ๐›ฌ๐œ† ๐›ญ๐œ‡ ๐›ฎ๐œˆ ๐›ฏ๐œ‰ ๐›ฐ๐œŠ ๐›ฑ๐œ‹ ๐›ฒ๐œŒ ๐›ด๐œŽ๐œ ๐›ต๐œ ๐›ถ๐œ ๐›ท๐œ™๐œ‘ ๐›ธ๐œ’ ๐›น๐œ“ ๐›บ๐œ”