Howto: Dealing With 0x1 Error
Message boards : Unix/Linux : Howto: Dealing With 0x1 Error
Author | Message | |
---|---|---|
Hello,
The solution to your problem, and to nearly all testers using Linux on this project has been to(space lines added and made bold by me. thanks conan:) Please make sure that this issue won't be solved until the next version of charmm is published. Also, please let us know if you couldn't solve the issue by doing in that way. Add: there's thought to be several distributions that don't work with this option. Thanks for reading, suguruhirahara ____________ I'm a volunteer participant; my views are not necessarily those of Docking@Home or its participating institutions. |
||
ID: 1441 | Rating: 0 | rate: / | ||
Thanks Suguru,
|
||
ID: 1448 | Rating: 0 | rate: / | ||
Thanks for letting us know the point, Andre:)
|
||
ID: 1461 | Rating: 0 | rate: / | ||
Thanks for letting us know the point, Andre:) >> @ suguruhirahara, thanks for your words above. I noticed in the "Distro Questionaire" thread (near the end), that Cold Shot added some more information on Ubuntu linux that will help other Linux users. It shows that not all Linux's are equal or the same. ____________ |
||
ID: 1472 | Rating: 0 | rate: / | ||
Done. People should look at the FAQ too where this issue is mentioned.
Thanks for letting us know the point, Andre:) ____________ D@H the greatest project in the world... a while from now! |
||
ID: 1485 | Rating: 0 | rate: / | ||
On Ubuntu you have to add the command in the "run_manager" file, simply entering it in the terminal doesn't fix the problem. |
||
ID: 1894 | Rating: 0 | rate: / | ||
On Ubuntu you have to add the command in the "run_manager" file, simply entering it in the terminal doesn't fix the problem. Shouldn't you also put it in the "run_client" file? |
||
ID: 1898 | Rating: 0 | rate: / | ||
I understand that that is only necessary for multi-core/processor machines.
____________ D@H the greatest project in the world... a while from now! |
||
ID: 1900 | Rating: 0 | rate: / | ||
I understand that that is only necessary for multi-core/processor machines. I don't run any of my machines with the "run_manager" routinely. I avoid the overhead of the manager by using the "run_client". |
||
ID: 1901 | Rating: 1 | rate: / | ||
On Ubuntu you have to add the command in the "run_manager" file, simply entering it in the terminal doesn't fix the problem. It depends on how you start the client. If you only use one way then that is the only one you need to modify. I have only changed the "run_client" file since the client is already running whenever I use the manager. ____________ BOINC WIKI BOINCing since 2002/12/8 |
||
ID: 1905 | Rating: 0 | rate: / | ||
On Ubuntu you have to add the command in the "run_manager" file, simply entering it in the terminal doesn't fix the problem. Exactly. I modified both, so I'm covered either way. |
||
ID: 1906 | Rating: 0 | rate: / | ||
Because i didnt find it in these threads.
|
||
ID: 1955 | Rating: 0 | rate: / | ||
Thanks for that info! (I've added it to the FAQ too)
Because i didnt find it in these threads. ____________ D@H the greatest project in the world... a while from now! |
||
ID: 1962 | Rating: 0 | rate: / | ||
I think this applies to most if not all debian systems.
|
||
ID: 2021 | Rating: 0 | rate: / | ||
Hello, I converted a computer (1348) to Ubuntu 6.10. the "unlimit -s unlimited" is in the run_client and run_manager, but it still errors. The computer ran D@H with no problems under W2K and runs Tanpaku and Malaria under the Linux install with no problems. I'm going to wipe the disk and do a fresh Linux install to see if that fixes the issue. |
||
ID: 2173 | Rating: 0 | rate: / | ||
I converted a computer (1348) to Ubuntu 6.10. the "unlimit -s unlimited" is in the run_client and run_manager, but it still errors. How did you install BOINC? From the Ubuntu repository or by getting the client from Berkeley's site? If from the Ubuntu repository you need to edit the /etc/init.d/boinc-client file for "ulimit -s unlimited" to work properly. |
||
ID: 2179 | Rating: 0 | rate: / | ||
I converted a computer (1348) to Ubuntu 6.10. the "unlimit -s unlimited" is in the run_client and run_manager, but it still errors. Installed from Berkeley's URL. Re-installing as I type. |
||
ID: 2181 | Rating: 0 | rate: / | ||
Fresh Linux install worked.....now is 1358.
|
||
ID: 2197 | Rating: 0 | rate: / | ||
Is a new application for linux fixing this already in developement? Any update on progress?
|
||
ID: 2292 | Rating: 0 | rate: / | ||
Is a new application for linux fixing this already in developement? Any update on progress? > Tom could there be something specific with Ubuntu 6.10 ? Such as some setting not configured? I use Linux Fedora Core 3 on 2 computers (both AMD Opterons) and have not had this issue (I run Rosetta, Einstein, CPDN, Ralph, QMC, Docking, Predictor and LHC on these 2 machines). As my machines are dual core I had to add the 'ulimit' fix to both 'run_manager' and to 'run_client', otherwise it did not work. Conan. ____________ |
||
ID: 2295 | Rating: 0 | rate: / | ||
Can't say that I've noticed this either. I have had issues with 5.8.x clients and Rosetta (and WCG) though.
|
||
ID: 2302 | Rating: 0 | rate: / | ||
No unfortunately, no server-side solution yet; we've tried a couple of things already, but none worked without the ulimit workaround.
Is a new application for linux fixing this already in developement? Any update on progress? ____________ D@H the greatest project in the world... a while from now! |
||
ID: 2306 | Rating: 0 | rate: / | ||
Where do you set the ulimit -s unlimited when using Gentoo Linux? I don't have any run_manager or run_client, Gentoo uses /etc/init.d/boinc to start/stop Boinc. I guess it's a script but have no idea where to put the ulimit code. I've tried writing it directly in the boinc script, without success.
|
||
ID: 2422 | Rating: 0 | rate: / | ||
Any other Gentoo users here who can help me? See http://boinc.berkeley.edu/dev/forum_thread.php?id=703&nowrap=true#7813 . HTH ____________ |
||
ID: 2425 | Rating: 0 | rate: / | ||
I can't get this to work at all - setting ulimit -s unlimited on the command line as super user works, though only for a short time. When I run ulimit -s a few minutes later, it's back to the initial 8192... Causing all work units to error out.
|
||
ID: 2430 | Rating: 0 | rate: / | ||
OK, I think I solved this myself: adding the ulimit code in /root/.bashrc seems to have solved it; one workunit has run for 1.5 hours now, without erroring out. |
||
ID: 2431 | Rating: 0 | rate: / | ||
And then the error came... this time the work unit crunched for almost 2 hours before erroring out. Ulimit now stays at unlimited, but it still hasn't helped. I've now put this project on standby on all Linux machines, until I get it fixed.
|
||
ID: 2432 | Rating: 0 | rate: / | ||
As an experiment, could you run boinc under the root user? Just remove the 'su ${BOINC_USER} -c ' part of the start line.
And then the error came... this time the work unit crunched for almost 2 hours before erroring out. Ulimit now stays at unlimited, but it still hasn't helped. I've now put this project on standby on all Linux machines, until I get it fixed. ____________ D@H the greatest project in the world... a while from now! |
||
ID: 2433 | Rating: 0 | rate: / | ||
Finally it works! The solution was indeed to put the code in the start script, which runs as user "boinc". I did do this before but thought it didn't work because running ulimit -s showed 8192 as both root and normal user.
|
||
ID: 2448 | Rating: 0 | rate: / | ||
It's probably more than a workaround than a real solution, but at least it works :-)
Finally it works! The solution was indeed to put the code in the start script, which runs as user "boinc". I did do this before but thought it didn't work because running ulimit -s showed 8192 as both root and normal user. ____________ D@H the greatest project in the world... a while from now! |
||
ID: 2450 | Rating: 0 | rate: / | ||
The new 5.8.11 client seems to allow the ulimit command to work again on my FC6 host.
|
||
ID: 2467 | Rating: 0 | rate: / | ||
Is the ulimit command still required?
|
||
ID: 2473 | Rating: 0 | rate: / | ||
Is the ulimit command still required? As the news in yesterday shows that issue was fixed in the version. As I didn't try it on linux I'm not fully sure, but probably so. ____________ I'm a volunteer participant; my views are not necessarily those of Docking@Home or its participating institutions. |
||
ID: 2474 | Rating: 0 | rate: / | ||
I decided to play it safe for now and upgraded my little farm to 5.8.11 and put the ulimit fix into all of them just in case lol
|
||
ID: 2475 | Rating: 0 | rate: / | ||
Is the ulimit command still required? I took "ulimit" out of the script. D@H crashed the WU in 23 minutes. |
||
ID: 2477 | Rating: 0 | rate: / | ||
Before or after removing ulimit? |
||
ID: 2478 | Rating: 0 | rate: / | ||
After. Suspended all processes, removed "ulimit" from script, restarted processes. D@H crashed. Suspended all processes, put "ulimit" back in script, restarted processes. Haven't got another D@H WU yet. |
||
ID: 2480 | Rating: 0 | rate: / | ||
Allright, then, we need to add ulimit option in the files yet.
|
||
ID: 2481 | Rating: 0 | rate: / | ||
Allright, then, we need to add ulimit option in the files yet. Each new version (Linux) of BOINC seems to wipe out the old scripts and install a new blank. Can you ask the devel team to only install blank scripts if no previous scripts exist? |
||
ID: 2482 | Rating: 0 | rate: / | ||
Correct. We still haven't found a served-side solution for this. To go to beta phase, we will need a solution though, so if anybody has any bright ideas.. :-)
Allright, then, we need to add ulimit option in the files yet. ____________ D@H the greatest project in the world... a while from now! |
||
ID: 2492 | Rating: 0 | rate: / | ||
Good to see you back Suguru! Haven't seen you for a while.
Allright, then, we need to add ulimit option in the files yet. ____________ D@H the greatest project in the world... a while from now! |
||
ID: 2493 | Rating: 0 | rate: / | ||
Good to see you back Suguru! Haven't seen you for a while. Yeah, I'm busier in my regular occupation. I've visited boards anyway;-) ____________ I'm a volunteer participant; my views are not necessarily those of Docking@Home or its participating institutions. |
||
ID: 2494 | Rating: 0 | rate: / | ||
|
||
ID: 2496 | Rating: 0 | rate: / | ||
Hi all,
____________ D@H the greatest project in the world... a while from now! |
||
ID: 2584 | Rating: 0 | rate: / | ||
Hi all, Does this make having the ulimit in the script a problem now or we just don't have to use it in the future? |
||
ID: 2589 | Rating: 0 | rate: / | ||
This means you don't have to set it in your scripts in the future. It doesn't matter if these ulimit commands are in your scripts or not, it will just be set to unlimited twice (twinlimited ;-)
Hi all, ____________ D@H the greatest project in the world... a while from now! |
||
ID: 2590 | Rating: 0 | rate: / | ||
Message boards : Unix/Linux : Howto: Dealing With 0x1 Error
Database Error: The MySQL server is running with the --read-only option so it cannot execute this statement
array(3) { [0]=> array(7) { ["file"]=> string(47) "/boinc/projects/docking/html_v2/inc/db_conn.inc" ["line"]=> int(97) ["function"]=> string(8) "do_query" ["class"]=> string(6) "DbConn" ["object"]=> object(DbConn)#51 (2) { ["db_conn"]=> resource(120) of type (mysql link persistent) ["db_name"]=> string(7) "docking" } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(51) "update DBNAME.thread set views=views+1 where id=102" } } [1]=> array(7) { ["file"]=> string(48) "/boinc/projects/docking/html_v2/inc/forum_db.inc" ["line"]=> int(60) ["function"]=> string(6) "update" ["class"]=> string(6) "DbConn" ["object"]=> object(DbConn)#51 (2) { ["db_conn"]=> resource(120) of type (mysql link persistent) ["db_name"]=> string(7) "docking" } ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> object(BoincThread)#3 (16) { ["id"]=> string(3) "102" ["forum"]=> string(1) "6" ["owner"]=> string(2) "15" ["status"]=> string(1) "0" ["title"]=> string(29) "Howto: Dealing With 0x1 Error" ["timestamp"]=> string(10) "1172533331" ["views"]=> string(4) "2407" ["replies"]=> string(2) "45" ["activity"]=> string(23) "1.4702361237874999e-123" ["sufferers"]=> string(1) "0" ["score"]=> string(1) "0" ["votes"]=> string(1) "0" ["create_time"]=> string(10) "1163677926" ["hidden"]=> string(1) "0" ["sticky"]=> string(1) "0" ["locked"]=> string(1) "0" } [1]=> &string(6) "thread" [2]=> &string(13) "views=views+1" } } [2]=> array(7) { ["file"]=> string(63) "/boinc/projects/docking/html_v2/user/community/forum/thread.php" ["line"]=> int(184) ["function"]=> string(6) "update" ["class"]=> string(11) "BoincThread" ["object"]=> object(BoincThread)#3 (16) { ["id"]=> string(3) "102" ["forum"]=> string(1) "6" ["owner"]=> string(2) "15" ["status"]=> string(1) "0" ["title"]=> string(29) "Howto: Dealing With 0x1 Error" ["timestamp"]=> string(10) "1172533331" ["views"]=> string(4) "2407" ["replies"]=> string(2) "45" ["activity"]=> string(23) "1.4702361237874999e-123" ["sufferers"]=> string(1) "0" ["score"]=> string(1) "0" ["votes"]=> string(1) "0" ["create_time"]=> string(10) "1163677926" ["hidden"]=> string(1) "0" ["sticky"]=> string(1) "0" ["locked"]=> string(1) "0" } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(13) "views=views+1" } } }query: update docking.thread set views=views+1 where id=102