Page 1 of 1

Terminated (signal 15)

Posted: Fri Aug 17, 2007 10:47 am
by barry.marcus
My script seems to be dying with the following error in the log (I've listed the last 3 lines):

200 2007-08-17 08:21:00 /inspherionlike/ReplaceScript:37: select ((1 + `1280')) x from SYSDUMMY;

202 2007-08-17 08:21:00 /inspherionlike/ReplaceScript:46: UPDATE PATN SET ABST_PAx = `An automated microfluidic syst...' WHERE PATN_WKU = `6989130';

000 2007-08-17 08:41:02 /inspherionlike/ReplaceScript:46: (15697) Terminated (signal 15); will exit ASAP

I don't know what (signal 15) indicates. If this amount of inforomation is insufficient, I can post some of the script as well.

Thanks.

Terminated (signal 15)

Posted: Fri Aug 17, 2007 11:23 am
by mark
The first 2 lines are from having tracesql on and are unrelated.
Signal 15 means that some other process (or the kernel) killed the process for reasons unknown. See if you have an processes running that might kill others. Check your syslog messages to see if the kernel's out of memory and killing things at random trying to free some up.

Terminated (signal 15)

Posted: Fri Aug 17, 2007 11:53 am
by John
Since it appears to be 20 minutes later it may be simply a CGI timeout from the webserver. Long running jobs should be invoked in the background or command line to ensure they run to completion.

Terminated (signal 15)

Posted: Wed Aug 22, 2007 9:18 am
by barry.marcus
OK, this may seem like a naive question, but how do I do that? (i.e., run the job in the background from the command line.) I've been invoking the job from my browser with a URL, like this:

http://myserver.com/cgi-bin/texis/sourc ... laceScript

Thanks.

Terminated (signal 15)

Posted: Wed Aug 22, 2007 9:49 am
by John
You can run /.../texis /.../sourcedir/ReplaceScript on the command line, replacing /.../ with the appropriate full path to the executable and script.

Terminated (signal 15)

Posted: Wed Aug 22, 2007 10:06 am
by mark