help-gnubatch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gnubatch] Jobs not starting


From: John Collins (Xi Software Ltd)
Subject: Re: [help-gnubatch] Jobs not starting
Date: Fri, 29 Jun 2012 17:28:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 29/06/12 16:23, Wechsler, Steven wrote:

Here’s the entirety of the btsched_reps file:

 

10:02:40 06/28 - btsched

==============

btsched started.

11:14:26 06/28 - btsched

==============

btsched:Ran out of memory in sh_exec.c line 1151


That's a failure to reattach shared memory - try starting it with options -j (a bit more than the number of jobs) -v (a bit more than the number of variables) to reserve the shared memory when you start up.

The problem is that you can't "grow" shared memory, you have to allocate a new segment, copy the old one to it and then detach the old one, but not before putting "I've moved to XXX" in the old one for the other processes to look at. This isn't reliable on all systems - there may be a limit of shared memory segments you can have or have attached, or for whatever reason the kernel says no.

It's something I've wrestled with for ages - the only setup guaranteed to work on all platforms is to avoid the "grow" process by reserving it at the start.

--
John Collins address@hidden Xi Software Ltd www.xisl.com

Phone: +44 (0)1707 886110 Home Phone: +44 (0)1707 883174
Mobile: +44 (0)7958 387247 (address@hidden)

Trading Address 3 Mandeville Rise, Welwyn Garden City, Herts, AL8 7JT, UK

Registered in England Company Number 01977148 VAT GB 403 9239 64 R/O: 2 Mill Road, Haverhill, Suffolk, CB9 8BD

Attachment: jmc.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]