Hi, I've just tried something similar on UV/NT with no problems - until I pushed my external routine (scanning the directory and deleting the files as fast as UV writes them) into a tight loop that swallowed the processor. Then it all crawled, of course.
Could there be anything in your C routine that would cause that kind of looping? Just a thought - if the C routine fails to open one of these files (e.g. if UV is still in process of writing it/holding it) how does your error trapping work? Do you loop until you can open it? If so, that might cause just that sort of loop, so that uv never gets a look in... Brian -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ashish ratna Sent: 13 July 2004 15:10 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/ ________________________________________________________________________ This email was checked by MessageLabs SkyScan before entering Microgen. ________________________________________________________________________ This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
