Re: [boinc_dev] BOINC API issue with android arm?

2017-04-06 Thread Eric Driver
Hi David,

A couple years ago I built an android app for the NumberFields@home project.  I 
too saw random seg faults about 50% of the time, and this was with code that 
worked perfectly on linux/windows/mac platforms.  I never figured it out, 
primarily because I was too busy to learn how to use the android debugger.  I 
put it on the back burner and never came back to it.  So I'm glad to see you 
may have figured it out.

As a side note, do you get enough android users to justify the extra work of 
maintaining the android app?  

Thanks,
Eric



-Original Message-
From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of David 
E Kim
Sent: Wednesday, April 05, 2017 11:40 AM
To: boinc_dev@ssl.berkeley.edu
Subject: [boinc_dev] BOINC API issue with android arm?

Hi all,

I’m not sure if this is the right list to use but thought I’d mention it here.  
 I tried to contact David Anderson via email but have not heard back.

I was wondering if anyone has random seg fault issues with their android apps 
for their BOINC projects.  Our Rosetta@home android application had pretty bad 
success rates and I found that the main cause was the use of “setitimer” in the 
“start_worker_signals” function in the boinc_api.cpp code.  Our Rosetta app 
runs stable without the BOINC api, but when using the default api, it crashed 
randomly.

I developed a workaround which avoids “setitimer" in the api code and our app 
is stable with the modified BOINC api and is now in production for our 
Rosetta@home project.  Our success rates for android arm have gone from 40-60% 
to 95%.

I’m wondering if this is just a Rosetta application induced bug (it’s a pretty 
substantial scientific app) or a general android issue.

Thanks,

David Kim
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
https://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
https://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Re: [boinc_dev] forum error message

2017-01-04 Thread Eric Driver
Does anyone else run their project servers using php7?  I've been told that
BOINC is incompatible with php7, which I find hard to believe, so thought I
would check with everyone here.

Eric

-Original Message-
From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of Eric
Driver
Sent: Saturday, December 31, 2016 5:36 PM
To: 'BOINC Dev Mailing List' <boinc_dev@ssl.berkeley.edu>; 'boinc_projects'
<boinc_proje...@ssl.berkeley.edu>
Subject: [boinc_dev] forum error message

I just noticed that I am unable to post messages on the NumberFields@home
project forums.  After clicking the "OK" button I get a "404 Not Found" error
with the following message:

The requested URL /NumberFields/missing_arg_id.html was not found on this
server.

 

Has anyone ever seen this before?  Any suggestions on how to fix it?

 

The problem seems to coincide with an upgrade to PHP 7.0.8, which we did about 3
weeks ago (we haven't had any messages on the boards since then).

 

Thanks,

Eric

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


[boinc_dev] forum error message

2016-12-31 Thread Eric Driver
I just noticed that I am unable to post messages on the NumberFields@home
project forums.  After clicking the "OK" button I get a "404 Not Found" error
with the following message:

The requested URL /NumberFields/missing_arg_id.html was not found on this
server.

 

Has anyone ever seen this before?  Any suggestions on how to fix it?

 

The problem seems to coincide with an upgrade to PHP 7.0.8, which we did about 3
weeks ago (we haven't had any messages on the boards since then).

 

Thanks,

Eric

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] problem with check pointing

2016-05-26 Thread Eric Driver
I think my problem is a little different.  First of all, it is very rare; maybe 
1 out of every 1 WUs.  I know it's happening because I see it in the stderr 
for the WU, where the first thing it does is read the checkpoint file, which 
should not exist at the start.  It's as if the BOINC manager starts using the 
slot for a new WU before the OS has had a chance to delete the old check point 
file.  That's why I thought a work around would be to use a unique checkpoint 
name for each WU, hence my original question.

Eric



-Original Message-
From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of Filip 
Rydlo
Sent: Thursday, May 26, 2016 10:32 AM
To: BOINC-dev email list <boinc_dev@ssl.berkeley.edu>
Subject: Re: [boinc_dev] problem with check pointing

Now that you mention checkpointing problem .
I remember that I have detected it too.

Might have the same cause!

  In my case on Win7 x64 prof.EN , on latest betaver. boinc  .29+  :
Project: Asteroids@home

Symptom:  every time I restarted my PC (I closed Boinc manually way before
the shutdown), I noticed that ALL workunits of Asteroids   started from
zero percent.  I noticed this in 100 percent of restarts , at least 3 times now 
in the last 2 weeks.
So, I decided to report the problem.

  Please, can someone confirm this? I mean not NOW but ... once the 
Asteroids server is back in full-operation.  (It has had run out of disk
space, recently).   :)

I will definitely try to downgrade and test it on previous Boinc version
*soon* to see if the behavior was correct back there.

' will let ya know...

Thank You
Filip
Dne 26. 5. 2016 6:12 odpoledne napsal uživatel "Eric Driver" <
edriv...@cox.net>:

I've noticed that sometimes when the client starts a fresh work unit, it will 
read the check point file of a previous work unit.  Not sure how/why this is 
happening, but this is obviously not a good thing.  One way I can fix this is 
to use a checkpoint filename unique to the WU (up until now all WUs use the 
same generic name).  I'd like to key off of the work unit dat filename, but it 
is not immediately apparent how to get my hands on that information from inside 
my main app.  Can someone point me to an easy way to do this, or possibly 
another solution to this problem.



Thanks!

Eric



___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

[boinc_dev] problem with check pointing

2016-05-26 Thread Eric Driver
I've noticed that sometimes when the client starts a fresh work unit, it will
read the check point file of a previous work unit.  Not sure how/why this is
happening, but this is obviously not a good thing.  One way I can fix this is to
use a checkpoint filename unique to the WU (up until now all WUs use the same
generic name).  I'd like to key off of the work unit dat filename, but it is not
immediately apparent how to get my hands on that information from inside my main
app.  Can someone point me to an easy way to do this, or possibly another
solution to this problem.

 

Thanks!

Eric

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


[boinc_dev] stopforumspam blocking valid emails

2016-03-09 Thread Eric Driver
I have a user whose email domain is being blocked by stopforumspam.  He suggests
creating a project "white list" to allow specific addresses to pass.  Is this
something that would be possible to implement?  He gives example code in the
following thread (I imagine the white list would need to be moved to the
project.inc file):

http://numberfields.asu.edu/NumberFields/forum_thread.php?id=280

 

Thanks,

Eric

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


[boinc_dev] problem with deleting spammers

2015-06-23 Thread Eric Driver
Like most projects, we have had some issues with spammers.  I did the usual
things to stop the spam, which I believe is working well enough.  Realizing I
had over 7 user accounts, but only about ~8000 of those legitimate, I
decided to run the delete_spammers.php script.  This was about 3 weeks ago.  Now
I have at least 1 user who claims his account disappeared.  Also, according to
BOINCstats, the total credits dropped on the day I ran delete_spammers.  The
question is how is that possible when delete_spammers is only supposed to delete
those accounts with no hosts (i.e. no credit)?

 

I looked at my command history and found the exact commands I used.  Note that
the first time I ran delete_spammers I had the options out of order.  Here are
the commands:

1st Time:   php delete_spammers.php --user_url --days 60

2nd Time:  php delete_spammers.php --days 60 --user_url

 

Looking at the code, I believe putting --user_url first only means it ignores
the days option, so it checked every user, regardless of create time.

 

Here are some forum threads for any who are interested:

http://numberfields.asu.edu/NumberFields/forum_thread.php?id=242

http://boincstats.com/en/forum/10/10205

 

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] building boinc libraries on mingw

2015-03-29 Thread Eric Driver
I never did get the boinc libraries to build via mingw/msys.  I am not sure if
it's something I was doing wrong, or if the problem is with the boinc code.

If anyone is interested, what did work for me was building with MinGW from linux
as a cross compiler.  It did require a couple minor tweaks to the boinc code,
but other than that I got working libraries (my apps are working as expected).

Eric
NumberFields@home


-Original Message-
From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of Eric
Driver
Sent: Tuesday, March 24, 2015 10:08 PM
To: 'Boinc Projects'; 'BOINC Dev Mailing List'
Subject: [boinc_dev] building boinc libraries on mingw

I am trying to build my project apps for the windows platform by using mingw and
msys.  I started with the instructions here:
http://boinc.berkeley.edu/trac/wiki/CompileAppWin  under the section MinGW
command-line.

 

Other than needing to manually install pkg-config (doesn't come with mingw), the
_autosetup and configure steps completed successfully.   But I am currently
stuck on the make -f Makefile.mingw step.  The compiler is looking for a bunch
of windows headers which do not exist in mingw, but I did find them in my Visual
Studio directory.  I played around with including these Visual Studio headers
but that just led to other errors.

 

Does anyone have any guidance here on how to proceed?  Is there some mingw
package I need to manually install that will give me the necessary win32
headers?

 

Thanks!

Eric Driver

NumberFields@home

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


[boinc_dev] building boinc libraries on mingw

2015-03-24 Thread Eric Driver
I am trying to build my project apps for the windows platform by using mingw and
msys.  I started with the instructions here:
http://boinc.berkeley.edu/trac/wiki/CompileAppWin  under the section MinGW
command-line.

 

Other than needing to manually install pkg-config (doesn't come with mingw), the
_autosetup and configure steps completed successfully.   But I am currently
stuck on the make -f Makefile.mingw step.  The compiler is looking for a bunch
of windows headers which do not exist in mingw, but I did find them in my Visual
Studio directory.  I played around with including these Visual Studio headers
but that just led to other errors.

 

Does anyone have any guidance here on how to proceed?  Is there some mingw
package I need to manually install that will give me the necessary win32
headers?

 

Thanks!

Eric Driver

NumberFields@home

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] [boinc_projects] making android versions of apps

2015-02-27 Thread Eric Driver
Thanks!  I missed that the first time.

 

  _  

From: Stephen Maclagan [mailto:stephen.macla...@hotmail.com] 
Sent: Friday, February 27, 2015 4:19 PM
To: Eric Driver; 'BOINC Dev Mailing List'; 'Boinc Projects'
Subject: RE: [boinc_projects] making android versions of apps

 

You can add projects by url too,
On the projects tab, in the top right corner there is a 'add project by URL'
button.
 
Claggy
 

 From: edriv...@cox.net
 To: boinc_dev@ssl.berkeley.edu; boinc_proje...@ssl.berkeley.edu
 Date: Fri, 27 Feb 2015 15:43:34 -0700
 Subject: [boinc_projects] making android versions of apps
 
 Hi David,
 
 
 
 I recently cross-compiled my project apps for the arm-android-linux-gnu
 platform. I tested them on my android nexus phone in stand alone mode, and
 everything is working as expected. I usually do further testing by using a
 private server that I run from my home computer - I normally have some friends
 connect and run a few test WUs. Anyways, I downloaded BOINC from the play
 store, and it only allows me to select from a fixed set of projects (I imagine
 this is due to android security restrictions), so I am unable to do any
testing
 beyond my own personal phone.
 
 
 
 So 2 questions: (1) Is there a good way to do further testing; and (2) once I
 am confident my apps are good, how do I go about getting them on the android
 BOINC list?
 
 
 
 Thanks,
 
 Eric
 
 
 
 ___
 boinc_projects mailing list
 boinc_proje...@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_projects
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] Credit AMD CPU vs Intel CPU.

2014-08-29 Thread Eric Driver
David,

If it helps, NumberFields grants credit based on runtime (Credit New doesn't
work for us), so the benchmarks are important.  Looking at Grandpa's benchmarks:
AMD Host:   GFLOPS = 2.08, GIOPS = 9.23
Intel Host: GFLOPS = 3.01, GIOPS = 11.44
(These are for 2 hosts that are doing approximately the same amount of work)

These benchmarks explain the 30% discrepancy between his AMD and Intel hosts.  I
had Grandpa rerun his benchmarks, and they stayed about the same as above.

So I would ask, how can the benchmark tests be so different between AMD and
Intel, when the hosts are clearly doing the same amount of work?

Eric



-Original Message-
From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of Jord
van der Elst
Sent: Friday, August 29, 2014 8:46 AM
To: David Anderson
Cc: BOINC Dev Mailing List
Subject: [boinc_dev] Credit AMD CPU vs Intel CPU.

Hi David,

In https://boinc.berkeley.edu/dev/forum_thread.php?id=9569 user
Grandpa reports that he has found a big discrepancy between credit
given out to AMD CPUs versus credit given out to Intel CPUs, at the
Numberfields project.

I'll quote his last post on this:


AMD Opteron(TM) Processor 6276 [Family 21 Model 1 Stepping 2]
(64 processors)
Total runtime 100 WU's 1810010.65 Total points 100 WU's 26128.8 Grandma 6276 AMD
Avg runtime per WU sec. 18100.1065 avg points per WU 261.288 3042Mhz
Avg runtime per WU min. 301.6684416667
Avg runtime per WU hr. 5.0278073611 avg points per hr runtime 51.9685781959

Genuine Intel(R) CPU @ 2.70GHz [Family 6 Model 45 Stepping 5]
(64 processors)
Total runtime 100 WU's 1839477.54 Total points 100 WU's 38003.75 Musky
4650 Intel
Avg runtime per WU sec. 18394.7754 avg points per WU 380.0375 3134Mhz
Avg runtime per WU min. 306.57959
Avg runtime per WU hr. 5.1096598333 avg points per hr runtime 74.3762818653

OK but it still does not change the fact that this type of credit
system has a pretty big flaw in it. According to the developer at
Numberfields each of the machines above are doing the same amount of
work and lets say that each WU is worth 1 FLOPS since the numbers were
averaged over 100 WU's each and all things being equal those 2
machines should have received roughly the same amount of credit with a
slight advantage going to the AMD, but in actuality AMD is receiving
30% less.

I do not really see this as being a fair credit system to the AMD
users when it come to certain types of work.

AMD 100 WU's = 100 FLOPS = 502.78 hrs of runtime = 26706.79 points of
credit for 100 theoretical FLOPS

Intel 100 WU's = 100 FLOPS = 510.96 hrs of runtime = 38003.74 points
of credit for 100 theoretical FLOPS

So in plain simple terms AMD gets less credit for doing the same
amount of work as Intel does. I am just pointing out a pretty big flaw
in the current credit system, from everything I have read and been
told this system was set up to promote equality between all work done
and to try and discourage cheating, It appears to me that it may have
missed it's mark when in the equality field and they may need to go
back to the drawing board and try and fix the problem or at least let
people know that the credit system has a problem with some projects.


I seem to remember that Seti has a similar problem, but the finer
details escape me.

Perhaps that (more) knowledgeable people can explain the discrepancy/difference?

Thanks,

-- Jord van der Elst.
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


[boinc_dev] deprecated function

2014-04-24 Thread Eric Driver
Hi David,

 

Not an urgent problem, but we just upgraded to the latest ubuntu and I am
seeing a bunch of warnings when accessing the db:

 

Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be
removed in the future: use mysqli or PDO instead
in/home/boincadm/projects/NumberFields/html/inc/db.inc on line 49

 

There are similar messages for db_conn.inc

 

- Eric

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] deprecated function

2014-04-24 Thread Eric Driver
Hi Christian,

I pulled the latest a few weeks ago when David sent out the message about
upgrading team_import.php.  I just pulled it again to be safe.  My db.inc
matches the latest.

Eric

-Original Message-
From: Christian Beer [mailto:djangof...@gmx.net] 
Sent: Wednesday, April 23, 2014 11:58 PM
To: Eric Driver
Cc: boinc_dev@ssl.berkeley.edu
Subject: Re: [boinc_dev] deprecated function

Hi Eric,

did you also update BOINC to the latest version? This was changed not
long ago.

Regards
Christian

Am 24.04.2014 08:48, schrieb Eric Driver:
 Hi David,
 
  
 
 Not an urgent problem, but we just upgraded to the latest ubuntu and I am
 seeing a bunch of warnings when accessing the db:
 
  
 
 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will
be
 removed in the future: use mysqli or PDO instead
 in/home/boincadm/projects/NumberFields/html/inc/db.inc on line 49
 
  
 
 There are similar messages for db_conn.inc
 
  
 
 - Eric
 
  
 
 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.
 



___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] [boinc_projects] [Bulk] Fwd: abnormally long result deadlines

2013-12-17 Thread Eric Driver
Not sure if this is just a coincidence, but in every case where this
happened, it was with a reissued result after the first result had an
outcome of abandoned.

Eric


-Original Message-
From: boinc_projects [mailto:boinc_projects-boun...@ssl.berkeley.edu] On
Behalf Of Ian Hay
Sent: Tuesday, December 17, 2013 7:06 AM
To: David Anderson; Boinc Projects
Subject: Re: [boinc_projects] [Bulk] Fwd: [boinc_dev] abnormally long result
deadlines

I spotted massively extended deadlines in a couple of VolPEx@UH 
workunits almost 3 months ago 
(http://volpex.cs.uh.edu/VCP/forum_thread.php?id=128postid=713).

The project's tasks are from jobs made up of a pair of main+worker 
workunits, sometimes with hundreds of tasks in each of them.  All tasks 
should have a 5 minute deadline, but a small number from a couple of the 
main workunits had their deadline set to a few days over 19 years (the 
rest of the main tasks and all of the worker ones had correct 
deadlines).  The affected tasks were issued at the end of September and 
had a deadline in early October 2032.

I haven't seen this with any more of their jobs, but that doesn't mean 
it hasn't happened (the workunits for a job are deleted as soon as it's 
been completed).

Ian

David Anderson wrote on 16/12/2013 19:24:
 Anyone else see this behavior?
 I can't think of why it would happen.
 -- David


  Original Message 
 Subject: [boinc_dev] abnormally long result deadlines
 Date: Sun, 15 Dec 2013 23:37:39 -0700
 From: Eric Driver edriv...@cox.net
 To: boinc_dev@ssl.berkeley.edu

 Hello,

 Does anyone know what would cause a small number of results to be created
 with a very long deadline?  The delay_bound is set in the wu template to 7
 days, but a handful of results were given a deadline next September.

 Eric Driver

 NumberFields@home
___
boinc_projects mailing list
boinc_proje...@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_projects
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


[boinc_dev] abnormally long result deadlines

2013-12-15 Thread Eric Driver
Hello,

 

Does anyone know what would cause a small number of results to be created
with a very long deadline?  The delay_bound is set in the wu template to 7
days, but a handful of results were given a deadline next September.

 

Eric Driver

NumberFields@home

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] php warning messages

2013-05-05 Thread Eric Driver
Sorry about that, I forgot to let you know.  YES, it's fixed.  And there was
another fix you did that was also good.  It appears that all the php warning
messages are now gone, at least on the most frequently visited pages.

Thanks!

-Original Message-
From: David Anderson [mailto:da...@ssl.berkeley.edu] 
Sent: Saturday, May 04, 2013 11:06 PM
To: Eric Driver
Cc: boinc_dev@ssl.berkeley.edu
Subject: Re: [boinc_dev] php warning messages

I think I fixed this; please check.
-- David

On 03-May-2013 11:53 PM, Eric Driver wrote:
 Thanks! That fixed a bunch of the warnings.

 How can I fix this one:

 Strict Standards: Non-static method DbConn::base_escape_string() should
not
 be called statically in
 /home/boincadm/projects/NumberFields/html/inc/boinc_db.inc on line 103

 --Eric


 -Original Message-
 From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of
 David Anderson
 Sent: Friday, May 03, 2013 10:15 PM
 To: boinc_dev@ssl.berkeley.edu
 Subject: Re: [boinc_dev] php warning messages

 Starting with PHP version 5.5, the usage

 $p = null;
 $p-foo = bar;

 gets a warning; you need to say

 $p = new StdClass;
 $p-foo = bar;

 I fixed a few of these.
 Unfortunately I don't have a PHP 5.5 system to test on right now.
 Please check out the latest code
 and let me know if you see more of these.

 -- David

 On 03-May-2013 6:57 PM, Eric Driver wrote:
 Hi all,



 I recently upgraded the NumberFields project to the latest branch
 (boinc-v2).  I am now getting a bunch of warnings on the admin pages like
 the following:



 Warning: Creating default object from empty value in
 /home/boincadm/projects/NumberFields/html/inc/db_ops.inc on line 520



 I can turn off these warnings in the php code by using error_reporting(),
 in
 which case the site acts just like it used to.  But are these warnings
 telling me there is a problem somewhere in the php code, and if so does
 anyone know how to fix this?



 Thanks in advance!

 Eric



 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.

 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.




___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] php warning messages

2013-05-04 Thread Eric Driver
Thanks! That fixed a bunch of the warnings.

How can I fix this one:

Strict Standards: Non-static method DbConn::base_escape_string() should not
be called statically in
/home/boincadm/projects/NumberFields/html/inc/boinc_db.inc on line 103

--Eric


-Original Message-
From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of
David Anderson
Sent: Friday, May 03, 2013 10:15 PM
To: boinc_dev@ssl.berkeley.edu
Subject: Re: [boinc_dev] php warning messages

Starting with PHP version 5.5, the usage

$p = null;
$p-foo = bar;

gets a warning; you need to say

$p = new StdClass;
$p-foo = bar;

I fixed a few of these.
Unfortunately I don't have a PHP 5.5 system to test on right now.
Please check out the latest code
and let me know if you see more of these.

-- David

On 03-May-2013 6:57 PM, Eric Driver wrote:
 Hi all,



 I recently upgraded the NumberFields project to the latest branch
 (boinc-v2).  I am now getting a bunch of warnings on the admin pages like
 the following:



 Warning: Creating default object from empty value in
 /home/boincadm/projects/NumberFields/html/inc/db_ops.inc on line 520



 I can turn off these warnings in the php code by using error_reporting(),
in
 which case the site acts just like it used to.  But are these warnings
 telling me there is a problem somewhere in the php code, and if so does
 anyone know how to fix this?



 Thanks in advance!

 Eric



 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] php warning messages

2013-05-04 Thread Eric Driver
The message went away, so it looks like your fix worked.  Thanks for the
quick turn around!
--Eric

-Original Message-
From: David Anderson [mailto:da...@ssl.berkeley.edu] 
Sent: Saturday, May 04, 2013 12:02 AM
To: Eric Driver
Cc: boinc_dev@ssl.berkeley.edu
Subject: Re: [boinc_dev] php warning messages

I checked in a possible fix.
-- David

On 03-May-2013 11:53 PM, Eric Driver wrote:
 Thanks! That fixed a bunch of the warnings.

 How can I fix this one:

 Strict Standards: Non-static method DbConn::base_escape_string() should
not
 be called statically in
 /home/boincadm/projects/NumberFields/html/inc/boinc_db.inc on line 103

 --Eric


 -Original Message-
 From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of
 David Anderson
 Sent: Friday, May 03, 2013 10:15 PM
 To: boinc_dev@ssl.berkeley.edu
 Subject: Re: [boinc_dev] php warning messages

 Starting with PHP version 5.5, the usage

 $p = null;
 $p-foo = bar;

 gets a warning; you need to say

 $p = new StdClass;
 $p-foo = bar;

 I fixed a few of these.
 Unfortunately I don't have a PHP 5.5 system to test on right now.
 Please check out the latest code
 and let me know if you see more of these.

 -- David

 On 03-May-2013 6:57 PM, Eric Driver wrote:
 Hi all,



 I recently upgraded the NumberFields project to the latest branch
 (boinc-v2).  I am now getting a bunch of warnings on the admin pages like
 the following:



 Warning: Creating default object from empty value in
 /home/boincadm/projects/NumberFields/html/inc/db_ops.inc on line 520



 I can turn off these warnings in the php code by using error_reporting(),
 in
 which case the site acts just like it used to.  But are these warnings
 telling me there is a problem somewhere in the php code, and if so does
 anyone know how to fix this?



 Thanks in advance!

 Eric



 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.

 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.




___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] php warning messages

2013-05-04 Thread Eric Driver
And 2 more reported by some volunteers:

Warning: Creating default object from empty value in
/home/boincadm/projects/NumberFields/html/inc/prefs.inc on line 420

Warning: Creating default object from empty value in
/home/boincadm/projects/NumberFields/html/project/project_specific_prefs.inc
on line 203

--Eric

-Original Message-
From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of
Christian Beer
Sent: Saturday, May 04, 2013 2:30 AM
To: David Anderson
Cc: boinc_dev@ssl.berkeley.edu
Subject: Re: [boinc_dev] php warning messages

There are some more in update_versions:

PHP Warning:  Creating default object from empty value in
/home/scientist/projects/test4vm/bin/update_versions on line 375
PHP Warning:  Creating default object from empty value in
/home/scientist/projects/test4vm/bin/update_versions on line 389

Regards
Christian

Am 04.05.2013 07:15, schrieb David Anderson:
 Starting with PHP version 5.5, the usage

 $p = null;
 $p-foo = bar;

 gets a warning; you need to say

 $p = new StdClass;
 $p-foo = bar;

 I fixed a few of these.
 Unfortunately I don't have a PHP 5.5 system to test on right now.
 Please check out the latest code
 and let me know if you see more of these.

 -- David

 On 03-May-2013 6:57 PM, Eric Driver wrote:
 Hi all,



 I recently upgraded the NumberFields project to the latest branch
 (boinc-v2).  I am now getting a bunch of warnings on the admin pages
 like
 the following:



 Warning: Creating default object from empty value in
 /home/boincadm/projects/NumberFields/html/inc/db_ops.inc on line 520



 I can turn off these warnings in the php code by using
 error_reporting(), in
 which case the site acts just like it used to.  But are these warnings
 telling me there is a problem somewhere in the php code, and if so does
 anyone know how to fix this?



 Thanks in advance!

 Eric



 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.

 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


[boinc_dev] php warning messages

2013-05-03 Thread Eric Driver
Hi all,

 

I recently upgraded the NumberFields project to the latest branch
(boinc-v2).  I am now getting a bunch of warnings on the admin pages like
the following:

 

Warning: Creating default object from empty value in
/home/boincadm/projects/NumberFields/html/inc/db_ops.inc on line 520



I can turn off these warnings in the php code by using error_reporting(), in
which case the site acts just like it used to.  But are these warnings
telling me there is a problem somewhere in the php code, and if so does
anyone know how to fix this?

 

Thanks in advance!

Eric

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


[boinc_dev] WUs with abnormally high deadlines

2013-03-04 Thread Eric Driver
Hi all,

 

I am having an odd problem with the boinc server.  There are a handful of
WUs that have an extremely long deadline (~May 7th) even though the deadline
is set to 7 days by the project.  It's only happening with 1 user and this
user claims to have detached from the project.  Is there an easy way for me
to free up these WUs so that they can be reissued to another user?  I know I
can cancel the WUs from the main admin page and then re-create them, but I
thought there might be an easier way.  Also, does anyone know what could
cause this behavior?

 

Thanks!

 

Eric Driver

NumberFields@home

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] Number of WUs in progress differ between client andserver

2012-10-25 Thread Eric Driver
That's what I would have thought, except that app has plenty of tasks
available and other hosts have no problems getting work.

Anyways, several others have suggested setting resend_lost_results, so I
will see if that fixes the problem.


-Original Message-
From: McLeod, John [mailto:john.mcl...@sap.com] 
Sent: Wednesday, October 24, 2012 10:07 AM
To: Eric J Korpela; Eric Driver
Cc: boinc_dev@ssl.berkeley.edu
Subject: RE: [boinc_dev] Number of WUs in progress differ between client
andserver

I noticed the following line:

8514 NumberFields@home 24-10-2012 10:06:58 No tasks are available for the
applications you have selected.

I believe that this indicates that the user has selected specific
applications to run.  If there are no tasks for these applications, then
that computer will get no tasks.

-Original Message-
From: boinc_dev-boun...@ssl.berkeley.edu
[mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of Eric J Korpela
Sent: Wednesday, October 24, 2012 12:30 PM
To: Eric Driver
Cc: boinc_dev@ssl.berkeley.edu
Subject: Re: [boinc_dev] Number of WUs in progress differ between client and
server

I've noticed similar thing.  I always assumed it was the client
disconnecting before the server reply was received.  The next time the
client asks for work it will get the same ones (if resent lost results is
on).

But if you're seeing it in a non-overloaded server that would be another
issue entirely.

On Wed, Oct 24, 2012 at 9:14 AM, Eric Driver edriv...@cox.net wrote:

 Hi all,



 I have a user who is requesting work and the project server responds that
 there is no work available. Hundreds of other users are returning
thousands
 of WUs per day, and have been doing so for a long time now, so I am
 confident that the server is working properly. Looking into this further,
 the server reports that this particular host has 50 WUs in progress,
but
 the user claims there is no work on this host. Any ideas what the problem
 could be?



 Here is the event log that the user sent me:

 8510 NumberFields@home 24-10-2012 10:06:55 Sending scheduler request:
 Requested by user.
 8511 NumberFields@home 24-10-2012 10:06:55 Requesting new tasks for CPU
 8512 NumberFields@home 24-10-2012 10:06:58 Scheduler request completed:
 got
 0 new tasks
 8513 NumberFields@home 24-10-2012 10:06:58 No tasks sent
 8514 NumberFields@home 24-10-2012 10:06:58 No tasks are available for the
 applications you have selected.



 Not sure if it's related, but this user has a bunch of virtual machines on
 the same host with the problem. I also had the user reset the project, but
 that didn't seem to help.



 Thanks in advance,

 Eric Driver

 NumberFields@home



 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


[boinc_dev] Number of WUs in progress differ between client and server

2012-10-24 Thread Eric Driver
Hi all,

 

I have a user who is requesting work and the project server responds that
there is no work available. Hundreds of other users are returning thousands
of WUs per day, and have been doing so for a long time now, so I am
confident that the server is working properly. Looking into this further,
the server reports that this particular host has 50 WUs in progress, but
the user claims there is no work on this host. Any ideas what the problem
could be?

 

Here is the event log that the user sent me:

8510 NumberFields@home 24-10-2012 10:06:55 Sending scheduler request:
Requested by user. 
8511 NumberFields@home 24-10-2012 10:06:55 Requesting new tasks for CPU 
8512 NumberFields@home 24-10-2012 10:06:58 Scheduler request completed: got
0 new tasks 
8513 NumberFields@home 24-10-2012 10:06:58 No tasks sent 
8514 NumberFields@home 24-10-2012 10:06:58 No tasks are available for the
applications you have selected.

 

Not sure if it's related, but this user has a bunch of virtual machines on
the same host with the problem. I also had the user reset the project, but
that didn't seem to help.

 

Thanks in advance,

Eric Driver

NumberFields@home

 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.