PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise
1) Message boards : Number crunching : New PrimeGrid Policy - Monetization of BOINC credit (Message 122471)
Posted 707 days ago by Bok
Could the recent stats outages at Free-DC be due to a similar DDOS as was observed at PrimeGrid? Seems to occur every Friday evening/night.


These have been caused by 'mainly' a bug in apache which is causing it to crash on my webserver. In the past only a hard reboot has been able to fix this as apache would not restart. But this past weekend I managed to figure out a way to kill off the semaphores and restart via a script so that is in cron now..

Hopefully it will reduce the outages.
2) Message boards : Number crunching : Free-DC changes (Message 119980)
Posted 799 days ago by Bok
Bok I'm sure you are aware but just in case you didn't know Free-DC is down.


And 5 hours later it's back up again, guess I just needed more patience!!
THANK YOU for fixing it!!


I was on vacation hiking on Vancouver Island only got home yesterday, web server stayed up most of the time which was good. Apache seems to crash sometimes and won't restart gracefully, needs a reboot. I have to look into it some more.
3) Message boards : Number crunching : Free-DC changes (Message 119043)
Posted 849 days ago by Bok


I did notice something else now that this particular sorting works.
When you sort by anything on any page (such as https://stats.free-dc.org/subproj/pgrid/CUL) the subproj field on page 1 is a numerical ranking that stays static from 1-100. On page 2 it becomes a text field containing the abbreviation of the subproject you're looking at. So the CUL page shows CUL, the AP page shows AP26, etc. All of these sub-project pages are being reached from the UserSubProjects page.
I'm not sure which is supposed to be what there, but it would make more sense to me to have it be the numerical value so that you can see how each sort has everyone ranked.


it is supposed to be a numerical counter, I was suppressing the wrong field, so it's *better* now but the values still disappear upon sorting and I'm not entirely sure why. The javascript behind that column should just redraw them each time but it isn't on this and some other pages. I'll continue to debug later.

*EDIT* It's only when the sorting is serverside. The system does a precursory count of the rows that would be retrieved and goes to a serverside or non-serverside datatable depending on that (usually <5000). For anyone interested, the code to redraw those values is

"fnDrawCallback": function ( oSettings ) { /* Need to redo the counters if filtered or sorted */ if ( oSettings.bSorted || oSettings.bFiltered ) { for ( var i=0, iLen=oSettings.aiDisplay.length ; i<iLen ; i++ ) { $('td:eq(0)', oSettings.aoData[ oSettings.aiDisplay[i] ].nTr ).html( i+1 ); } }


but on a serverside sort, neither oSettings.bSorted or oSettings.bFiltered is set so it never redraws the numbers. For now I just took out the if condition on that page and redraw them every time, it's very little processing anyway. I'll have to do it on other pages too unless I can figure out why those variables are not being set.[/code]
4) Message boards : Number crunching : Free-DC changes (Message 119024)
Posted 849 days ago by Bok
See if that fixes it. Serverside sorting given there is more than 5000 entries, but was missing this particular sort. It's indexed already so seem to have corrected it.
5) Message boards : Number crunching : Free-DC changes (Message 119020)
Posted 849 days ago by Bok
It looks like on our team page "Primegrid Team for Aggie The Pew" https://stats.free-dc.org/team/pgrid/2280 that the "Members joining Today" is not active. I noticed this because we had a new team member join and there's no active link to the membership movement stats.

Cheers Rick


Fixed.
6) Message boards : Number crunching : Free-DC changes (Message 118569)
Posted 863 days ago by Bok
https://stats.free-dc.org/subproj/pgrid/321_LLR just ceaced working (No data available in table). :(


ah, I should have probably picked a better character to replace the / in my hack.

This should be fixed now.
7) Message boards : Number crunching : Free-DC changes (Message 118531)
Posted 864 days ago by Bok
Bok,

One more link for you which does not work: https://stats.free-dc.org/countrycomb/ ... this is where we try to get a listing of rankings with total BOINC credit within our country and which is available from our user summary page (ex https://stats.free-dc.org/stats.php?page=userbycpid&cpid=01757043a9d90a990f8e2a4051753fa1).

I am ranked #2 within Greece overall but I cannot get a listing when clicking on the hyperlinked "2" on the far right of the first table which provides a breakdown overall and by project.


ah, it was pointing to the wrong page.

FIXED

I'd actually forgotten what I'd coded on that page, did that a few years ago. The page needs some work but it was a fun one to work on!! :)
8) Message boards : Number crunching : Free-DC changes (Message 118524)
Posted 864 days ago by Bok
I was fixing it and made a typo, all fixed now.
9) Message boards : Number crunching : Free-DC changes (Message 118515)
Posted 865 days ago by Bok
I put a hack in to fix those subproject links on the left side as well as in the user page.

Let me know if you find any more that don't work.
10) Message boards : Number crunching : Free-DC changes (Message 118509)
Posted 865 days ago by Bok
Guys,

Speaking as a programmer, if you're going to ask Bok about something, please provide an exact URL: both the URL of the page you're getting it from and the destination URL link that doesn't work. It changes what might be an hours-long hunt into something much faster.


Thanks, yes it does make it a lot easier.

I figured that last one out which is actually the link to the boinc users (with no bitcoin). Fixed


Next 10 posts
[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.60, 0.59, 0.80
Generated 22 Oct 2020 | 13:01:17 UTC