Jerry It relates to the UniVerse user number (which is now DERIVED from the PID by a means of information reduction to cater for long PIDs). There are a maximum of 32K foreground processes and 32K PHANTOM processes.
So you launch from crontab (a starting PID) and it generates a UV user number and attempts to attach to shared memory at that point (as root). The answer is (of course) sir - certainly - right on - love you root. Whether you see a problem is moot - it depends, but it's not a good idea (and root is not a good idea for other reasons as Doug mentioned). You MAY see a peripheral symptom of this: ipcs -mop|grep 0xffff Do you get these building up? Are they attached to the UV shared memory segment? (compare "ipcs -mop" output for aceb, acec and ffff). I'll try and force it tomorrow time permitting, but the system I have is not heavily loaded and replication is not guaranteed. Regards JayJay -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Banker Sent: 12 July 2007 13:37 To: u2-users@listserver.u2ug.org Subject: RE: [U2] Error code 2 John, You've said this before. Could you elaborate a little more on this? We run many tasks on cron as root and have never had any problems both with Solaris and Linux. Jerry -----Original Message----- From: John Jenkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 6:19 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Error code 2 Karl I can't see enough from your posting, but if you are running UniVerse foreground processes from crontab as root then please don't.... especially AIX. Change to a non-root crontab Regards JayJay -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 11 July 2007 15:07 To: u2-users@listserver.u2ug.org Subject: [U2] Error code 2 The following cron response came to me at 2:30pm in the day. We have programs that run at various times, but this is the first time I've seen this. What are the probable causes? TIA, Karl ***************** BEGIN CRON EMAIL ******************** 1537 record(s) selected to SELECT list #0. A fatal error has occurred in UniVerse. Unable to re-open operating system file "" Error code 2 ***************************************************************** cron: The previous message is the standard output and standard error of one of the cron commands. **************** END CRON EMAIL ******************** ------- 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/ ------- 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/