Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 47
Posts: 47   Pages: 5   [ Previous Page | 1 2 3 4 5 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2117 times and has 46 replies Next Thread
uplinger
Former World Community Grid Tech
Joined: May 23, 2005
Post Count: 3952
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Boinc under Ubuntu gives Computation error on all WUs

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
[Oct 5, 2009 2:16:31 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: Boinc under Ubuntu gives Computation error on all WUs

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
Mon 05 Oct 2009 09:07:22 SAST||Disk: 58.96 GB total, 49.33 GB free
Mon 05 Oct 2009 09:07:22 SAST||Local time is UTC +2 hours
Mon 05 Oct 2009 09:07:22 SAST||No coprocessors
Mon 05 Oct 2009 09:07:22 SAST|World Community Grid|URL: http://www.worldcommunitygrid.org/; Computer ID: 1062808; location: (none); project prefs: default
Mon 05 Oct 2009 09:07:22 SAST||General prefs: from World Community Grid (last modified 24-Sep-2009 17:13:32)
Mon 05 Oct 2009 09:07:22 SAST||Host location: none
Mon 05 Oct 2009 09:07:22 SAST||General prefs: using your defaults
Mon 05 Oct 2009 09:07:22 SAST||Reading preferences override file
Mon 05 Oct 2009 09:07:22 SAST||Preferences limit memory usage when active to 979.30MB
Mon 05 Oct 2009 09:07:22 SAST||Preferences limit memory usage when idle to 1468.95MB
Mon 05 Oct 2009 09:07:22 SAST||Preferences limit disk usage to 9.31GB

----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Oct 5, 2009 3:43:00 PM]   Link   Report threatening or abusive post: please login first  Go to top 
uplinger
Former World Community Grid Tech
Joined: May 23, 2005
Post Count: 3952
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Boinc under Ubuntu gives Computation error on all WUs

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
[Oct 5, 2009 4:27:32 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Boinc under Ubuntu gives Computation error on all WUs

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]
[Oct 6, 2009 6:32:22 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Boinc under Ubuntu gives Computation error on all WUs

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
[Oct 7, 2009 5:50:40 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Boinc under Ubuntu gives Computation error on all WUs

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
laughing hugs
----------------------------------------
[Edit 1 times, last edit by Former Member at Oct 7, 2009 10:09:51 AM]
[Oct 7, 2009 8:29:12 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
[RESOLVED] Boinc under Ubuntu gives Computation error on all WUs

Thank YOU for persevering

applause

(sadly, we don't know the root cause now raised eyebrow )
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Oct 7, 2009 8:43:07 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 47   Pages: 5   [ Previous Page | 1 2 3 4 5 ]
[ Jump to Last Post ]
Post new Thread