Hi Louie,

Answering your questions for better understanding-

(1) Yes Universe program is creating and writing to the file and then daemon process 
picks these records to process

(2) C daemon deletes the record after processing it

(3) Temporary files are there for very small duration of time, first of all C daemon 
selects the record names and then processes them one by one. 
While selecting the record name it encounters records with name DBnnn, but at the time 
of processing the record it is not able to find and open the record using fopen etc. 
in c program (may be because it is temporary record). And we are not able to see the 
record.

We encountered such situation in our production environment where there is huge amount 
of data coming and being processed.

Regards,
Ashish.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Louie Gouws
Sent: Thursday, July 01, 2004 11:17 AM
To: [EMAIL PROTECTED]
Subject: RE: [U2] UV Help needed


Ashish

Tell us more.

1. Is the uniVerse phantom creating + writing the file for the C daemon to
process?
2. Is the C daemon deleting the file when it has finished processing it?
3. What do you see as a temporary file?

Depending on your answers, we can make a better judgement call

Louie

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of ashish ratna
Sent: 01 July 2004 06:23
To: [EMAIL PROTECTED]
Subject: [U2] UV Help needed


Hi All,

We are facing a problem of temporary file being generated in our
application.

Scenario is-
One of our program is writing records in type 19 file. We have another C
daemon process which reads these records from the file.

Both of these processes are running continuously as phantom/daemon
processes.
But sometimes C daemon process encounters the temporary files with name like
DBnnn (where nnn  is some number).
Since these are temporary files C process cannot open and process the data
of
this file. By the time C program tries to open this file, the file DBnnn is
deleted and is not found in the directory.

Has any body encountered similar situation?
Is it due to the design that Universe and C programs are accessing the same
file to read and write the data?

Any pointers to resolve this problem are welcome.

Regards,
Ashish.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to