From: Syamala T. <sya...@or...> - 2002-05-15 01:05:44
|
I have an in house perl application that uses Expect to tail to a legacy program. I have it run satisfactorily on multiple platforms. On linux platforms, I have sean a strange problem. The perl executable monopolizing a cpu after a while of execution time. The legacy program is too loquacious and writes a lot of stuff on the STDOUT. Perhaps thousands of lines are being shown on STDOUT. The program is running correctly, but unbearably slow! Slow over 10 times or worse. The Expect module was Expect 1.12, when problem was discovered. I have switched from Expect 1.12 to the latest Expect 1.15. Problem persists. [ Basically the perl application uses expect to match from a hoard of patterns (about 60) in a loop. ] Does some body has a clue as to what is going on? -Syamal. ----------- |