Thread 'Error: Can't acquire lockfile'

Message boards : Number crunching : Error: Can't acquire lockfile
Message board moderation

To post messages, you must log in.

AuthorMessage
Dr Who Fan

Send message
Joined: 30 Dec 24
Posts: 23
Credit: 205,407
RAC: 1,340
Message 106 - Posted: 31 Jan 2025, 22:50:05 UTC

I have 2 new tasks that error out with message:
194 (0x000000C2) EXIT_ABORTED_BY_CLIENT
Task 331962
Stderr output
<core_client_version>7.16.20</core_client_version>
<![CDATA[
<message>
Process still present 5 min after writing finish file; aborting</message>
<stderr_txt>

Starting child process 'gp' and waiting until child process exits.

Process parameters:
 Command line : gp.exe spt.txt
Process gp started.
**********begingp*************
18:12:14 (6768): Can't acquire lockfile (32) - waiting 35s
18:12:49 (6768): Can't acquire lockfile (32) - exiting
18:12:49 (6768): Error: The process cannot access the file because it is being used by another process.

 (0x20)
1101201561090
1101201561099
end 
*****
**********closegp*************
Process gp finished.
Child process gp.exe finished.
Program completed.
18:55:48 (5232): called boinc_finish(0)

Starting child process 'gp' and waiting until child process exits.

Process parameters:
 Command line : gp.exe spt.txt
Process gp started.
**********begingp*************

</stderr_txt>
]]>


Task 332215
Stderr output
<core_client_version>7.16.20</core_client_version>
<![CDATA[
<message>
[b]Process still present 5 min after writing finish file; aborting</message>
<stderr_txt>

Starting child process 'gp' and waiting until child process exits.

Process parameters:
 Command line : gp.exe spt.txt
Process gp started.
**********begingp*************
18:12:14 (5088): Can't acquire lockfile (32) - waiting 35s
18:12:49 (5088): Can't acquire lockfile (32) - exiting
18:12:49 (5088): Error: The process cannot access the file because it is being used by another process.

 (0x20)
1101201544670
1101201544679
end 
*****
**********closegp*************
Process gp finished.
Child process gp.exe finished.
Program completed.
19:20:45 (2144): called boinc_finish(0)

Starting child process 'gp' and waiting until child process exits.

Process parameters:
 Command line : gp.exe spt.txt
Process gp started.
**********begingp*************

</stderr_txt>
]]>
ID: 106 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
termit
Project administrator
Project tester
Volunteer tester

Send message
Joined: 18 Dec 24
Posts: 15
Credit: 97,769
RAC: 0
Message 110 - Posted: 3 Feb 2025, 21:37:20 UTC - in response to Message 106.  

Good day.

I don't get this error from other users. Maybe you could update boinc client?
ID: 110 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Dr Who Fan

Send message
Joined: 30 Dec 24
Posts: 23
Credit: 205,407
RAC: 1,340
Message 122 - Posted: 4 Feb 2025, 21:27:37 UTC - in response to Message 110.  

Good day.

I don't get this error from other users. Maybe you could update boinc client?

That's the latest BOINC version that will install or work on that computer.

This error has nothing to do with the version of BOINC client but with the science application from your project and it only happened this one time, so a possible glitch where your project task had not closed or clean out a previous runtime in that slot but BOINC had no way of knowing the slot was still occupied running. Have seen similar trouble with you sister project SPT where a task never releases the running tasks...
ID: 122 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileNatalia Makarova
Volunteer moderator
Project scientist
Avatar

Send message
Joined: 24 Dec 24
Posts: 257
Credit: 4,965,744
RAC: 30,859
Message 123 - Posted: 4 Feb 2025, 23:56:30 UTC
Last modified: 4 Feb 2025, 23:57:46 UTC

I have 2 new tasks that error out with message:

I assume that these errors are related to the gp.exe program
I may be wrong.

Have seen similar trouble with you sister project SPT where a task never releases the running tasks...

But is no gp.exe program in the SPT project!

Could you remind of a similar error message in the SPT project?
ID: 123 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileNatalia Makarova
Volunteer moderator
Project scientist
Avatar

Send message
Joined: 24 Dec 24
Posts: 257
Credit: 4,965,744
RAC: 30,859
Message 124 - Posted: 5 Feb 2025, 0:06:20 UTC
Last modified: 5 Feb 2025, 0:06:38 UTC

Process parameters:
Command line : gp.exe spt.txt
Process gp started.
**********begingp*************
18:12:14 (6768): Can't acquire lockfile (32) - waiting 35s
18:12:49 (6768): Can't acquire lockfile (32) - exiting
18:12:49 (6768): Error: The process cannot access the file because it is being used by another process.

This message
Error: The process cannot access the file because it is being used by another process.

often appears for me in manual mode when I work with the gp.exe program.

Yes, this program denies access to the file if it is currently occupied by this program.
ID: 124 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Error: Can't acquire lockfile

©2025 Natalia Makarova and Co