Message boards : BOINC client : Error: Can't rename client_state_next.xml
Message board moderation
Author | Message |
---|---|
Send message Joined: 14 Feb 06 Posts: 139 ![]() |
(This is with version 5.9.11, on OSX 10.4.9. Running S@H, using alexkan's optimized application) I regularly have BOINC lock up. During the lock up, CPU usage drops to 0. After about a minute, it resumes with the following error message. Upon resuming, the tasks continue to crunch until complete like normal. FWIW, it does not cause the tasks to abort, or cause validation errors. Tue May 22 09:43:47 2007||Can't rename client_state_next.xml to client_state.xml; check file and directory permissions Tue May 22 09:43:47 2007||[error] Couldn't write state file: system rename Tue May 22 09:44:47 2007|SETI@home|Task 05mr05aa.16368.15714.348568.3.118_6 exited with zero status but no 'finished' file Tue May 22 09:44:47 2007|SETI@home|If this happens repeatedly you may need to reset the project. The last two lines are repeated, once for each task running (8 times total for my machine). The permissions look correct to me. I have tried resetting with no luck. Any ideas? [hulk:/Library/Application Support/BOINC Data] zombie% ls -la total 17720 drwxrwxr-x 32 boinc_ma boinc_ma 1088 May 22 09:50 . drwxrwxr-x 20 root admin 680 May 12 15:17 .. -rw-rw-r-- 1 boinc_ma boinc_ma 12292 May 14 16:49 .DS_Store -rw-rw-r-- 1 boinc_ma boinc_ma 2097 May 22 08:09 account_setiathome.berkeley.edu.xml -rw-rw-r-- 1 boinc_ma boinc_ma 13959 May 18 07:19 all_projects_list.xml -rw-rw-r-- 1 boinc_ma boinc_ma 238100 Apr 26 02:24 ca-bundle.crt -rw-rw-r-- 1 boinc_ma boinc_ma 1622746 May 22 09:50 client_state.xml -rw-rw-r-- 1 boinc_ma boinc_ma 1622746 May 22 09:49 client_state_prev.xml -rw-rw-r-- 1 boinc_ma boinc_ma 260 May 17 14:42 get_project_config.xml -rw-rw-r-- 1 boinc_ma boinc_ma 2037 May 21 12:16 global_prefs.xml -rw-rw---- 1 boinc_ma boinc_ma 32 May 12 15:18 gui_rpc_auth.cfg -rw-rw-r-- 1 boinc_ma boinc_ma 14701 May 18 07:25 job_log_abcbeta.math.leidenuniv.nl.txt -rw-rw-r-- 1 boinc_ma boinc_ma 186 May 14 09:44 job_log_boinc.bakerlab.org_rosetta.txt -rw-rw-r-- 1 boinc_ma boinc_ma 8133 May 18 08:23 job_log_dist.ist.tugraz.at_cape5.txt -rw-rw-r-- 1 boinc_ma boinc_ma 141525 May 22 09:45 job_log_setiathome.berkeley.edu.txt dr-xr-x--- 38 boinc_ma boinc_ma 1292 May 8 23:25 locale -rw-rw-r-- 1 boinc_ma boinc_ma 0 May 12 15:18 lockfile -rw-rw-r-- 1 boinc_ma boinc_ma 139 May 17 14:42 lookup_account.xml -rw-rw-r-- 1 boinc_ma boinc_ma 5964 May 22 09:45 lookup_website.html -rw-rw-r-- 1 boinc_ma boinc_ma 69 May 18 04:49 master_setiathome.berkeley.edu.xml drwxrwxr-x 4 boinc_ma boinc_ma 136 May 18 08:25 projects -rw-rw-r-- 1 boinc_ma boinc_ma 5395 May 22 08:47 sched_reply_setiathome.berkeley.edu.xml -rw-rw-r-- 1 boinc_ma boinc_ma 249360 May 22 08:47 sched_request_setiathome.berkeley.edu.xml drwxrwxr-x 19 boinc_ma boinc_ma 646 May 22 08:16 slots -rw-rw-r-- 1 boinc_ma boinc_ma 3723 May 22 08:48 statistics_setiathome.berkeley.edu.xml -rw-rw-r-- 1 boinc_ma boinc_ma 0 May 12 15:18 stderrdae.txt -rw-rw-r-- 1 boinc_ma boinc_ma 2180603 May 22 08:08 stderrgui.txt -rw-rw-r-- 1 boinc_ma boinc_ma 2097163 May 21 07:43 stdoutdae.old -rw-rw-r-- 1 boinc_ma boinc_ma 781017 May 22 09:47 stdoutdae.txt -rw-rw-r-- 1 boinc_ma boinc_ma 268 May 22 06:23 stdoutgui.txt dr-xr-x--- 4 boinc_ma boinc_ma 136 May 18 08:05 switcher -rw-rw-r-- 1 boinc_ma boinc_ma 4862 May 22 08:08 time_stats_log Reno, NV Team: SETI.USA ![]() |
![]() Send message Joined: 29 Aug 05 Posts: 15632 ![]() |
Reported to Charlie Fenton. |
Send message Joined: 17 Jul 06 Posts: 287 ![]() |
Thank you for your report. David Anderson has made a change which we hope will fix this. Please try this again after 5.9.12 is released and let us know if the problem persists. Charlie Fenton BOINC / SETI@home Macintosh & Windows Programmer |
Send message Joined: 14 Feb 06 Posts: 139 ![]() |
Thank you for your report. David Anderson has made a change which we hope will fix this. Please try this again after 5.9.12 is released and let us know if the problem persists. Thanks! Will do. Reno, NV Team: SETI.USA ![]() |
Send message Joined: 14 Feb 06 Posts: 139 ![]() |
Thank you for your report. David Anderson has made a change which we hope will fix this. Please try this again after 5.9.12 is released and let us know if the problem persists. 5.9.12 is not out for the Mac yet, but the change log does not mention this fix. Did it really make it into 5.9.12? http://boinc.berkeley.edu/dev/forum_thread.php?id=1668&nowrap=true#10442 Reno, NV Team: SETI.USA ![]() |
![]() Send message Joined: 29 Aug 05 Posts: 15632 ![]() |
It's in the source code changes, http://boinc.berkeley.edu/trac/changeset/12720 and well before 5.9.12 came out, so it should be in there. Charlie will probably release the Mac client later today. |
![]() ![]() Send message Joined: 30 Oct 05 Posts: 1239 ![]() |
Mac client was released a few minutes ago. Kathryn :o) |
Send message Joined: 14 Feb 06 Posts: 139 ![]() |
It doesn't look like the fix worked... But now I am beginning to think there are two different problems, maybe not related. 1) BOINC periodically locking up for about a minute at a time. Haven't seen this happen with 5.9.12 yet. But I have only been running it for a little while. 2) "Can't rename client_state_next.xml to client_state.xml" Wed May 23 18:50:43 2007||Starting BOINC client version 5.9.12 for i686-apple-darwin Wed May 23 18:50:43 2007||log flags: task, file_xfer, sched_ops Wed May 23 18:50:43 2007||Libraries: libcurl/7.16.1 OpenSSL/0.9.7l zlib/1.2.3 Wed May 23 18:50:43 2007||Data directory: /Library/Application Support/BOINC Data Wed May 23 18:50:43 2007|SETI@home|Found app_info.xml; using anonymous platform Wed May 23 18:50:44 2007||Processor: 8 GenuineIntel Intel(R) Xeon(R) CPU X5365 @ 3.00GHz [x86 Family 6 Model 15 Stepping 7] Wed May 23 18:50:44 2007||Processor features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL VMX EST TM2 MNI CX16 TPR Wed May 23 18:50:44 2007||Memory: 4.00 GB physical, 628.77 GB virtual Wed May 23 18:50:44 2007||Disk: 698.32 GB total, 628.52 GB free Wed May 23 18:50:44 2007||Version change (5.9.11 -> 5.9.12) Wed May 23 18:50:44 2007|SETI@home|URL: http://setiathome.berkeley.edu/; Computer ID: 3360245; location: work; project prefs: default Wed May 23 18:50:44 2007||General prefs: from http://www.worldcommunitygrid.org/ (last modified 2007-05-20 21:24:06) Wed May 23 18:50:44 2007||Host location: work Wed May 23 18:50:44 2007||General prefs: using separate prefs for work Wed May 23 18:50:44 2007||Preferences limit memory usage when active to 4055.04MB Wed May 23 18:50:44 2007||Preferences limit memory usage when idle to 4055.04MB Wed May 23 18:50:44 2007||Preferences limit disk usage to 93.13GB Wed May 23 18:50:44 2007||Running CPU benchmarks Wed May 23 18:51:45 2007||Benchmark results: Wed May 23 18:51:45 2007|| Number of CPUs: 8 Wed May 23 18:51:45 2007|| 2434 floating point MIPS (Whetstone) per CPU Wed May 23 18:51:45 2007|| 6777 integer MIPS (Dhrystone) per CPU Wed May 23 18:51:46 2007|SETI@home|Restarting task 16ja05ab.25838.11154.586070.3.134_2 using setiathome_enhanced version 513 Wed May 23 18:51:46 2007|SETI@home|Restarting task 18mr05aa.11342.17728.990892.3.112_0 using setiathome_enhanced version 513 Wed May 23 18:51:46 2007|SETI@home|Restarting task 27fe05aa.20439.24976.884652.3.1_0 using setiathome_enhanced version 513 Wed May 23 18:51:46 2007|SETI@home|Restarting task 27fe05aa.20439.22530.117328.3.32_0 using setiathome_enhanced version 513 Wed May 23 18:51:46 2007|SETI@home|Restarting task 27fe05aa.20439.24976.884652.3.132_1 using setiathome_enhanced version 513 Wed May 23 18:51:46 2007|SETI@home|Restarting task 27fe05aa.20439.24976.884652.3.108_0 using setiathome_enhanced version 513 Wed May 23 18:51:46 2007|SETI@home|Restarting task 27fe05aa.20439.24976.884652.3.109_0 using setiathome_enhanced version 513 Wed May 23 18:51:46 2007|SETI@home|Restarting task 27fe05aa.20439.24976.884652.3.238_0 using setiathome_enhanced version 513 Wed May 23 18:52:04 2007|SETI@home|Sending scheduler request: Requested by user Wed May 23 18:52:04 2007|SETI@home|Reporting 7 tasks Wed May 23 18:52:25 2007|SETI@home|Scheduler RPC succeeded [server version 509] Wed May 23 18:52:25 2007|SETI@home|Deferring communication for 11 sec Wed May 23 18:52:25 2007|SETI@home|Reason: requested by project Wed May 23 19:04:36 2007|SETI@home|Computation for task 16ja05ab.25838.11154.586070.3.134_2 finished Wed May 23 19:04:36 2007|SETI@home|Starting 27fe05aa.20439.24976.884652.3.233_0 Wed May 23 19:04:37 2007|SETI@home|Starting task 27fe05aa.20439.24976.884652.3.233_0 using setiathome_enhanced version 513 Wed May 23 19:04:39 2007|SETI@home|[file_xfer] Started upload of file 16ja05ab.25838.11154.586070.3.134_2_0 Wed May 23 19:04:41 2007|SETI@home|[file_xfer] Finished upload of file 16ja05ab.25838.11154.586070.3.134_2_0 Wed May 23 19:04:41 2007|SETI@home|[file_xfer] Throughput 29322 bytes/sec Wed May 23 19:08:42 2007|SETI@home|Sending scheduler request: Requested by user Wed May 23 19:08:42 2007|SETI@home|Reporting 1 tasks Wed May 23 19:09:02 2007|SETI@home|Scheduler RPC succeeded [server version 509] Wed May 23 19:09:02 2007|SETI@home|Deferring communication for 11 sec Wed May 23 19:09:02 2007|SETI@home|Reason: requested by project Wed May 23 19:14:18 2007|SETI@home|Computation for task 18mr05aa.11342.17728.990892.3.112_0 finished Wed May 23 19:14:18 2007|SETI@home|Starting 27fe05aa.20439.24976.884652.3.244_2 Wed May 23 19:14:18 2007|SETI@home|Starting task 27fe05aa.20439.24976.884652.3.244_2 using setiathome_enhanced version 513 Wed May 23 19:14:20 2007|SETI@home|[file_xfer] Started upload of file 18mr05aa.11342.17728.990892.3.112_0_0 Wed May 23 19:14:23 2007|SETI@home|[file_xfer] Finished upload of file 18mr05aa.11342.17728.990892.3.112_0_0 Wed May 23 19:14:23 2007|SETI@home|[file_xfer] Throughput 36473 bytes/sec Wed May 23 19:17:58 2007||Can't rename client_state_next.xml to client_state.xml; check file and directory permissions Wed May 23 19:17:58 2007||[error] Couldn't write state file: system rename Wed May 23 19:27:51 2007|SETI@home|Computation for task 27fe05aa.20439.24976.884652.3.1_0 finished Wed May 23 19:27:51 2007|SETI@home|Starting 16ja05ab.25838.15234.517322.3.89_1 Wed May 23 19:27:51 2007|SETI@home|Starting task 16ja05ab.25838.15234.517322.3.89_1 using setiathome_enhanced version 513 Wed May 23 19:27:53 2007|SETI@home|[file_xfer] Started upload of file 27fe05aa.20439.24976.884652.3.1_0_0 Wed May 23 19:27:57 2007|SETI@home|[file_xfer] Finished upload of file 27fe05aa.20439.24976.884652.3.1_0_0 Wed May 23 19:27:57 2007|SETI@home|[file_xfer] Throughput 7808 bytes/sec Wed May 23 19:31:01 2007||Can't rename client_state_next.xml to client_state.xml; check file and directory permissions Wed May 23 19:31:01 2007||[error] Couldn't write state file: system rename Reno, NV Team: SETI.USA ![]() |
![]() Send message Joined: 29 Aug 05 Posts: 15632 ![]() |
I'll make a Trac ticket of this problem later on. (a. after my job interview b. when I can see something on my monitor as the sun is shining directly in this room and not even squinting helps ;)) See http://boinc.berkeley.edu/trac/ticket/205 |
Send message Joined: 14 Feb 06 Posts: 139 ![]() |
Thanks! Half a day later, and still no locking up with the "Task 05mr05aa.16368.15714.348568.3.118_6 exited with zero status but no 'finished' file" messages. However, the "Can't rename client_state_next.xml to client_state.xml; check file and directory permissions" continues to happen frequently. Sometimes every few minutes, sometimes as far apart as an hour. Reno, NV Team: SETI.USA ![]() |
Send message Joined: 14 Feb 06 Posts: 139 ![]() |
Thanks! Still no change. First problem is gone, second still here. Reno, NV Team: SETI.USA ![]() |
Send message Joined: 17 Jul 06 Posts: 287 ![]() |
Still no change. First problem is gone, second still here. I asked David Anderson to look into this. He wrote: In 5.9.12 I added code that retries the rename The only thing I can think of at this point is to try running with the standard SETI@home application and see if the problem persists. That will tell us if it is somehow associated with running the optimized version. Charlie Fenton BOINC / SETI@home Macintosh & Windows Programmer |
Send message Joined: 14 Feb 06 Posts: 139 ![]() |
The only thing I can think of at this point is to try running with the standard SETI@home application and see if the problem persists. That will tell us if it is somehow associated with running the optimized version. Thanks. I'll give it a shot in a few weeks. I am currently in the middle of benchmarking the optimized application. Reno, NV Team: SETI.USA ![]() |
Send message Joined: 14 Feb 06 Posts: 139 ![]() |
I have detached from S@H, the setiathome.berkeley.edu folder is empty, yet I am still getting this: Mon Jul 9 22:34:30 2007||Can't rename client_state_next.xml to client_state.xml; check file and directory permissions Mon Jul 9 22:34:30 2007||[error] Couldn't write state file: system rename The problem is not with alexkan's optimized application. Reno, NV Team: SETI.USA ![]() |
Send message Joined: 17 Jul 06 Posts: 287 ![]() |
The problem is not with alexkan's optimized application. I also see this message occasionally. I've put some debugging statements into the code, but have not yet figured out what's causing this. Since it happens only occasionally, debugging this is a slow process. But I'm still working on it. Cheers, --Charlie Charlie Fenton BOINC / SETI@home Macintosh & Windows Programmer |
Send message Joined: 14 Feb 06 Posts: 139 ![]() |
Thanks. I just didn't want people thinking this was due to alexkan's app., which is where it was left back at the beginning of june. Reno, NV Team: SETI.USA ![]() |
Copyright © 2025 University of California.
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.