home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / informix / 2333 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  3.0 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!swrinde!emory!emory!not-for-mail
  2. From: dave.snyder@snide.com (Dave Snyder)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re: missing SQL exec (std engine)
  5. Date: 5 Nov 1992 21:43:04 -0500
  6. Organization: Mailing List Gateway
  7. Lines: 45
  8. Sender: walt@mathcs.emory.edu
  9. Distribution: world
  10. Message-ID: <1dcm3oINNh4v@emory.mathcs.emory.edu>
  11. Reply-To: dave.snyder@snide.com (Dave Snyder)
  12. NNTP-Posting-Host: emory.mathcs.emory.edu
  13. X-Informix-List-ID: <list.1577>
  14.  
  15. Quoting galem@vnet.ibm.com...
  16. } We have a a process (let's call it XX) which -once started- lives
  17. } forever and periodically updates a database by INSERTs and UPDATEs.
  18. } When XX is first started, it opens the database (which remains open for
  19. } the life of XX) causing an sqlexec child process to be spawned. Our
  20. } problem is that occasionally the sqlexec child process disappears with-
  21. } out a word, wimper or choke. It is just gone... without a trace! Pre-
  22. } ceding its disappearance, at least some records have been INSERTed into
  23. } some database tables. However, the amount of time which elapses between
  24. } the insertions and the disappearance is very much variable. It may be
  25. } minutes ... or hours. Has anyone seen a problem like this???
  26. } Upon detection of the disappeared sqlexec, we attempted closing the
  27. } database and then opening it again. This fails with an error code of
  28. } -457, WHICH IS NOT DOCUMENTED in any of our manuals. We have also been
  29. } unable to obtain any information from Informix Tech Support regarding
  30. } the meaning of this error code. Because we cannot reopen the database,
  31. } it would appear that when the original engine exited, it was not done
  32. } cleanly. But we haven't a clue about what we can look at to try and
  33. } determine what has happened.
  34. From the Informix-5.0 Error Messages manual...
  35.  
  36. -457    SQL engine terminated unexpectedly
  37. The database server process with which your application program was working
  38. has terminated.  If it was Informix-ONLINE, the OnLine administrator may
  39. have shut the system down.  If it was Informix-SE, it is possible that the
  40. database server process was terminated deliberately using an operating
  41. system command.  If a deliberate shutdown was not done, the next most likely
  42. cause is an internal error.  The current transaction should be rolled back
  43. automagically when the database is next opened.  Look for operating system
  44. messages that might give more information.  If the problem recurs, please
  45. note all circumstances and contact the Informix Technical Support Department.
  46. NOTE:  Be sure to check the ISAM error code returned with this error.  If it
  47. is -129, the database server has not terminated, but simply reached a limit
  48. on the numbers of concurrent user sessions.
  49.  
  50. BTW, have you tried sqlstart() to restart the database?
  51.  
  52. DAS
  53. -- 
  54. David Snyder @ Snide Computer Services - Folcroft, PA          Current Release
  55.                                                                is db4glgen-3.7
  56. UUCP:  ..!uunet!das13!dave   INTERNET:  dave.snyder@snide.com
  57.