Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
World Community Grid Forums
Category: Support Forum: BOINC Agent Support Thread: Boinc under Ubuntu gives Computation error on all WUs (RESOLVED) |
No member browsing this thread |
Thread Status: Active Total posts in this thread: 47
|
Author |
|
uplinger
Former World Community Grid Tech Joined: May 23, 2005 Post Count: 3952 Status: Offline Project Badges: |
Please check the size of your swap...Generally when you set up Ubuntu this is 2 times the size of the physical memory on the computer. But also try the memory tests as those errors lean towards memory issues. As when the allocation does not work properly.
-Uplinger |
||
|
Sekerob
Ace Cruncher Joined: Jul 24, 2005 Post Count: 20043 Status: Offline |
Hi Uplinger
----------------------------------------Looked at those before if there was cram, but all is fine to me in that department what the file tells: Mon 05 Oct 2009 09:07:22 SAST||Memory: 1.91 GB physical, 3.08 GB virtual
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All! |
||
|
uplinger
Former World Community Grid Tech Joined: May 23, 2005 Post Count: 3952 Status: Offline Project Badges: |
Sek you are right, the size of the swap space appears to be large enough.
Just a thought though, is something else is running on that computer to use up some of that swap space? Just because there is 3GB registered of swap, if 2.99GB are used up...could cause this error as well. From what I understand with BOINC it does not currently keep track of virtual memory like it does physical memory. Basically from the API the error is coming from pthreads.... "The system lacked the necessary resources to create another thread, or the system-imposed limit on the total number of threads in a process PTHREAD_THREADS_MAX would be exceeded" This could mean that BOINC is trying to create too many threads. What are you max pthreads set to? This is mine...on Ubuntu 9.04 32bit cat /usr/include/bits/local_lim.h | grep THREADS #define _POSIX_THREAD_THREADS_MAX 64 #undef PTHREAD_THREADS_MAX So basically each process should be able to create 64 threads...I believe only 3 are created. Also, i do not believe it is a permission issue since the application was able to get to boinc_init which is called within the application. (Note: when installing with sudo apt-get, BOINC is installed and run under a new ID called "boinc") So long post later, I am guessing that it is a memory issue. I for some reason believe it is virtual memory issue, but it is best to do a full system test, both memory and hard drive scans. -Uplinger |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
OK - we are making progress.
----------------------------------------I ran the HDD and memory tests last night, and both ran through without errors - clean. From the local_lim.h file, * The number of data keys per process. */ #define _POSIX_THREAD_KEYS_MAX 128 /* This is the value this implementation supports. */ #define PTHREAD_KEYS_MAX 1024 /* Controlling the iterations of destructors for thread-specific data. */ #define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4 /* Number of iterations this implementation does. */ #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS /* The number of threads per process. */ #define _POSIX_THREAD_THREADS_MAX 64 /* We have no predefined limit on the number of threads. */ #undef PTHREAD_THREADS_MAX /* Maximum amount by which a process can descrease its asynchronous I/O priority level. */ #define AIO_PRIO_DELTA_MAX 20 /* Minimum size for a thread. We are free to choose a reasonable value. */ #define PTHREAD_STACK_MIN 16384 /* Maximum number of timer expiration overruns. */ #define DELAYTIMER_MAX 2147483647 /* Maximum tty name length. */ #define TTY_NAME_MAX 32 I'll check on virtual memory later Thanks guys Virtual memory seems to be OK at 3Gb [Edit 2 times, last edit by Former Member at Oct 6, 2009 8:42:59 AM] |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Hi guys - I have decided to re-install Ubuntu and try again.
So, I will be down until re-install complete (probably up again on Friday) Cheers till then Raul |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
OK - blow me down - after the re-install, boinc installs and runs perfectly. I dont know why, but am very pleased - all seems to be resolved.
----------------------------------------Many thanks fo Sekerob and Uplinger for their assistance. I will edit first post to say (RESOLVED) Raul [Edit 1 times, last edit by Former Member at Oct 7, 2009 10:09:51 AM] |
||
|
Sekerob
Ace Cruncher Joined: Jul 24, 2005 Post Count: 20043 Status: Offline |
Thank YOU for persevering
----------------------------------------(sadly, we don't know the root cause now )
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All! |
||
|
|