This did not help resolving my problem.
Update: I moved the same script to HP-UX server.I am getting memory fault error. any suggestions?
OS:uname -a
HP-UX xxxxxxx B.11.31 U ia64 2666145408 unlimited-user license
Comment on Re^3: Problem with script using threads