1) Throttle the polling program so that it does not go out searching for information repeatedly, but rather waits 1-2 seconds between polls.
2) Put protections in place that will prevent the receiving program from attempting to open a file in progress from the sender. This may be as simple as attaching an extension to the file when it is being constructed, then after the file has been closed, rename it. This symptom just sounds like the two are fighting for the resources, and if that's true, these two ideas should help immensely. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ashish ratna Sent: Tuesday, July 13, 2004 8:10 AM To: [EMAIL PROTECTED] Subject: [U2] Help needed about the process being slow Hi All, We have a process (Universe program) which writes the records in a particular file (type 19). One of my C process is picking these records and processing them and the deleting them. If I run first process independently (C process stopped) it is very fast. Also if I have few records in the file and C process is running (Universe program stopped) this case C process works very fast. But the problem is that when I try to run both the programs simultaneously, the overall process becomes very slow. In terms of data- For writing 1800 records on a file by Universe it takes 3 min. (when C is not running) For processing 1800 records C process takes very less time (when universe is not running) But if both processes are running then it takes about 25 mins to complete the process. Can somebody tell me what could be the reason for this slowing down of process. 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/
