Re: [U2] anyone seen this error before?
I don't know about perl, but I am *guessing* that would work. An early solution (circa 1997/8) was to use a little program written in C to do the same thing. I've have to search my records or the list archive to dig that out. But it begs the question, why not just use PHANTOM? Are you assuming some doubling of processes or overhead that really isn't there? I'm not understanding why you would think hammering the process grp id is preferable to letting PHANTOM take care of it for you. Maybe I'm missing a nuance here. -- Regards, Clif On Dec 15, 2007, at 5:33 PM, John Godzina wrote: Hi Cliff, Can I also simply wrap the UV process in something that changes the pgid? (e.g.: the setpgrp command in perl) John Clifton Oliver wrote: That is the reason for having the cron script use the PHANTOM command. - Clif On Dec 15, 2007, at 1:46 PM, John Godzina wrote: I'm not sure, but wasn't there some discussion a while back stating that multiple UV processes initiated via cron would be fine if each process had their own unique process group id (not just a unique process id)? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ [demime 1.01d removed an attachment of type text/x-vcard which had a name of john.vcf] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] anyone seen this error before?
Hi Cliff, Can I also simply wrap the UV process in something that changes the pgid? (e.g.: the setpgrp command in perl) John Clifton Oliver wrote: > That is the reason for having the cron script use the PHANTOM command. > > > - Clif > > On Dec 15, 2007, at 1:46 PM, John Godzina wrote: > >> I'm not sure, but wasn't there some discussion a while back stating that >> multiple UV processes initiated via cron would be fine if each process >> had their own unique process group id (not just a unique process id)? > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ [demime 1.01d removed an attachment of type text/x-vcard which had a name of john.vcf] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] anyone seen this error before?
That is the reason for having the cron script use the PHANTOM command. - Clif On Dec 15, 2007, at 1:46 PM, John Godzina wrote: I'm not sure, but wasn't there some discussion a while back stating that multiple UV processes initiated via cron would be fine if each process had their own unique process group id (not just a unique process id)? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] anyone seen this error before?
I'm not sure, but wasn't there some discussion a while back stating that multiple UV processes initiated via cron would be fine if each process had their own unique process group id (not just a unique process id)? John Hester wrote: >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Doug Chanco >> Sent: Friday, December 14, 2007 5:00 AM >> To: u2-users@listserver.u2ug.org >> Subject: RE: [U2] anyone seen this error before? >> >> Actually I think that's exactly what we are doing! >> >> dougc >> > > You want to make sure you only run UV cron jobs as phantoms. If you run > them in the foreground they will all use the same shared memory segment. > If you ever have 2 UV foreground cron jobs overlap, you could have > problems ranging from the processes crashing to file corruption. Here's > an example of one of our UV cron jobs: > > umask 002 > UV=`cat /.uvhome`/bin/uv > cd /uvdata/FABRIC.PROD > $UV "PHANTOM PGMDP0413" > > -John > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ [demime 1.01d removed an attachment of type text/x-vcard which had a name of john.vcf] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/