Server error: can't attach shared memory

Message boards : Number crunching : Server error: can't attach shared memory

To post messages, you must log in.

AuthorMessage
Profile Cobra

Send message
Joined: 9 Nov 05
Posts: 6
Credit: 11,726,369
RAC: 1,305
Message 57472 - Posted: 2 Dec 2008, 14:31:53 UTC

Now getting a different error from the server, but it's still preventing reporting results and downloading new work:

12/2/2008 8:14:43 AM Sending scheduler request: To fetch work. Requesting 1521479 seconds of work, reporting 21 completed tasks
12/2/2008 8:14:48 AM Scheduler request succeeded: got 0 new tasks
12/2/2008 8:14:48 AM Message from server: Server error: can't attach shared memory


ID: 57472 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Evan

Send message
Joined: 23 Dec 05
Posts: 268
Credit: 402,585
RAC: 0
Message 57474 - Posted: 2 Dec 2008, 14:53:27 UTC

Have you changed your settings to srv4?

If not try this.

message 57462

Note the correction - the new line should read:

<scheduler_url>http://srv4.boinc.bakerlab.org/rosetta_cgi/cgi</scheduler_url>



ID: 57474 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Stwainer

Send message
Joined: 9 Nov 05
Posts: 27
Credit: 4,406,829
RAC: 0
Message 57478 - Posted: 2 Dec 2008, 15:49:47 UTC

Well, that's a great fix if you have a couple of computers near you that you can perform the edits on, but I've got 20+ running all over the office and getting to each one to edit a few files would be pretty tough.

Any other suggestions?
ID: 57478 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Greg_BE
Avatar

Send message
Joined: 30 May 06
Posts: 4871
Credit: 4,094,422
RAC: 964
Message 57480 - Posted: 2 Dec 2008, 15:57:36 UTC - in response to Message 57478.  

Well, that's a great fix if you have a couple of computers near you that you can perform the edits on, but I've got 20+ running all over the office and getting to each one to edit a few files would be pretty tough.

Any other suggestions?



that is what the team recommended.
it is worth the hassle now to be able to properly communicate in the future.
ID: 57480 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
AMD_is_logical

Send message
Joined: 20 Dec 05
Posts: 299
Credit: 31,460,681
RAC: 0
Message 57481 - Posted: 2 Dec 2008, 16:27:41 UTC - in response to Message 57478.  

Well, that's a great fix if you have a couple of computers near you that you can perform the edits on, but I've got 20+ running all over the office and getting to each one to edit a few files would be pretty tough.

Any other suggestions?

Yes. Try waiting a day (or more if the computers are not on overnight). BOINC seems to download the master file if it can't connect for a while.
ID: 57481 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mod.Sense
Volunteer moderator

Send message
Joined: 22 Aug 06
Posts: 4014
Credit: 0
RAC: 0
Message 57483 - Posted: 2 Dec 2008, 16:31:49 UTC - in response to Message 57481.  

Yes. Try waiting a day (or more if the computers are not on overnight). BOINC seems to download the master file if it can't connect for a while.


Exactly. BOINC will resolve the problem. It just goes through a few retries and timer delays before finding the new information. It eventually will fetch the "master file" again and then know to hit the new server.
Rosetta Moderator: Mod.Sense
ID: 57483 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Stwainer

Send message
Joined: 9 Nov 05
Posts: 27
Credit: 4,406,829
RAC: 0
Message 57484 - Posted: 2 Dec 2008, 16:33:19 UTC

Hope it does get the master file sooner or later, how are people who don't 'watch' their BOINC installations on a regular basis going to know to change these files?
ID: 57484 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
AMD_is_logical

Send message
Joined: 20 Dec 05
Posts: 299
Credit: 31,460,681
RAC: 0
Message 57487 - Posted: 2 Dec 2008, 16:49:57 UTC

Ok, I played around with some of my computers that hadn't fixed themselves yet, and I discovered that after 11 "project is down" messages, the next try will download the master file. It doesn't matter if the messages are from normal retries or from pressing update.

If you press update, you only need to wait until the "project is down" message appears in the messages tab. The usual 4 minute wait between requests doesn't apply here.

Can someone confirm if this works with other versions of BOINC? (I'm using 5.2.13)
ID: 57487 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Stwainer

Send message
Joined: 9 Nov 05
Posts: 27
Credit: 4,406,829
RAC: 0
Message 57490 - Posted: 2 Dec 2008, 16:57:21 UTC

I'm not getting the 'project is down' message. I'm getting the 'can't attach to shared memory' message.
ID: 57490 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
BarryAZ

Send message
Joined: 27 Dec 05
Posts: 153
Credit: 30,235,185
RAC: 2,673
Message 57492 - Posted: 2 Dec 2008, 17:14:03 UTC - in response to Message 57490.  

Same here

I'm not getting the 'project is down' message. I'm getting the 'can't attach to shared memory' message.


ID: 57492 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Stwainer

Send message
Joined: 9 Nov 05
Posts: 27
Credit: 4,406,829
RAC: 0
Message 57493 - Posted: 2 Dec 2008, 17:21:10 UTC

This works for the 'can't attach to shared memory' problem as well. Just keep hitting the 'update' button.
ID: 57493 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Ingleside

Send message
Joined: 25 Sep 05
Posts: 105
Credit: 434,745
RAC: 1
Message 57494 - Posted: 2 Dec 2008, 17:24:41 UTC - in response to Message 57487.  

Ok, I played around with some of my computers that hadn't fixed themselves yet, and I discovered that after 11 "project is down" messages, the next try will download the master file. It doesn't matter if the messages are from normal retries or from pressing update.

If you press update, you only need to wait until the "project is down" message appears in the messages tab. The usual 4 minute wait between requests doesn't apply here.

Can someone confirm if this works with other versions of BOINC? (I'm using 5.2.13)

With so old client it could be an idea to upgrade...

As for getting the new scheduler-url, BOINC-client since v3 (if not even earlier), will re-read the master-file if 10 failed connections. As "failed connection" doesn't only count instances there the server is down/unreachable, but also instances there client asks for work but scheduling-server doesn't give you any work 10 times in a row. So, most clients should get the new url after a few hours.

So, most users should have gotten the new url by now. If they've not got it, possible reasons are:
1; Then tried to download master-url the web-server was unreachable (the front-page, not the scheduling-server). If can't download the master-url, the BOINC-client will wait 24 hours before re-trying... For old clients, (don't remember exact version), the delay for failed master-url is 1 week...
2; Not sure if it's a problem for anyone, but as far as the web goes, it is possible client is getting served-up an old copy of front-page...


"I make so many mistakes. But then just think of all the mistakes I don't make, although I might."
ID: 57494 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
AMD_is_logical

Send message
Joined: 20 Dec 05
Posts: 299
Credit: 31,460,681
RAC: 0
Message 57499 - Posted: 2 Dec 2008, 17:47:58 UTC - in response to Message 57490.  

I'm not getting the 'project is down' message. I'm getting the 'can't attach to shared memory' message.


That must be a difference in BOINC versions. Mine gives the same "shared memory" error, followed by a "Project is down" message in red (which makes it easy to see).
ID: 57499 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
John McCallum
Avatar

Send message
Joined: 8 Jan 06
Posts: 11
Credit: 1,331,176
RAC: 10,307
Message 57500 - Posted: 2 Dec 2008, 18:05:33 UTC

I took the easier route,if you do not have any work units waiting to upload or report detach from the project then reattach and lo-and-behold problem solved now happily crunching away.
If you can't take a joke you should never have joined.
ID: 57500 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile jtibble

Send message
Joined: 8 Oct 06
Posts: 4
Credit: 570,722
RAC: 0
Message 57507 - Posted: 2 Dec 2008, 20:46:08 UTC

Nice fix everyone!

I'm back in action!
ID: 57507 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
michaelmastro
Avatar

Send message
Joined: 11 Oct 05
Posts: 51
Credit: 1,530,918
RAC: 0
Message 57806 - Posted: 11 Dec 2008, 17:40:29 UTC

This fix worked for me on a G4 Mac dual 533...

ID: 57806 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : Server error: can't attach shared memory



©2020 University of Washington
https://www.bakerlab.org