Linux users
Message boards : Number crunching : Linux users
Author | Message | |
---|---|---|
Hello,
|
||
ID:
624 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello,
|
||
ID:
629 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello, what steps are you taking to implement the ulimit? |
||
ID:
630 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Doug,
|
||
ID:
632 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Doug, Hello Conan, Got this mesage after I typed "ulimit -s unlimited" in {run_manager} then from console got this message Password: [root@localhost ~]# cd<boinc installation directory> -bash: syntax error near unexpected token `newline' [root@localhost ~]# ./run_manager -bash: ./run_manager: No such file or directory [root@localhost ~]# I assume seeing there are 2 run_manager, but one is a text file so put the ulimit in there with Kedit,in the first line ? have done that before, and then before also tried the same in Console, are the greater then supposed to be there?Have been at this for a week without success, there must be something silly I am doing wrong, cause I am the only one that cannot make this work, So will keep at her,Thanks Conan.Do you "enter" the info in console after typing in <boinc installation directory>, then ./run_manager? Then enter? Sincerely Doug |
||
ID:
633 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello Doug,
|
||
ID:
636 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Looks like the directory path has some strange characters... Or that you are typing <boinc installation directory> literally instead of replacing with the directory where your BOINC is installed ;) |
||
ID:
639 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hi Doug,
|
||
ID:
646 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hi Doug, David Bell, Thank you very much for this excellent post and your Understanding.Just worked the Night shift at the cities newspaperm and am real "sore" to say the least. Tommorrow morning, Thursday will find out all the info you are asking.I run Boinc in "user" not root.I can click the Boinc, then Boinc Manger in Home file system to get her running.But, I use the quick browrser which is just like Windows with the Start button.I will take some screen shots, of the file system, The quick browser etc..I donnot know where I could post it unless at my Team Test post.Team synergy, will give you link to look at screen shots, and we can use Docking, this thread to communicate.I hope the time you spend helping me get going again, doesnot affect your own crunching and stuff,Wow been awake 24 hours now, must get a few hours shut eye.If you donnot like the idea of screen shots please let me know.run_manager is a text file, yes, the other will go look.It is a Back-up file, go figure, text also.Maybe I must do the ulimit in both?But before that will get those outputs for you. Again, Thank you so much. Sincerely Doug Worrall Distro is "Big Daddy" came out 3 months ago, was running MiniMe same thing, sort of From PCLINUXOS This will work |
||
ID:
647 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
648 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hi all,
|
||
ID:
652 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
653 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hi Doug
Now, save the file and exit the editor. Note that there are some examples in that file that are commented out by having a '#' character in the first column. You don't want to put a hash mark in front of this line since that would make it a comment, to be ignored. The line should begin in column one, exactly as typed above. logout as root and login as doug . Start boinc the way you usually do. Any programs run by user doug should have a default stack limit of 64000 * 1024 (62.5 megabytes),which is probably enough. Let me know if this works. Could you open a command line while running as doug and type the following command and post the results so I can check them. ulimit -a Hope this fixes it, -- David |
||
ID:
660 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
663 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello, It's OK to post it somewhere else. Just put a caveat that they're trying it at their own risk. Your linux kernel is a 2.6.x variant. I don't know if it will work with 2.4.x kernels or RHEL3 yet. IIRC, Redhat backports some things so even though RHEL3 is based on 2.4.x kernel, it may have features from 2.6.x kernels backported. I'm beginning to wonder if some BOINC projects are going to hit other limits besides stack. IIRC, the default memory limit for a user on FC3 is 200 Megs and I know I've seen some BOINC apps come close to that. I haven't tried the Seasonal attribution project, but it recommends machines with at least a GB of RAM so I'm wondering if it goes over the default limit on some linux machines? I'm not running it since two of my machines are already running the ClimatePrediction 160 year model that takes about 4000 hours to complete, along with other BOINC projects such as Rosetta, which has the largest resource share, Einstein, Seti, SIMAP (on one machine instead of climate prediction) and some projects which don't have work, such as LHC and Predictor. Two machines are now running Docking. My machines are a celeron 2.3 Ghz/1.5 GB ram/WinXP, a celeron 2.4 Ghz/ 2GB ECC ram/ Linux, and a Socket A Sempron 2500+/ 1 GB ram/ Linux. They're not the fastest machines around, but they get the job done and are responsive. I'm not a gamer so I don't need super fast graphics. I would love to have a dual core machine for multi-threaded software testing, though. Good Luck, -- David |
||
ID:
673 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
699 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Actually, it did work as far as changing the stack size. If you look at stack size in the output from "ulimit -a", you'll see that it did change to 64000, which is the number we put in the file. I guess we'll just have to give user doug a much larger stack size. Stop boinc and logout login as root CAREFULLY edit file /etc/security/limits.conf At the bottom of the file, just before the line that says # End of file edit the line we put in that says
and change it to read
Note that I changed the number from 64000 to unlimited and added another line setting the hard limit to unlimited as well. Now, save the file and exit the editor. Note that there are some examples in that file that are commented out by having a '#' character in the first column. You don't want to put a hash mark in front of these two lines since that would make each of them a comment, to be ignored. The lines should each begin in column one, exactly as typed above. logout as root and login as doug . Start boinc the way you usually do. Abort ALL Docking@home workunits and let it get new ones so that we're sure you have the latest charmm software. Any programs run by user doug should now have a default stack limit of unlimited. If that doesn't fix it, then there's probably something else going on. The next thing I would try would be to go to the Docking@home website, click on your account , edit your boinc General preferences and make sure that it's not exceeding the memory limit set there. Under the section titled "Disk and memory usage", tell it to use no more than 80% of total virtual memory . BTW, how much memory and swap space does your Linux machine have? Regards, -- David |
||
ID:
703 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
704 | Rating: 0
| rate:
![]() ![]() ![]() |
||
"It crashed" # /etc/security/limits.conf # #Each line describes a limit for a user in the form: # #<domain> <type> <item> <value> # #Where: #<domain> can be: # - an user name # - a group name, with @group syntax # - the wildcard *, for default entry # - the wildcard %, can be also used with %group syntax, # for maxlogin limit # #<type> can have the two values: # - "soft" for enforcing the soft limits # - "hard" for enforcing hard limits # #<item> can be one of the following: # - core - limits the core file size (KB) # - data - max data size (KB) # - fsize - maximum filesize (KB) # - memlock - max locked-in-memory address space (KB) # - nofile - max number of open files # - rss - max resident set size (KB) # - stack - max stack size (KB) # - cpu - max CPU time (MIN) # - nproc - max number of processes # - as - address space limit # - maxlogins - max number of logins for this user # - priority - the priority to run user process with # - locks - max number of file locks the user can hold # #<domain> <type> <item> <value> # #* soft core 0 #* hard rss 10000 #@student hard nproc 20 #@faculty soft nproc 20 #@faculty hard nproc 50 #ftp hard nproc 0 #@student - maxlogins 4 doug soft stack unlimited doug hard stack unlimited # End of file Hello, it crashed when I saved it, the crash output said to check my Diskspace and Ram, I think, the crash always makes me Jump, Thos elightbulbs crashing are annoying, LOL.It asked me if I wanted to overwrite the file with the above.I said not to overwrite due to the crash after I tried saving it?Also the disk useage {by default} were set at 50%, changed to 80% now. Sincerely Doug Worrall |
||
ID:
705 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
706 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
707 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Doug: some questions
|
||
ID:
708 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Doug: some questions Hello, Am running "Big Daddy" Linuxos 93a 2 months ago released am using Boinc 5.4.9 and donnot know if I am running in graphical or text mode? and just this morning I wrote down the exact times , the w/u never make it past 3.475% but finishes with error code approximately 5 minutes 45 seconds same as charm 2.01 which ran just fine untill they changed over too this one? I hope this is of use for you .Sincerely Doug Worrall |
||
ID:
710 | Rating: 0
| rate:
![]() ![]() ![]() |
||
1. How about your shell? For this you can check the contents of /etc/passwd en at the end of the line of the account that you use to run boinc should say. Examples are bash (being one of the most common, I assume), zsh, ksh, csh, tcsh ,etc
|
||
ID:
711 | Rating: 0
| rate:
![]() ![]() ![]() |
||
1. How about your shell? For this you can check the contents of /etc/passwd en at the end of the line of the account that you use to run boinc should say. Examples are bash (being one of the most common, I assume), zsh, ksh, csh, tcsh ,etc Thank You, A temp fix will end this daily grind I have been struggling with for about 3 weeks now.It said I had no permission to read my passord file, at first, so I opened the one that was a plain text file.I copied it: bin:x:1:1:bin:/bin:/bin/sh daemon:x:2:2:daemon:/sbin:/bin/sh adm:x:3:4:adm:/var/adm:/bin/sh lp:x:4:7:lp:/var/spool/lpd:/bin/sh sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/bin/sh news:x:9:13:news:/var/spool/news:/bin/sh uucp:x:10:14:uucp:/var/spool/uucp:/bin/sh operator:x:11:0:operator:/var:/bin/sh games:x:12:100:games:/usr/games:/bin/sh nobody:x:65534:65534:Nobody:/:/bin/sh rpm:x:13:101:system user for rpm:/var/lib/rpm:/bin/false vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin xfs:x:70:70:system user for XFree86:/etc/X11/fs:/bin/false postfix:x:71:71:system user for postfix:/var/spool/postfix:/bin/false messagebus:x:72:72:system user for dbus:/:/sbin/nologin haldaemon:x:73:73:system user for hal:/:/sbin/nologin saned:x:74:74:system user for saned:/home/saned:/bin/false sshd:x:75:75:system user for openssh:/var/empty:/bin/true doug:x:501:501:doug:/home/doug:/bin/bash regarding the way I run Boinc is with buttons, never use command lines till 3 weeks ago.Hope this is of use for you,I may have to go to Root to get another reading from this file. Sincerely Doug Worrall |
||
ID:
713 | Rating: 0
| rate:
![]() ![]() ![]() |
||
You probably should go back and remove the entries for doug from the limits.conf file to be safe. It's strange that the 64000 setting seemed to have worked for user doug (as shown by the ulimit -a output), but the unlimited was ignored. It sure looks like there is a lot of difference between Linux distros. Unfortunately, I don't have a machine I could load your distro on and even if I did, I'm in a rural area which only has Dial-up internet out this far. Downloading CD images is beyond 56k Dial-up capabilities. Wish I could be more help, -- David |
||
ID:
718 | Rating: 0
| rate:
![]() ![]() ![]() |
||
OK seems like you run bash
|
||
ID:
720 | Rating: 0
| rate:
![]() ![]() ![]() |
||
OK seems like you run bash Hello, Had to find .bashrc file in hidden files, typed and saved ulimit -s unlimited, typed bash ulimit -s on a shell, got message "No such file in directory" Go Figure?Ran a w/u and got the usual Sun Oct 1 09:28:09 2006|Docking@Home|Unrecoverable error for result 1tng_mod0001_4256_477205_3 (process exited with code 1 (0x1)) Sincerely Thank you Doug Worrall |
||
ID:
723 | Rating: 0
| rate:
![]() ![]() ![]() |
||
It's separate commands. First type bash , press enter, then type ulimit -s . |
||
ID:
724 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Thanks, bash: [doug@localhost: command not found bash: 8192: command not found bash: [doug@localhost: command not found bash: [doug@localhost: command not found bash-3.00$ bash bash: [doug@localhost: command not found bash: 8192: command not found bash: [doug@localhost: command not found bash: [doug@localhost: command not found bash-3.00$ ulimit -s unlimited bash-3.00$ Got "unlimited" yet still no go? Sincerely Doug* |
||
ID:
726 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Now from that same commandline where you see 'unlimited' change directory into your BOINC installation (probably 'cd BOINC') and run the boincmgr (enter './boincmgr'). Make sure you stop any running boinc programs first before you start this one.
____________ D@H the greatest project in the world... a while from now! |
||
ID:
738 | Rating: 0
| rate:
![]() ![]() ![]() |
||
To make sure that no other threads of boinc are not running you can check with
|
||
ID:
752 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
787 | Rating: 0
| rate:
![]() ![]() ![]() |
||
What do you have on your ./boincmgr? looks like you typed literally [doug@localhost] on it, so bash is interpreting it as a command... |
||
ID:
791 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Also if its already running you can use:
|
||
ID:
960 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Thanks Memo,
|
||
ID:
961 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Thanks Memo, Hello Memo, Through "Symnaptic"{Yum} just updated whole system.#1=new KernelOperating System Linux 2.6.16.29.tex1.lve #2=KDE updated too 3.5.5. #3= I have a miriad of Kernels I can choose from, will try this new one, then was thinking about trying an i686 High Memory Kernel, wheras the older Kernel 2.6.16.27 is from Live c/d install, will "try" to get some info from the pclinuxos Boards for some help, have tried before, and got "What the heck is Boinc?" never had RTFM, yet, cause with this Distro, "The Manual"is Archaic and not for newbies. I am hoping the new kernel might work.Am patiently waiting to here back from "Yall" Sincerely Doug Worrall |
||
ID:
970 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Ok, let's try with this...
|
||
ID:
1069 | Rating: 0
| rate:
![]() ![]() ![]() |
||
A question: the word "FIX" in the title is to say that the problem has been fixed by an upgrade from your distro's mantainers?
|
||
ID:
1070 | Rating: 0
| rate:
![]() ![]() ![]() |
||
A question: the word "FIX" in the title is to say that the problem has been fixed by an upgrade from your distro's mantainers? Hello Danilele, Thanks for your reply to this thread. After 5 hours of "ulimit -s unlimited has Fubarred {I have fubarred} My Boinc Manager, and now, cannot get a trickle to leave for Climate.I start Boinc after Boot, by using my "Quick Browser" into your Home Folder where Boinc is presently.Not in Root.I hit the Boinc first, then Boinc Manager, have been doing this for close to 2 years without any Fubarred w/u.Actually come close to Dual Cores in times to finish somw w/u.Definetly a great Distro {for me} This is the Url for My system http://www.pclinuxos.com/forum/index.php?topic=9076.0 Be Well Danilelle Sincerely Doug* |
||
ID:
1075 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hi Doug :)
|
||
ID:
1078 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I don't want to deceive you, but there's a chance that your problem is solvable in few minutes, if it stays the way I suppose. If not, then it's a distro's problem. But before going on, I'll wait for your answers.
|
||
ID:
1079 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I don't want to deceive you, but there's a chance that your problem is solvable in few minutes, if it stays the way I suppose. If not, then it's a distro's problem. But before going on, I'll wait for your answers. Hello Danniele, Its telling me that there is "no such file in directory" I assume the / are spaces for the command I typed twice.Also I have set stack size back to 8192 by ridding the saved Ulimit command. Sincerely Doug* |
||
ID:
1081 | Rating: 0
| rate:
![]() ![]() ![]() |
||
[quote]Its telling me that there is "no such file in directory" I assume the / are spaces I don't understand, why should be the / spaces? :) The / are /, everything is exactly what it seems, I'll be very precise to reach the solution to your problem in little time, if it exists (and I'm pretty sure it does). I also want you to understand what you are doing, so I'll tell exactly what to do, to avoid misunderstanding. So, I saw in that link (you posted) that you have boinc's files in /home/doug/BOINC. Aren't they? / is the charecter to divide directories in a path, `cd` is the command to "go" to a directory (maybe "Current Directory"? I don't remember). cd /home/doug/BOINC means "go to the directory BOINC, which is in directory "doug", which is in directory "home", which is in directory / (the root directory, it's a special one). Once you are there, cat run_client This command will write what's in the file on the screen. Then you copy the output and post it here :) I have a basic quastion. When you start the client, what link you click on, exactly? The one named 'boinc'? This would be an error, probably. |
||
ID:
1084 | Rating: 0
| rate:
![]() ![]() ![]() |
||
[quote]Its telling me that there is "no such file in directory" I assume the / are spaces I think that clicking boinc means go to boinc directory |
||
ID:
1085 | Rating: 0
| rate:
![]() ![]() ![]() |
||
cd means Change Directory,[quote]Its telling me that there is "no such file in directory" I assume the / are spaces /// did it with and witout /// these."NO Such File In Directory" Doug Thanks Did you see the screen shots of Boinc Now, sems evryone else,staff, scientists, including "self" has given-up.Every other w/u from every other experiments work, assides from UTEP, seeing as Simap is out of the game , sure would like a Docking w/u not to error out.My Kernel" is new and safe and unable to change things with security features.Should not have to too fascilatate w/u that do not FUbar.If i hit Boinc Manager first, the que is emty and it benches and asks to hook to experiments, that is why you hit "Boinc" first then Manager! Sincerely Doug |
||
ID:
1086 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Did you see the screen shots of Boinc Now, sems evryone else,staff, scientists, including "self" has I've seen this screenshot It's yours, if there is not another Doug on that site and in that post with the same problem. I see the file in the directory /home/doug/BOINC Then, I begin feeling something odd in all this... Type sudo find /home/doug -name '*client*' and post the output. Better cd /home/doug/BOINC ls -al and post the output. |
||
ID:
1088 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Let's suppose you have that file. Why are you clicking on the boinc link and not on the runc_client script? I've read something about your boinc package and I found that you have to use run_client. Most of the times it's not an optional. Bacause of this I want to look at run_client, study it and maybe modify it, then make you use it.
|
||
ID:
1089 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Did you see the screen shots of Boinc Now, sems evryone else,staff, scientists, including "self" has Now I'm even more serious than before. In these two days I read about your distribution, and I think it's very nice, coloured, simple. Good to start, indeed. Your desktop is very nice as well. But that's not linux, if you can't change processes' permissions, if you have to give up for such a simple matter. My (serious) advice is: use Kubuntu if you have a good pc. Use a debian based and you will never have such these problems Giving up doesn't exist if the distro has a good structure. Kubuntu is pretty easy if you want it to be easy, and it's debian in its core. Anyway, if you don't want to use a distro which permits to really manage the system, then we'll get to point with Big Daddy, if it has not any bugs inside the security substructure. |
||
ID:
1090 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I think that clicking boinc means go to boinc directory He said, in the post with the link to the screenshot, that he clicks on the link wich the pointer is on (in the screenshot). screenshot |
||
ID:
1091 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I think that clicking boinc means go to boinc directory got this from run manager cd "/home/doug/BOINC" && exec ./boincmgr $@ My Linux expert was over a month ago twice, trying to figure this out.I just retyped in ulimit -s, and got "Unlimited", so it took when I first did it, yet, maybe I have been messing-up trying? Thank-you for your advice Sincerely Doug |
||
ID:
1092 | Rating: 0
| rate:
![]() ![]() ![]() |
||
got this from run manager I'm sorry again I can't understand your english perfectly :( But, for sure, the row cd "/home/doug/BOINC" && exec ./boincmgr $@ is perfectly clear. Though, the problem is not the manager, but the client. I need to know what's in the run_client script, to understande if it' necessary (I think it is, since in the README file of the package there's written that you HAVE to use it, and also in debian I use a script to make the client work. Without that script, the client doesn't work fine.) |
||
ID:
1093 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello,
|
||
ID:
1094 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Regarding the scipt for run_client for Debian? could not be same as this Disto? Debian package doesn't have the scripts run_client and run_manager, but much better scripts to run safely the client with a separate user (boinc user). So I cannot use my script for resolving your problem, I need to look at your script. So, if you can do exactly what I wrote before, looking at the screenshot I can see the file, why cannot you as well? My advice is the same: use Kubuntu, and NOT use the package from boinc, but the one from Kubuntu (debian) repository. |
||
ID:
1095 | Rating: 0
| rate:
![]() ![]() ![]() |
||
To solve your problem with `ulimit` command.
|
||
ID:
1096 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Regarding the scipt for run_client for Debian? could not be same as this Disto? Thank you for your advice, I can see the file you speek of, yet it has "no affect" when I use it? My Repos are Symnaptic, not yum, nor do I have the repos for Debian. Be Well Doug |
||
ID:
1097 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I can see the file you speek of, yet it has "no affect" when I use it? You change the script, the you use the boinc link (the one with the pointer on it in the screenshot). Right? Then you are making a big mistake, the script makes the client start, not the client makes the script start. If you modify the script and click on the boinc link, the script is not used. So, please (please please please! :D) cd /home/doug/BOINC ls -al post the output. |
||
ID:
1098 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Besides this, have you EVER tried something like this?
|
||
ID:
1099 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Besides this, have you EVER tried something like this? Yes, I jave tryed all that.The first line reads "Ulimited" ever sice I did the ulimit -s {Fix}.Maybe I am doing something wrong with start-up, but the only experiment that does not work, is this one.Have tried all there is to try the "Fix" it worked, reset and unreset the stacksize etc.....................................................................etc....................... Really am not "understanding" what the please,etc.. is about, but this is over for me.I can run anyother experiment with great credits for Linux, and am not concerned regarding Docking.Have been crunching flawlessly assides "Docking". Thank you for your concern, but, I donnot have the time for ONE Exeriment that does not work."So Be It" Sincerely "over and OUT" Sluger |
||
ID:
1100 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Really am not "understanding" what the please,etc.. is about, but this is over for me.I can run anyother experiment with great credits for Linux, and am not concerned regarding Docking.Have been crunching flawlessly assides "Docking". So, we finally came to something serious. All my posts were headed to help docking@home, and help you at the same time. But if you say you can run another project, this mean you're not a good alpha tester. In fact, you are not an alpha tester at all, since you can't manage your system. I thoughy for a moment you wanted to help and to improve your know-how, but probably this is too diffcult for your, at this moment. Have a good time crunching. PS: docking@home IS working, fine |
||
ID:
1101 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Thanks for your help Daniele. It's okay if the ulimit fix doesn't work for some people. We are working on another more permanent solution and when that is released, Charmm will hopefully work for all users.
So, we finally came to something serious. ____________ D@H the greatest project in the world... a while from now! |
||
ID:
1102 | Rating: 0
| rate:
![]() ![]() ![]() |
||
We couldn't help Doug, but maybe you can help me get it working on one of my machines. I have it working on Fedora Core 3, but can't get it to run on a RedHat RHEL3 machine that is command line only. The kernel is (uname -a) Linux xxxxxxxxxxxx 2.4.21-47.0.1.EL #1 Fri Oct 13 18:04:55 EDT 2006 i686 i686 i386 GNU/Linux Here's the last part of the section of my /etc/init.d/boinc that starts the client.
cd $BOINCDIR
if [ -f lockfile ] ; then echo -n "Another instance of BOINC is running (lockfile exists)." echo_failure echo exit 4 fi if [ ! -f client_state.xml ] ; then echo -n "The BOINC client requires initialization." echo_warning echo fi echo -n "Starting BOINC client as a daemon: " ulimit -s 199000 ulimit -d 512000 ulimit -v 512000 su $BOINCUSER -c "ulimit -a" >>$LOGFILE 2>>$ERRORLOG su $BOINCUSER -c "nice --adjustment=19 $BOINCEXE $BOINCOPTS" >>$LOGFILE 2>>$ERRORLOG & sleep 1 PID=`pidof -s -x -o $$ -o $PPID -o %PPID $BOINCEXE` if [ $PID ]; then touch $LOCKDIR/boinc echo_success else echo_failure fi echo ;; Increasing the stack size did seem to stick and after this, the run time for a Docking@Home WU still failed after about 400 seconds with Exit status : 1 (0x1). The new longer Work Units run about 750 seconds before getting the same error. Here's the output from the "ulimit -a" in the boinc logfile from the first su command, followed by the startup of boinc 5.2.13. I'm still on 5.2.13 because I haven't figured out how to change the init script to run BOINC 5.4.9 as a service, but that's a separate issue.
core file size (blocks, -c) 1000000
data seg size (kbytes, -d) 512000 file size (blocks, -f) unlimited max locked memory (kbytes, -l) 4 max memory size (kbytes, -m) unlimited open files (-n) 4096 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) 199000 cpu time (seconds, -t) unlimited max user processes (-u) 14335 virtual memory (kbytes, -v) 512000 2006-10-25 19:50:12 [---] Starting BOINC client version 5.2.13 for i686-pc-linux-gnu 2006-10-25 19:50:12 [---] libcurl/7.14.0 OpenSSL/0.9.8 zlib/1.2.3 2006-10-25 19:50:12 [---] Data directory: /home/BOINC 2006-10-25 19:50:12 [---] Processor: 1 GenuineIntel Intel(R) Celeron(R) CPU 2.40GHz 2006-10-25 19:50:12 [---] Memory: 1.95 GB physical, 1.95 GB virtual 2006-10-25 19:50:12 [---] Disk: 16.02 GB total, 11.69 GB free 2006-10-25 19:50:12 [Einstein@Home] Computer ID: 544961; location: work; project prefs: default 2006-10-25 19:50:12 [SETI@home] Computer ID: 2185126; location: work; project prefs: default 2006-10-25 19:50:12 [lhcathome] Computer ID: 113223; location: work; project prefs: default 2006-10-25 19:50:12 [rosetta@home] Computer ID: 211470; location: work; project prefs: work 2006-10-25 19:50:12 [Docking@Home] Computer ID: 223; location: work; project prefs: default 2006-10-25 19:50:12 [---] General prefs: from rosetta@home (last modified 2006-10-22 08:20:21) 2006-10-25 19:50:12 [---] General prefs: no separate prefs for work; using your defaults 2006-10-25 19:50:12 [---] Remote control not allowed; using loopback address 2006-10-25 19:50:14 [---] Running CPU benchmarks 2006-10-25 19:51:13 [---] Benchmark results: 2006-10-25 19:51:13 [---] Number of CPUs: 1 2006-10-25 19:51:13 [---] 645 double precision MIPS (Whetstone) per CPU 2006-10-25 19:51:13 [---] 1234 integer MIPS (Dhrystone) per CPU 2006-10-25 19:51:13 [---] Finished CPU benchmarks 2006-10-25 19:51:14 [rosetta@home] Resuming computation for result 1ogw__LARS_ABRELAX_PAIR5_BARCODE__1294_4165_0 using roset$ 2006-10-25 19:51:14 [Einstein@Home] Deferring computation for result l1_0343.5_S5R1__5823_S5R1a_0 2006-10-25 19:51:14 [---] Resuming computation and network activity 2006-10-25 19:51:14 [---] request_reschedule_cpus: Resuming activities Any guesses what else needs to be changed? Once it's running, I control it by logging in as a regular user, doing "su -" to switch to root (I have ssh configured to not allow direct root login), then as root I do "su boinc" and "cd ~" which puts me in the correct directory. After that I use ./boinc_cmd to control the boinc client running as a service. Other projects work fine, but I've never gotten Docking@home to work, even though the "ulimit -s 199000" in the init.d script does seem to work. Any Suggestions? -- David |
||
ID:
1103 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Have you tried with ulimit -s unlimited? I tested several stack limits, but only unlimited seems to go through. Let me know if that still gives you problems. If it does, we might be looking at another issue.
____________ D@H the greatest project in the world... a while from now! |
||
ID:
1110 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Really am not "understanding" what the please,etc.. is about, but this is over for me.I can run anyother experiment with great credits for Linux, and am not concerned regarding Docking.Have been crunching flawlessly assides "Docking". Tut, Tut, Sticks and stones, I am testing Alpha experiments, am still hooked to Docking, cause as I said Dannielle, I am reaapplying this system.Maybe I donot know it that well, came out only 3 months prior.I thanked you for your help, yet you feel the need to call names.Maybe you donnot know "Yourself" well enough to know that I have been at this for 35 days, and some nights.Also as I mentioned, the language problem some stuff I donnot understand what you are saying."I will get this working by hook or by crook".Just not as I have cemotherapy today and fel like hell warmed over. Dannilele, again, thank you for your "help"Also, I refuse to give-up, each week is cemotherapy, today was a day and feel quite yukky, this is why I like to run folding experiments, am sure if anyone tried to make their Distro take a charm w/u, last one yesterday, errored out after I tried new things for 40 days would "give-up"I cannot, but for today I have.Again, language barrier neccesatated you to verbally attack me.tut, tut, where are your manners? .{ANDRE}, I asked you to "Please" remove that taking back 200% share, obviosly Dannile has read that.Good luck with the machine to work for you and hope Dannielle can help you.Thank- you again Danniele,Maybe I should learn some Italian, then communication "may" get better, again Danniele, Be Well Sincerely Doug Also Dave Bell, Thanks for your help also.Good distro,Hope you can get her running for Docking. Best wishes also Andre |
||
ID:
1118 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Have you tried with ulimit -s unlimited? I tested several stack limits, but only unlimited seems to go through. Let me know if that still gives you problems. If it does, we might be looking at another issue. OK, I changed /etc/init.d/boinc to set the stack to unlimited and I doubled the memory values to about 1 GB. Here's the boinc.log from where I started the service up again (as dumped from nano so long lines end in $).
core file size (blocks, -c) 1000000
data seg size (kbytes, -d) 1024000 file size (blocks, -f) unlimited max locked memory (kbytes, -l) 4 max memory size (kbytes, -m) unlimited open files (-n) 4096 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) 14335 virtual memory (kbytes, -v) 1024000 2006-10-26 20:17:09 [---] Starting BOINC client version 5.2.13 for i686-pc-linux-gnu 2006-10-26 20:17:09 [---] libcurl/7.14.0 OpenSSL/0.9.8 zlib/1.2.3 2006-10-26 20:17:09 [---] Data directory: /home/BOINC 2006-10-26 20:17:09 [---] Processor: 1 GenuineIntel Intel(R) Celeron(R) CPU 2.40GHz 2006-10-26 20:17:09 [---] Memory: 1.95 GB physical, 1.95 GB virtual 2006-10-26 20:17:09 [---] Disk: 16.02 GB total, 11.74 GB free 2006-10-26 20:17:09 [Docking@Home] Computer ID: 223; location: work; project prefs: work 2006-10-26 20:17:09 [SETI@home] Computer ID: 2185126; location: work; project prefs: default 2006-10-26 20:17:09 [rosetta@home] Computer ID: 211470; location: work; project prefs: default 2006-10-26 20:17:09 [---] General prefs: from SETI@home (last modified 2006-10-26 00:43:33) 2006-10-26 20:17:09 [---] General prefs: no separate prefs for work; using your defaults 2006-10-26 20:17:09 [---] Remote control not allowed; using loopback address 2006-10-26 20:17:09 [SETI@home] Deferring computation for result 15my03aa.5778.10817.823572.3.230_1 2006-10-26 20:17:09 [rosetta@home] Resuming computation for result 1hz6A_BOINC_NATIVEJUMPS_CLOSE_CHAINBREAKS_VARY_ALL_BOND_A$ Now, it's just a matter of waiting for it to get another WU. Because of the errors, it's only allowed to download 1 WU per day :-) BTW, the machine has 2 GB of RAM and 2 GB of swap. Here's the output of free while it's running boinc and a Rosetta WU.
Thanks, -- David EDIT: If this doesn't work, I'm going to try increasing the max locked memory to 32, since that's what it is on my other linux box (FC3) that works. BTW, the RAM on the RHEL3 box is ECC and the machine works reliably with only a reboot for kernel or hardware upgrades and there haven't been any hardware upgrades in several months, maybe close to a year. Both boxes are running libsafe so that isn't it. Rosetta works great on both Linux boxes, as did Predictor@Home, before it stopped handing out work. |
||
ID:
1119 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Have you tried with ulimit -s unlimited? I tested several stack limits, but only unlimited seems to go through. Let me know if that still gives you problems. If it does, we might be looking at another issue. WTG David, Looks to me as if it worked. To get a w/u from Docking, have you tryed suspeneding other experiments, then updating Docking? Should give you a w/u, or set the "preferences" at your account page to maybe 0.3 days? Worked for me , hope it does for you also. Sincerely Doug |
||
ID:
1121 | Rating: 0
| rate:
![]() ![]() ![]() |
||
OK, I changed /etc/init.d/boinc to set the stack to unlimited and I doubled the memory values to about 1 GB. Here's the boinc.log from where I started the service up again (as dumped from nano so long lines end in $). So run_client is using a script in /etc/init.d as well. I just tried to get this information for two days, by asking the content of that script (run_client). Changing that script is what I did to have my system working, as I said you can change what you want in /etc/security/limits.conf, but the changes will not be used by the client, 'cause those changes only apply to a shell instance. So, to have them working, you must start the client from a shell, i.e. using a script. Anyway, have fun. |
||
ID:
1122 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Thanks for your help Daniele. It's okay if the ulimit fix doesn't work for some people. We are working on another more permanent solution and when that is released, Charmm will hopefully work for all users. For sure it sometimes depends on the distro, but it's really rare. Also in this case, I was trying to have the content of run_client script, to analyze the operations and finally understand which other script it called. This script is (as I now understand from other users' posts) in /etc/init.d and it's quite the same as debian's one. But I couldn't get those information by doug, so I get nervous 'cause I asked many times for the same thing and got no useful replies. So, maybe it's because my difficulties in using a foreign languages in such a technical matter. For example I didn't understand if Doug starts the client by using the script (right move) or by directly clicking on the client executable file (wrong move). |
||
ID:
1123 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Have you tried with ulimit -s unlimited? I tested several stack limits, but only unlimited seems to go through. Let me know if that still gives you problems. If it does, we might be looking at another issue. You are on the right way, no doubt. I can't help you to choose the right values for your system, since it's a 2.4 kernel (so much different from 2.6, you know) and red hat management structure (different from debian). For example my settings are far "larger" than yours (I have many unlimited resources by default) and everything is working fine, so in any case you shouldn't be afraid of raising the limits. Of course it would be better running the client as a daemon with a specific user (for example debian has the boinc user), so you can raise its limits safely, since that user will have only the permission to change its own files (boinc files). If you give unlimited permissions to your main user, this could be a problem with many other buggy applications. |
||
ID:
1124 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I'm still on 5.2.13 because I haven't figured out how to change the init script to run BOINC 5.4.9 as a service, but that's a separate issue. Does your distro have the command start-stop-daemon ? If not, maybe you could use the -daemon option, but let's make a step at a time. |
||
ID:
1125 | Rating: 0
| rate:
![]() ![]() ![]() |
||
OK, I changed /etc/init.d/boinc to set the stack to unlimited and I doubled the memory values to about 1 GB. Here's the boinc.log from where I started the service up again (as dumped from nano so long lines end in $). Daniele: I think you are confusing me (David) with Doug. I have boinc running as a service on a non-graphical Redhat Enterprise Linux 3 machine. Everything on that machine is done via command line. Boinc is running as a daemon. On that version of Linux, /etc/security/limits.conf is ignored unless you re-configure PAM. I tried that earlier and set the stack limit for user boinc to a large number, but the Docking@Home work unit still got the error, so I backed out the PAM changes. I suspect that, in addition to the unlimited stack change, I am also going to have to set the max locked memory higher by doing "ulimit -l 32". By the way, even on my other Linux machine which has a graphical interface, I do almost everything on Linux from a command line. I am 50 years old and started programing during the 1970's, in the days of CP/M on the 8080/8085/Z-80, OS/8 on the PDP-8, timeshare terminals on CDC (Control Data Corporation) mainframes, and I even did assembler and Cobol using punched cards on IBM 360 and 370. I have even thought about writing a command line boinc manager (similar to top) that uses curses for those of us who have some Linux machines that are command line only. Doug: The problem is not that it does not ask for work. The one Work Unit a day limit is imposed by the Docking@Home server because that machine always returns bad results. It is already set to update every 0.2 days. Thanks, -- David |
||
ID:
1126 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Daniele: I think you are confusing me (David) with Doug. I have boinc running as a service on a non-graphical Redhat Enterprise Linux 3 machine. Everything on that machine is done via command line. Boinc is running as a daemon. On that version of Linux, /etc/security/limits.conf is ignored unless you re-configure PAM. I tried that earlier and set the stack limit for user boinc to a large number, but the Docking@Home work unit still got the error, so I backed out the PAM changes. I suspect that, in addition to the unlimited stack change, I am also going to have to set the max locked memory higher by doing "ulimit -l 32". By the way, even on my other Linux machine which has a graphical interface, I do almost everything on Linux from a command line. I am 50 years old and started programing during the 1970's, in the days of CP/M on the 8080/8085/Z-80, OS/8 on the PDP-8, timeshare terminals on CDC (Control Data Corporation) mainframes, and I even did assembler and Cobol using punched cards on IBM 360 and 370. I have even thought about writing a command line boinc manager (similar to top) that uses curses for those of us who have some Linux machines that are command line only. :D I'm not confusing you with doug, I "used" your words to imply something on what I was trying to know from Doug :) If you are using the "standard" boinc package (as doug), i.e not the debian's one, you probably have the same files as Doug. Anyway, it doesn't matter anymore (at least for now). Regarding limits.conf, I'll repeat what I've learned. But first I have some questions, since I'm not sure I'm using the right words to say what I want to, and I'n not sure I understand every single word of yours. Given that: you're using kernel 2.4 (different from 2.6) you're using Red Hat (different from Debian) then I'd like to make you a question or two, just to understand if I have understood. First of all, are you using the package with run_client script or another package (mine has not, for example)? You changed PAM settings and modified limits.conf, then got the same errors. Did I understand? When you start the core_client, which user do you use and with wich user's permissions do you run the client? For example, I run the client by starting the script as root or daniele, but the client runs with boinc user's permissions (I do this by using the `start-stop daemon` command with the --user parameter set to $BOINC_USER, so I can change the "running user" by modifying that variable). I'm saying this because if you change, let's make an example. If you modify limits.conf by setting unlimites stack for "David" user, but you start the script with root, the changes won't be used because those limits apply only to a shell instance eventually started by "David", not to a generic process owned by "David". So the changes will work only if you start the client using "David", if the client runs with David permissions. I had a similar problem modifying limits.conf for "boinc" user and not having that changes working, since the client was started by root at boot time. Also if you think I can't help you, would you mind answering just to let me learn? :) |
||
ID:
1127 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I suspect that, in addition to the unlimited stack change, I am also going to have to set the max locked memory higher by doing "ulimit -l 32". Yes, as I wrote in one post, you probably have too strict limits, I wrote that I have much more unlimited resources than you, so it could be your problem is only from that. |
||
ID:
1128 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I am 50 years old and started programing during the 1970's, in the days of CP/M on the 8080/8085/Z-80, OS/8 on the PDP-8, timeshare terminals on CDC (Control Data Corporation) mainframes, and I even did assembler and Cobol using punched cards on IBM 360 and 370. I have even thought about writing a command line boinc manager (similar to top) that uses curses for those of us who have some Linux machines that are command line only. I'm fond of experienced programmers, I'd have a whole bunch of questions for you. I'm still young, anyway I've my little experience too, being an informatics engineer, though I'm not so expert in linux administration, I study computational linguistics (and I've to improve my english for this). When I finish my current work, I'd like to set up a boinc project for natural language processing ENTIRELY based on neural networks. I really hate neural networks, but they permit the distribution of processing. |
||
ID:
1129 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I am 50 years old and started programing during the 1970's, in the days of CP/M on the 8080/8085/Z-80, OS/8 on the PDP-8, timeshare terminals on CDC (Control Data Corporation) mainframes, and I even did assembler and Cobol using punched cards on IBM 360 and 370. I have even thought about writing a command line boinc manager (similar to top) that uses curses for those of us who have some Linux machines that are command line only. Dear Dannielle, I apologise for not understanding what you would like me too do.I am dissapointed in "self" and feel less than for not being able to get this to work.Honestly Danniele, I am a computer Dummy.3 years on a P.c., and 2 running linux by "guessing" Woops, Just want you too know I want to fix this problem. But donnot understand many things about a P.C.,I think it is commendable for you to be so helpful, to start your own Boinc project also.What is the thing {for lack of better knowledge} that you would like me too try?Posting seems so impersonal, but, would like to try again.Fully understand if you donnot.Be Well, and Good luck with your future indevours. Dave, thnks again for your help.Really expected when we reset the stacksize, it would work.I think Dannielle is right also that I donnot know my own Distro.This has lead me to be unsure of self and am not running Boinc 24-7 any more, for fear that I installed Boinc incorrectly the last 3 installs.Hope you can get up and running for Docking, and hope I can get my Distro to not error out also.35 days of trying has left me dissapointed and Angry.Myself am not running Boinc as a Daemen, donnot know what a Daeman is? And yes I have read the Manual, as vague as it is, and donnot understand a few things.My girlfriend is from Southern Italy, know a little "love" talk in Italian, it is commendable and great that you know 2 Languages, have enough difficulties with English.I donnot know P.C. terminology at all.Sat down at a P.C. at the age of 45, 48 now and not much has changed, still a dummy.{Smile} Be Well Dannielle and David Sincerely "Happy Crunchung" Doug |
||
ID:
1132 | Rating: 0
| rate:
![]() ![]() ![]() |
||
i686 32bit Linux 2.6.16.27.tex1 kernel (4GB highmem)
|
||
ID:
1133 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I apologise for not understanding what you would like me too do Don't be sorry Doug, the only important thing is if you want to try another time. :) I understand if you prefer to save your time and crunch for another project. First of all, let's collect useful informations, so we can understand if it's a problem in your distro (which I can't solve now, I'm sorry) or a little solvable one. To follow a clean path, maybe I'll need to try things that you have tried yet. Open a console ("a shell") and type (note, every row is followed by RETURN key) cd /home/doug/BOINC ls -al this will output a list of files in that directory, I need that list (copy and paste it here). Then type cd /etc/init.d ls -al *boinc* and post here the output. Then type ulimit -a and post the output. This would be a good start, later I'll tell you what to do with certain files. Bye doug, I hope we can make docking work on your pc :D |
||
ID:
1134 | Rating: 0
| rate:
![]() ![]() ![]() |
||
i686 32bit Linux 2.6.16.27.tex1 kernel (4GB highmem) I'll try to explain in simple words, also because I don't know complicated words :) The problem is not the kernel itself (2.6.x is good and usually up to date), but how the distro is done inside. Every distro has its own way to manage the system and when one tries to create a distro and to use new ways to manage it, often the result is messy (to create a good distro is very difficult). It happened and happens to distros derived from Red Hat and Mandriva (and also Suse) that the internal structure of the whole distro lacks something, or contains important errors. It's difficult for me to explain, but we could say that most of these distros are incoherent in their structures. And the problem gets worse and worse since they permit to install "incoherent" packages. The basic idea is good, to have the most general structure and install whatever package you want, but in the real world this doesn't work well The dimonstration is that debian has the only real working structure (there's slackware, of course, but it's a different matter), having a very well engineered internal structure, very very coherent and rigid. How can we guess the right kernel package if it happens that the distro lacks a coherent managing structure? It could happen that an application works well with certain configurations, and not with other ones. So, let's proceed step by step, trying to understand if this is a docking's issue or your distro's, or (it's possible) you only need to adjust something in the way you operate your system :) |
||
ID:
1135 | Rating: 0
| rate:
![]() ![]() ![]() |
||
bash: [doug@localhost: command not found
|
||
ID:
1138 | Rating: 0
| rate:
![]() ![]() ![]() |
||
ash: [doug@localhost: command not found
|
||
ID:
1139 | Rating: 0
| rate:
![]() ![]() ![]() |
||
bash: [doug@localhost: command not found Ok Doug, here there are few things for you to learn. You wrote this bash-3.00$ cd/doug/home/BOINC but there are 2 mistakes. The first is that between cd (the command) and the directory where we want to go (the argument of the command) we need a space (blank). So cd <path_to_the_directory> Then, the directory is not /doug/home/BOINC This directory doesn't exist. The right one is /home/doug/BOINC So, the complete command + argument is cd /home/doug/BOINC Then ls -al remember the SPACE between the command ls and the arguments -al Let's try |
||
ID:
1140 | Rating: 0
| rate:
![]() ![]() ![]() |
||
If you prefer, I can send you a script (a little shell program) by mail to collect some informations :)
|
||
ID:
1141 | Rating: 0
| rate:
![]() ![]() ![]() |
||
bash-3.00$ ls -al
|
||
ID:
1143 | Rating: 0
| rate:
![]() ![]() ![]() |
||
bash-3.00$ ls -al Hi Doug :) Only a question or two. Have you reinstalled the boinc package recently or this is an old installation? Anyway, now we'll read the content of the script named run_client when you are in this directory, by typing cd /home/doug/BOINC we give the command cat run_client copy and paste the output here. If you prefer, you can open it in kedit and copy and paste. Did you modify the run_manager script? And why not the run_client_script? But the real question is: have you ever used run_client to start the client, or you only did it by clicking the link in the kde menu? Regarding the mail, if this problem needs particularly difficult commands maybe it's better if I send you a script. Let's see what happens. |
||
ID:
1144 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I need also the output of this command.
|
||
ID:
1145 | Rating: 0
| rate:
![]() ![]() ![]() |
||
bash: [doug@localhost: command not found
|
||
ID:
1146 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello Dannielle,
|
||
ID:
1147 | Rating: 0
| rate:
![]() ![]() ![]() |
||
How do I type "Aproximitly" ps axu [ grep home, what is in the middle, cannot see it, too confirm it, also, is this done with a shell, or Kedit and in run_manager?, or with the "Shell" program? It's the pipe | Usually it's on the left of key 1, just above the symbol \ :) For now, add ulimit -s unlimited as the first line in run_client script. Then I need ps axu | grep boinc while the client is running. |
||
ID:
1148 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello Dannielle, Here it is Saturday, 3:30 am :) Have a good night, I hope with good news for tomorrow :) |
||
ID:
1149 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I'm sorry for the confusion on my part! That is correct. I downloaded the standard 5.2.13 BOINC client, but I am NOT using run_client or run_manager. The machine boots into text mode on the console. It is not setup to allow graphics mode. I control it by using ssh from my Windows XP machine. Yes, that is correct.
You can probably help me, and it is interesting to see how different Linux distributions do things. BOINC runs as a daemon and is started at boot. The command on RedHat to manually control a daemon is service daemon_name {start|stop|restart|status} I have it configured to start at boot time. If you do a "chkconfig --list", there is a line in the output which says boinc 0:off 1:off 2:off 3:on 4:on 5:on 6:off I'm using a modified version of the script which was pointed to by the BOINC website for running BOINC as a service. You can find a copy of my current modified script at http://www.booksnbytes.com/boinc.txt Fixing the stack, either through limits.conf or the init script doesn't seem to fix the problem so I've added "ulimit -l 32" as well as the other modifications. The default, even for root is "ulimit -l 4" on this release. I added another command in front of the one which actually starts boinc that dumps the results of "ulimit -a" to the boinc log. The 2 lines that actually start boinc running are su $BOINCUSER -c "ulimit -a" >>$LOGFILE 2>>$ERRORLOG su $BOINCUSER -c "nice --adjustment=19 $BOINCEXE $BOINCOPTS" >>$LOGFILE 2>>$ERRORLOG & Just in case it is different for Debian, su is the command to run a shell with substitute user and group IDs. They made some changes to the command line options for boinc in 5.4.9 for Linux, so I will need to modify the script again for that version. That's why I'm still on BOINC 5.2.13 . I don't want to update the BOINC version until I get Docking@Home stabilized. Here's the beginning of the boinc log file which shows the output of the "ulimit -a" and the output from BOINC as it starts up. core file size (blocks, -c) 1000000 Since you asked Doug for it, I also included the output of "ps axu|grep boinc" while it is running, but nano (text editor similar to an extended version of pico) cut off the end of some of the long lines of options to Rosetta. It's not possible to catch a Docking@Home work unit because they only last about 700 seconds and the machine has returned so many errors on work units that it's only allowed to download 1 work unit a day by the Docking@Home BOINC server software. root 7835 0.0 0.0 5192 812 ? S Oct27 0:00 su boinc -c nice --adjustment=19 /home/BOINC/boinc -return_re$ I'll probably have to edit this to make sure the BBcodes I used are balanced properly :-) Regards, -- David |
||
ID:
1150 | Rating: 0
| rate:
![]() ![]() ![]() |
||
bash: [doug@localhost: command not found
|
||
ID:
1151 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Sat Oct 28 05:19:19 2006||Starting BOINC client version 5.4.9 for i686-pc-linux-gnu
|
||
ID:
1152 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Good Morning Danniele,
|
||
ID:
1154 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I'll probably have to edit this to make sure the BBcodes I used are balanced properly :-) As I said before, could be only a simple problem of permissions, you have to wait until a WU is sent. Now I can see the user who runs the client is boinc, and your script is obviously not started by boinc user (I suppose it's done by root, or by your main user). This way you have to set the permission (for example ulimit -s unlimited, or whatever you want) for the user who starts the script, not for boinc client. In my case, boinc user has ulimit -s 8192, but when root starts the script has (for a little time) ulimit -s unlimited. So it starts a shell with unlimited stack, this shell creates the daemon with unlimited stack and change the uid of the daemon in boinc's uid. Then the shell dies, the client daemon becomes session manager, and it remains with unlimited stack. But, I repeat, boinc user has not particular permissions :) Try this, and increase the limits (yours are too strict). Here's the output of `ulimit -a` when I start the client daniele@lele:~$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited max nice (-e) 20 file size (blocks, -f) unlimited pending signals (-i) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) unlimited max rt priority (-r) unlimited stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) unlimited virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Probably debian mantainers choosen such high limits because the debian structure is very coherent and stable, so it's not a problem (in fact it's not). Sorry if I can't stay more time on the problem, I've a very difficult exam in few days! |
||
ID:
1155 | Rating: 0
| rate:
![]() ![]() ![]() |
||
bash: [doug@localhost: command not found Hi Doug :) Maybe it's a mistake in writing, but you have to add "ulimit -s unlimited" as the first line in run_client, not run_manager (the manager doesn't need such a permission). So, modify run_client script, then save it. Then stop the client, and since I don't know how your client works, it's better if you restart the whole system. When you have restarted, don't start the client in kde, but open a console and type cd /home/doug/BOINC ./run_client -redirectio -dir /home/doug/BOINC Note: not REDIRECTION, but REDIRECTIO So you will use the script to start the client, and the unlimited stack should be used. Then launch the manager the way you usually do it. After launching the client ps axu | grep boinc and post the output. This is the simplest thing we can do, a starting point. PS: it's probable that you have en error in .bashrc or .bash_profile, those lines on the top of the shell (8192: command not found etc) are not good. |
||
ID:
1156 | Rating: 0
| rate:
![]() ![]() ![]() |
||
bash: [doug@localhost: command not found Hello Dannielle, yes, that was a typing error, I saved the ulimit -s unlimited in the correct file.When I did the commands, received no OUTPUT, but, would not let me start the Manager due to "wrong password", LOL This is fun actually, I understand your School is more Important than helping a dummy, Was able to get Boinc going the old way, seeing as this way did not, may have mistyped, so will continue typing and trying. bash: [doug@localhost: command not found bash: 8192: command not found bash: [doug@localhost: command not found bash: [doug@localhost: command not found bash-3.00$ ps axu | grep boinc doug 6378 0.0 0.3 4472 2432 ? S 10:20 0:00 /home/doug/BOINC/boinc doug 6386 0.2 0.7 10040 6072 ? S 10:20 0:00 /home/doug/BOINC/boincmgr bash-3.00$ cd /home/doug/BOINC bash-3.00$ ./run_client -redirectio -dir /home/doug/BOINC Has to be the localhost not found, BIG problem ehh? Thanks Doug |
||
ID:
1157 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello Dannielle, So, what happened exactly? You restarted the system, then typed ./run_client -redirectio -dir /home/doug/BOINC and the manager didn't connect to the client? This could be due to how the manager works, I don't know it very well yet. Anyway, if things are this way, when you restart the system (everytime you start the client you have to stop it first, and since it's difficult for you to safely kill the process, maybe it's better if you reboot the system) try this. The problem of manager not connecting to the client is not a real problem, we only need to learn or (better) someone who knows about this stuff. Try this, and let's see the output (remember, don't use the usual way to start the client and the manager, use only the console). I need a `ps axu | grep boinc` BEFORE executing any other application cd /home/doug/BOINC ps axu | grep boinc ./run_client -redirectio -dir /home/doug/BOINC ./run_manager --verbose ps axu | grep boinc |
||
ID:
1158 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello Dannielle, Hello Dannielle, what happened, Boinc did not start up, checked thru KSGaurd, then tried starting the Boinc the old way and said I was using the wrong password? Go Figure ? This is the OUTPUT from the last try bash: 8192: command not found bash: [doug@localhost: command not found bash: [doug@localhost: command not found bash-3.00$ ps axu | grep boinc doug 3076 0.0 0.0 1788 488 pts/0 S 11:10 0:00 grep boinc bash-3.00$ cd /home/doug/BOINC bash-3.00$ ps axu | grep boinc doug 3078 0.0 0.0 1752 244 pts/0 R 11:12 0:00 grep boinc bash-3.00$ ./run_client -redirectio -dir /home/doug BOINC Unknown option: BOINC Usage: ./boinc [options] -help show options -version show version info -exit_when_idle Get/process/report work, then exit -show_projects show attached projects -return_results_immediately contact server when have results -detach_project <URL> detach from a project -reset_project <URL> reset (clear) a project -attach_project <URL> <key> attach to a project -update_prefs <URL> contact a project to update preferences -run_cpu_benchmarks run the CPU benchmarks -check_all_logins for idle detection, check remote logins too -allow_remote_gui_rpc allow remote GUI RPC connections -gui_rpc_port port for GUI RPCs -redirectio redirect stdout and stderr to log files -detach detach from console (Windows) -dir <path> use given dir as BOINC home -no_gui_rpc don't allow GUI RPC, don't make socket -daemon run as daemon (Unix) bash-3.00$ ./ run_manager --verbose bash: ./: is a directory bash-3.00$ ps axu | grep boinc doug 3082 0.0 0.0 1788 480 pts/0 R 11:14 0:00 grep boinc bash-3.00$ Sorry for the poor results, just trying "My Best"{nice to see run as Daemon} Sincerely Doug |
||
ID:
1159 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I read something about manager not being able to connect, and it's really a dumb problem (it seems like a little bug or similar in the manager).
|
||
ID:
1160 | Rating: 0
| rate:
![]() ![]() ![]() |
||
cd /home/doug/BOINC Yes, now I'm on my way to figure out how the manager works :) Anyway, you made a mistake typing the command above, it lacks the / between doug and BOINC. Note, it's a fundamental step that you reboot the system before restarting the client (when we solve this problem, I'll tell you how to restart the client safely without restarting the whole system). |
||
ID:
1161 | Rating: 0
| rate:
![]() ![]() ![]() |
||
To simplify your work, I repeat here the whole sequence
|
||
ID:
1162 | Rating: 0
| rate:
![]() ![]() ![]() |
||
To simplify your work, I repeat here the whole sequence OK Dannielle, Boinc Manager came-up, and wants me to attach to project?Have this output, my Climate chunk is missing in this Manager, so Boinc itself didnot start?, will show you also print out from new manager, well has same error though, as seen in screen shots. bash: [doug@localhost: command not found bash: 8192: command not found bash: [doug@localhost: command not found bash: [doug@localhost: command not found bash-3.00$ cd /home/doug/BOINC bash-3.00$ ps axu | grep boinc doug 3048 0.0 0.0 1756 188 pts/0 R 13:46 0:00 grep boinc bash-3.00$ cat gui_rpc_auth.cfg 93bee0bf9ddd711f2182b4280613f450bash-3.00$ ./run_manager --verbose send: -1 send: Bad file descriptor connect: Connection refused connect: Operation now in progress ps axu | grep boinc The Manager was cut off, sorry no output.Looks to me as thier are new files in "Home", maybe not.Donnot know what happened. Thanks Doug |
||
ID:
1163 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Sorry, will do that again, just looked and saw the wrong commands
|
||
ID:
1165 | Rating: 0
| rate:
![]() ![]() ![]() |
||
bash: [doug@localhost: command not found
|
||
ID:
1166 | Rating: 0
| rate:
![]() ![]() ![]() |
||
bash: 8192: command not found
|
||
ID:
1167 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Good news also, Climate finnaly "Tricked" some Ram up,LOLWill try command again Sunday morning Danniele.
|
||
ID:
1168 | Rating: 0
| rate:
![]() ![]() ![]() |
||
OK last night I installed big daddy into a virtual machine. It seems to be working ok. Boinc is @ about 9% of D@H wu.
|
||
ID:
1170 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Ok Doug, now there's Memo helping you :)
|
||
ID:
1174 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Well, it worked , I think Dannielle? :) I don't understand why the client is not using the old files, did you have to re-attach to projects? For sure there's a way to have the client to behave "the right way", but yesterday I realized I'm having too many problems with my exam... I have to study more than 16 hours per day until november 14th, if not I risk not to pass it... |
||
ID:
1175 | Rating: 0
| rate:
![]() ![]() ![]() |
||
OK last night I installed big daddy into a virtual machine. I LOVE brute force approaches :D Good work Memo, now take Doug to the goal, maybe a clean install is the best thing in this case. |
||
ID:
1176 | Rating: 0
| rate:
![]() ![]() ![]() |
||
OK last night I installed big daddy into a virtual machine. Thank you, for your "great" teachings, Dannielle, learned plenty about command lines, thanks to your Help/Was nice meeting and communicating with you also, all the best with your great plans.I may do a complete install of system before applying a new Boinc, just need to ask Memo the best "approach". Sincerely Doug* |
||
ID:
1177 | Rating: 0
| rate:
![]() ![]() ![]() |
||
OK last night I installed big daddy into a virtual machine. It seems to be working ok. Boinc is @ about 9% of D@H wu. Thanks Memo, I am thinking the best way to do this is a complete reinstall of this system, so the file system is clean.Will the new download overwrite my old Boinc Files? If so wonder if Manager problem will continue? I could delete all Boinc realted files in Home , keep home clean.Would take about 3 hours for complete install setting-up the partitions {lots of fun} now I have done it 6 times.Would deleteing all old Boinc related files be wrong or harmful to do? Regarding where to download, usually I download too, desktop, cut, and put in home, home is user? What is a virtual machine?Usually I make the download an "executable" and would assume I do the same with this method of install? I am going to do this cause 35 days of no crunching for Docking makes we want it more! By installing Boinc this way will Boinc start at Boot?, and how do I start it if not at Boot?And to install the new Boinc, use a Linux Console, or,the Linux "Shell"? That is all the info I need to do a good job, for once,{blush} Sincerely, and thank you Memo Doug |
||
ID:
1178 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I am thinking the best way to do this is a complete reinstall of this system, so the file system is clean.Will the new download overwrite my old Boinc Files? Only a word about the manager's problem in connecting to the client. I want to repeat this few concept because this is really a simple problem, due to the manager "not behaving the right way", and it can be solved in few seconds. You'll have this problem everytime you start the manager by a method different from usual, or reinstall the manager, or reinstall the client, so it's better to repeat it. Moreover you will experience this problem everytime you have to control a remote client. That file containing the password is created by the client everytime it is started, if there's not one in client's directory. Once the password is created and the manager knows it, you won't need to remember it and ell anything to the manager, unless the file get deleted or you install a new client or manager or start a second instance of client/manager while the first is running. If this happens, the new manager WON'T READ THE FILE and won't remember the password, so you'll have to type it by yourself when the manager asks for it. You can also modify the file and set the password you prefer, but in this case remember that the manager is not smart and will not manage to read the file, so you'll have to tell the manager the new password. That's all, for now. |
||
ID:
1179 | Rating: 0
| rate:
![]() ![]() ![]() |
||
OK last night I installed big daddy into a virtual machine. It seems to be working ok. Boinc is @ about 9% of D@H wu. If you reinstall boinc do it in a new directory you will need to reattach to all the projects. If you are in the middle of a huge workunit like climate prediction I will advise you to wait till its done. By installing boinc from scratch you will be able to replicate my results. I also moved my boinc download to home... don't like to have a mess in my desktop. To work on start boinc as a service I think you should first get it working this way, I never set up boinc as a service on linux since I run it on machines that are crunching always and they never shut down, but I think daniele has it this way so I think daniele can help us do that when the time comes As far as virtual machines I can give you this link to start with: http://en.wikipedia.org/wiki/Vmware VMWare is the system that I use but there are others... actually you can find references to those at the bottom of that page. If you need to read in another language you can go to wikipedia for that language and I am very positive that it will have the information as well. |
||
ID:
1180 | Rating: 0
| rate:
![]() ![]() ![]() |
||
GNU nano 1.3.11 File: run_client Modified
|
||
ID:
1183 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello,
|
||
ID:
1184 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello, Dummy Post, Have to make decision, 30% way through a large Climate "Model", Have never finished one due to trying different Distros.I have 3 run manager files, a Nano file, with 2 lines, as above, will reboot and do it right, and get a Charm W/U to run flawlessy.Could put the "new Boinc" in a seperate file, maybe.Plan to keep tying steps 6 through. Thanks Doug |
||
ID:
1185 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Probably debian mantainers choosen such high limits because the debian structure is very coherent and stable, so it's not a problem (in fact it's not). No problem. Thanks for the help. I'm still working on it. I pulled the source of the stable boinc client from CVS and found that when it starts a process, it does a fork and then the forked thread does an execv() to start the new program on Linux. I don't know for sure if the program that is started with execv() gets the limits of the boinc client or gets the default limits of the user it is running as. This could mean that even if the boinc client has unlimited stack, that the application for Docking@Home gets the default limits for the user. I've tracked down several places in RedHat RHEL3 where some limits are set for processes during startup, based on the user it is running as. I've now modified every one of those I could track down and modified the service startup code in /etc/init.d/boinc. The following files had to be modified. /etc/profile /etc/bashrc /etc/profile.d/limits.sh /etc/profile.d/limits.csh The ~/.bashrc doesn't have a ulimit command in it since it executes /etc/bashrc. When it gets the next Docking@Home work unit, we'll see if this fixed the problem. I was able to change the limits for a specific user so that they are in effect at login, so hopefully they'll stick when the Docking@Home application starts, whether it gets the default limits for the user it's running as or inherits them from the boinc client. Thanks, -- David |
||
ID:
1187 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Probably debian mantainers choosen such high limits because the debian structure is very coherent and stable, so it's not a problem (in fact it's not). As far as I know a child process contains all of the same info as the parent with the exception of PID and that sort of things. I would assume that execv() will have the unlimited soft stack option, unless I don't remember my OS class. Will check my notes and edit this post to include the things that change from parent to child process in forking... |
||
ID:
1188 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Thanks, Thank you, I'm learning a lot by looking at different approaches to the same problem. :) These days I'm studying hard, but sometimes I come here to read. |
||
ID:
1194 | Rating: 0
| rate:
![]() ![]() ![]() |
||
As far as I know a child process contains all of the same info as the parent with the exception of PID and that sort of things. I would assume that execv() will have the unlimited soft stack option, unless I don't remember my OS class. Will check my notes and edit this post to include the things that change from parent to child process in forking... I remember the same thing as you, the problem is that in my class nobody spoke about ulimit, too difficult a matter for a simple OS class. Anyway, it's not really true that those are the only differences between a child and its parent, so it could be that the `unlimited stack` won't be inherited (is it the right word in english?). Moreover (and anyway :D), I'm pretty sure that ulimit only applies to shell instances and sons, so it could be that a user who has unlimited stack on the login shell (or on the first interactive shell), has unlimited stack on other shell instances too. Falling back to electronics... I hate numerical filters... |
||
ID:
1195 | Rating: 0
| rate:
![]() ![]() ![]() |
||
As far as I know a child process contains all of the same info as the parent with the exception of PID and that sort of things. I would assume that execv() will have the unlimited soft stack option, unless I don't remember my OS class. Will check my notes and edit this post to include the things that change from parent to child process in forking... The "intellingence" in this thread is wonderful, I donnot understand that much, a little, but it is Paramount that others get the opportunity to read all the input, ideas, and gained Knowledge. Thanks Danniele, Memo, David, Andre Good luck Sincerely Doug Worrall |
||
ID:
1197 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Here is some information on fork() and exec()
|
||
ID:
1199 | Rating: 0
| rate:
![]() ![]() ![]() |
||
bash-3.00$ nohup ./run_client &
|
||
ID:
1200 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
1206 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
1209 | Rating: 0
| rate:
![]() ![]() ![]() |
||
When I had errors in my WUs, no one appeared in more than 11 minutes, most of the times it took 8-9 minutes to stop the execution :) edit: I don't like "the error showed..." :) |
||
ID:
1210 | Rating: 0
| rate:
![]() ![]() ![]() |
||
This one is 14.612% after 40 minutes any take? Thanks Dannielle Doug |
||
ID:
1211 | Rating: 0
| rate:
![]() ![]() ![]() |
||
You have scored this goal! GOAAAAAAALLLLLLLLLLLLL Good job Doug and Memo :D |
||
ID:
1212 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Keep us informed, I'm worried about this WU's life. |
||
ID:
1214 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Thanks Dannielle and Memo, How would I restart this #2 Boinc, without the Climate Model. which I donnot care about, if this continues to work, and not error out.Should I save the Konsole session?Still is up now?Have saved all the outputs,etc.., Its now 17% 50 minutes, are the w/u that stable? and accurate? Thanks Memo and Danniele EHaaaaa Doug |
||
ID:
1215 | Rating: 0
| rate:
![]() ![]() ![]() |
||
How would I restart this #2 Boinc, without the Climate Model. which I donnot care about, if this continues to work, and not error out.Should I save the Konsole session?Still is up now?Have saved all the outputs,etc.., I have not followed the last posts because of the exam, so I don't exactly what you have done on your system. Memo will have the right answer to this question. After solving this "stack's problem" my WUs were all crunched without any errors, so I hope they will behave the same on your system. |
||
ID:
1216 | Rating: 0
| rate:
![]() ![]() ![]() |
||
How would I restart this #2 Boinc, without the Climate Model. which I donnot care about, if this continues to work, and not error out.Should I save the Konsole session?Still is up now?Have saved all the outputs,etc.., Here is the out put from steps 6 on" ulimit -s unlimited cd "/home/doug/BOINC" && exec ./boinc $@ [ Read 2 lines ] bash-3.00$ y bash: y: command not found bash-3.00$ nohup ./run_client & [1] 3034 bash-3.00$ nohup: appending output to `nohup.out' nohup ./run_manager & nohup: appending output to `nohup.out' [2] 3035 bash-3.00$ And now the w/u is 25.7% after 1 hour.Memo, if you are able to read this some time sonn, could you let me know the next steps, I will just have to leave the P.C. crunching these w/u till I get home, She is running quite Warm right now due to the higher temps outside, "For Haloween"Now, 33% for 1 hour and 32 seconds, sound O.K.? Thansk Dannielle Doug |
||
ID:
1217 | Rating: 0
| rate:
![]() ![]() ![]() |
||
How would I restart this #2 Boinc, without the Climate Model. which I donnot care about, if this continues to work, and not error out.Should I save the Konsole session?Still is up now?Have saved all the outputs,etc.., |
||
ID:
1218 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I have to leave again, but, its at 59.162% and 2 hours and 44 minutes, what size are the average Linux w/u?And how long on the average?
|
||
ID:
1219 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hi Doug,
I have to leave again, but, its at 59.162% and 2 hours and 44 minutes, what size are the average Linux w/u?And how long on the average? ____________ D@H the greatest project in the world... a while from now! |
||
ID:
1221 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hi Doug, Hello Andre,Thank-You Just got home. 83.91% complete at 4 hours, you look right on que with the time. How do I quit Boinc and be able to start this one up again.Could transfer my Manager to desktop, for now, but how would I restart this client and this manager?Ehaaaaa, took 38 days or so of really beating my head against the wall. Ehaaaaa, Thank you for all you have acomplished,Also the Console is still "up".Have many options in its menu.Think I need to save it somehow?Last time I quit the console when Boinc Manager was up and running, lost the Boinc Manger and the client running..The console is not using any power at all by running a top on other console.Would I have to keep doing the commands, or a simplified one? Ehaaa Doug Sincerely Doug |
||
ID:
1224 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hi Doug, |
||
ID:
1226 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Also the Console is still "up".Have many options in its menu.Think I need to save it somehow?Last time I quit the console when Boinc Manager was up and running, lost the Boinc Manger and the client running..The console is not using any power at all by running a top on other The console in that case is a session manager, you can verify this by ps axu |grep bash and looking at the 8th column. You'll see a code like this ---> Ss. If I remember well, the second "s" stands for "session manager". Generally speaking, when a session manager get terminated, its sons get terminated as well (this behaviour can be changed for a particular process). You can make a process become a session manager in many ways, the first and more useful in this case is to run it as a daemon (i.e. a service running in background with specific features). This way you can close the console and the client will remain active. Ask Memo and David how to manage services in non-Debian distros. Maybe you can simply try the options of the client -daemon, I don't know if it works. I use the debian subsystem for managing daemons. I don't understand well what you mean by saving the options of the console, because I didn't read carefully the steps you followed, but if you mean that you want to automatically start the client or something similar, then it's simple and Memo will surely help you. You have to create a little init script, link it to an entry in the kde menu, then use the menu. Anyway, good job Doug! |
||
ID:
1233 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Also the Console is still "up".Have many options in its menu.Think I need to save it somehow?Last time I quit the console when Boinc Manager was up and running, lost the Boinc Manger and the client running..The console is not using any power at all by running a top on other Thanks Dannele, Ran Docking for 24 Hours, Stable w/u , Linux Benchs, are actually used, not used to that,For now will start up Boinc with the console, just noy say yes to save file. have 3 of them, LOL.Tried the console to restart Boinc again, did not say yes to save file, did not work, obviously, Beleive I am learning much latley. Am finishing the Malaria w/u I had in the Old Boinc, once they are done will start another new Boinc with Console, run Docking w/u all afternoon and night. Hello Memo Doug |
||
ID:
1234 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Have to make a decision.Inside by Main Boinc folder in /home/doug/BOINC
|
||
ID:
1236 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I made sure that the client was running with ulimit -s unlimited and it still failed after about 800 seconds. I've now upgraded the boinc client from 5.2.13 to 5.4.9 on the RedHat RHEL3 Machine and will see if that makes a difference tonight.
|
||
ID:
1240 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Doug,
|
||
ID:
1241 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Doug, Hello Memo, I tryed getting back to the Boinc that you helped me get going, with no success.Attached to docking and crunched 24 hours flawlessly, thanks to your method from virtual machine, did not download new Boinc yet, cause, I donnot know how to restart Boinc#2.Lets call Boinc#1 the old Boinc way and Boinc#2, the new way. I wrote a letter to you at Docking UTEP.I could send a screen shot of the /home/doug/BOINC folder, which has run_client.save, run_client.save.1,4 run_manager files, and the Docking files are in there also.Tried not saying "yes" to save the file, while trying to get it going again, no such luck. tring to get Boinc#2 running again to crunch Docking again.{want to automatically start the client or something similar, then it's simple and Memo will surely help you. You have to create a little init script, link it to an entry in the kde menu, then use the menu.}Dannielle mentioned this about an init scipt? to restart that instance of Boinc, So I can run Docking?And restart it? When I clicked off the Boinc Manager, Boinc client stopped also, wheras, when I start Boinc#1, and x out the Manager, it keeps crunching. Thanks Memo Good luck Dave Doug |
||
ID:
1242 | Rating: 0
| rate:
![]() ![]() ![]() |
||
So new boinc client works good with d@h but you are still crunching the other projects with the old boinc?
|
||
ID:
1243 | Rating: 0
| rate:
![]() ![]() ![]() |
||
So new boinc client works good with d@h but you are still crunching the other projects with the old boinc? Sorry, I am being unclear.I donnot know how to restart new Boinc, I donnot know how to restart it, ?the session, or the new Boinc at all.Sorry, dummy here.I would have to Reatach each time to new project. Thanks again Memo Doug |
||
ID:
1244 | Rating: 0
| rate:
![]() ![]() ![]() |
||
So new boinc client works good with d@h but you are still crunching the other projects with the old boinc? and under which boinc you got docking @ home working? |
||
ID:
1245 | Rating: 0
| rate:
![]() ![]() ![]() |
||
So new boinc client works good with d@h but you are still crunching the other projects with the old boinc? |
||
ID:
1247 | Rating: 0
| rate:
![]() ![]() ![]() |
||
So new boinc client works good with d@h but you are still crunching the other projects with the old boinc? |
||
ID:
1249 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello, Memo
|
||
ID:
1338 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello, Memo Memo, After I finish this w/u, and I want to start-up "this" instance of Boinc, after ending the session. How might I do that?.By the way, PClinuxOS have a Folding@home team, does not use a Boinc Client, just the way Seti used to be.FYI, thats all. Sincerely Doug Worrall {smiling} |
||
ID:
1339 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
1345 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hi Doug, my great friend. I have little spare time and I can't read the part of the thread I didn't participate to, so would you explain your problem? Are you running two boinc clients for docking and for the other projects? |
||
ID:
1348 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
1354 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I am sure you did real well for your exams Dannielle, Thank you my friend :) The exams will be on november 14th, now I'm studying hard. Regarding your problem, maybe the simplest solution is to set the first client (the one with 4 projects attached) to "don't allow new tasks", and when it completes the current ones you can detach the client from those projects, and reattach the second client. Then you (we) make a shortcut on the desktop and you won't have to use the console. I know that you have climateprediction running on the first client, so it's a problem to complete that WU, but you could start with the other 3 projects. It's not simple to run two clients with the same manager if you are using the same directory with the same user on the same host, I don't even know if the standard client and manager can manage this situation. If they can do it, probably it would be a bit difficult to make the trick work. WHile I'm waiting for my exams to come to an (happy) end... you are using kde, so you probably have these two programs: Krdc and Krfb. They allow to share a desktop session, so I could work on your system from mine. I've not used them yet, but they could be useful if you have any problems and want me to solve the problem without having to write thousands of lines in this thread. Not a problem for now, I have to study. Bye Doug :) |
||
ID:
1355 | Rating: 0
| rate:
![]() ![]() ![]() |
||
"Then you (we) make a shortcut on the desktop and you won't have to use the console." This is the answer
|
||
ID:
1359 | Rating: 0
| rate:
![]() ![]() ![]() |
||
It may have worked prperly this time.Erased all Docking files in home/doug/BOINC,
|
||
ID:
1367 | Rating: 0
| rate:
![]() ![]() ![]() |
||
:) The exams will be on november 14th, now I'm studying hard. Good luck on your exams daniele! Doug, I'm glad things are going better for you! I'm still fighting with RHEL3, but I might have it beaten. I put an if statement with some specific code for user boinc in the various setup files (/etc/profile, /etc/bashrc, /etc/profile.d/limits.sh) that mess with limits. We'll see tonight. It only gets one work unit per day and processes it immediately. I'll keep my fingers crossed for everybody :-) OT: BTW, who won the college football game. I live in Alabama and I think we played UTEP today. I don't usually keep track of football (probably daniele would say American Football). I have kind of gotten hooked into watching the Nextel Cup car racing this year. It's amazing the technology they use in those race cars and also the safety technology. I've seen some amazing crashes and the drivers never seem to get hurt. They hit the wall at 190 mph ( IIRC 100 kph ~= 60 mph), get hit 2 or three other times by cars that couldn't avoid them, and go on to finish the race. A few years ago, just hitting the wall was fatal, but now they often spin around a couple of times until they're pointed in the right direction and continue with the race, possibly without even making a pit stop or going a lap down. I've even seen a driver, who lost the race, drive through the pit area and come flying out and ram the race winner during the victory lap just to show he thought the winner did something wrong. The only injury I heard of this season was to a pit crew member who had changed a tire and didn't get his leg completely out of the way when the jack dropped the car. The safety technology is just unbelievable!!! Good Luck, -- David |
||
ID:
1371 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello Dave,
|
||
ID:
1372 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello Dave, Doug what files are you erasing? As far as I know you don't have to erase anything. |
||
ID:
1376 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Hello Memo,
|
||
ID:
1381 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
1383 | Rating: 0
| rate:
![]() ![]() ![]() |
||
|
||
ID:
1384 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I couldn't follow your successes in the past days, but I'm happy if you managed to solve the problem! Did you manage? As far I can see you are running two clients in two different home directories :) |
||
ID:
1385 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I couldn't follow your successes in the past days, but I'm happy if you managed to solve the problem! Did you manage? As far I can see you are running two clients in two different home directories :) TeHe, Yup, Works great Dannielle.Thanks "ehh". Doug |
||
ID:
1386 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I am glad you are crunching and that you are learning new things. |
||
ID:
1387 | Rating: 0
| rate:
![]() ![]() ![]() |
||
I am glad you are crunching and that you are learning new things. Thanks Memo, Today, learned that a reboot isnot nessary after ending a session, and also, the session starts, where I left-off, stayed in memory. Have a concern, have been studying the Linux credits. This is my P.C.s latest results here: 48527 13852 15 Nov 2006 23:54:47 UTC 16 Nov 2006 5:25:22 UTC Over Success Done 16,303.71 17.94 pending 48481 13840 16 Nov 2006 21:29:33 UTC 17 Nov 2006 2:10:14 UTC Over Success Done 16,330.77 17.97 pending 47492 12800 15 Nov 2006 19:48:35 UTC 16 Nov 2006 0:45:07 UTC Over Success Done 16,286.76 15.88 15.82 46586 13309 13 Nov 2006 1:22:56 UTC 13 Nov 2006 7:41:59 UTC Over Success Done 16,667.08 17.63 15.98 45553 13001 9 Nov 2006 14:39:36 UTC 9 Nov 2006 19:26:51 UTC Over Success Done 16,652.13 17.61 16.20 45329 12651 11 Nov 2006 9:08:56 UTC 11 Nov 2006 14:18:18 UTC Over Success Done 17,022.82 18.00 18.00 44747 12777 12 Nov 2006 21:12:07 UTC 13 Nov 2006 1:54:45 UTC Over Success Done 16,220.52 17.16 16.24 44205 9490 9 Nov 2006 19:19:00 UTC 9 Nov 2006 22:01:49 UTC Over Success Done 8,566.63 9.06 9.06 44136 12628 11 Nov 2006 4:34:03 UTC 11 Nov 2006 9:47:47 UTC Over Success Done 16,479.02 17.43 16.07 43387 11406 1 Nov 2006 1:20:46 UTC 1 Nov 2006 6:45:25 UTC Over Success Done 16,689.32 16.14 14.66 These results worry me seeing I receive less than 5 cobblestones per Hour? GenuineIntel Intel(R) Celeron(R) CPU 2.40GHz Operating System Linux 2.6.17.14.tex1 Memory 748.96 MB Cache 256 KB Swap space 1592.34 MB Total disk space 18.62 GB Free Disk Space 17.63 GB Measured floating point speed 614.46 million ops/sec Measured integer speed 1635.7 million ops/sec This is the "Best" ever {Floating speed, and, Integer speed} Ran a Benchmark last night when cache was quite full, and very little free Physical memory, which, I just learned, that your system is well configured, {LINUX} when the RAM is working well."Still a newbie", not completely sure about this comment. For Linux, are these credits "on par" with other P.C,s that are close to this one? Thanks for any response. Doug |
||
ID:
1462 | Rating: 0
| rate:
![]() ![]() ![]() |
||
Message boards : Number crunching : Linux users
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)#172 (2) { ["db_conn"]=> resource(102) of type (mysql link persistent) ["db_name"]=> string(7) "docking" } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(50) "update DBNAME.thread set views=views+1 where id=59" } } [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)#172 (2) { ["db_conn"]=> resource(102) of type (mysql link persistent) ["db_name"]=> string(7) "docking" } ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> object(BoincThread)#3 (16) { ["id"]=> string(2) "59" ["forum"]=> string(1) "2" ["owner"]=> string(2) "74" ["status"]=> string(1) "0" ["title"]=> string(11) "Linux users" ["timestamp"]=> string(10) "1163734625" ["views"]=> string(4) "4203" ["replies"]=> string(3) "166" ["activity"]=> string(23) "2.0704053566896998e-127" ["sufferers"]=> string(1) "0" ["score"]=> string(1) "0" ["votes"]=> string(1) "0" ["create_time"]=> string(10) "1159305547" ["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(2) "59" ["forum"]=> string(1) "2" ["owner"]=> string(2) "74" ["status"]=> string(1) "0" ["title"]=> string(11) "Linux users" ["timestamp"]=> string(10) "1163734625" ["views"]=> string(4) "4203" ["replies"]=> string(3) "166" ["activity"]=> string(23) "2.0704053566896998e-127" ["sufferers"]=> string(1) "0" ["score"]=> string(1) "0" ["votes"]=> string(1) "0" ["create_time"]=> string(10) "1159305547" ["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=59