Go Back > New To GIMPS? Start Here! > Information & Answers

Thread Tools
Old 2013-12-10, 14:37   #1
Nov 2012

23 Posts
Default Another mprime is already running

I have several machines where mprimes are running.
Each mprime started automatically from a start-up script in the boot sequence.

I found that the mprime shows very occasionally "Another mprime is already running!" and the mprime do not run.
I checked if duplicate processes of the mprime are running, but I did not find another process of mprime.
After it happens, I run the mprime again manually, the mprime is successfully running.
I find that it happens after accidently reboot of the system.
I see a process ID entry in local.txt. The entry has the old process ID, but it may be no problem.

I see the source code.
mprime compares i-nodes of the processes of the old PID and the running PID.
It does work well in simple systems.
My machines have multiple HDDs and multiple partitions.
The value of i-node is unique in a single file system.
Maybe, the i-node of mprime in my secondary disk conflicts to an i-node of a program in root partition.

tshinozk is offline   Reply With Quote
Old 2013-12-10, 15:38   #2
pinhodecarlos's Avatar
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

115758 Posts

Offtopic. Are you the Seventeen or Bust top Producer?
pinhodecarlos is offline   Reply With Quote
Old 2013-12-10, 16:07   #3
P90 years forever!
Prime95's Avatar
Aug 2002
Yeehaw, FL

2·5·769 Posts

In the next release I'll check that filedata.st_dev also matches.
Prime95 is offline   Reply With Quote
Old 2013-12-10, 16:26   #4
P90 years forever!
Prime95's Avatar
Aug 2002
Yeehaw, FL

2·5·769 Posts

The problem may be due to inode being defined as 32-bits (at compile time) where your filesystem is 64-bits.

Can a Linux expert look at the code and recommend the most portable way to use fstat -- keeping in mind that the source code is used to build both 32-bit and 64-bit executables?
Prime95 is offline   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI for Mprime/running Prime95 under WINE? ixfd64 Software 5 2011-02-16 15:21
Running mprime on fedora jimmychauck Information & Answers 1 2010-06-16 04:42
adding a computer running mprime Unregistered Information & Answers 14 2009-02-16 14:01
mprime is running but i dont see that mhnaras Linux 2 2007-10-21 15:58
running mprime on a computer I do not own happyraul Software 4 2004-05-06 15:54

All times are UTC. The time now is 13:06.

Tue Dec 7 13:06:34 UTC 2021 up 137 days, 7:35, 0 users, load averages: 1.35, 1.48, 1.58

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.