Broken pipe issue

Posted on
         I have a script that i run and have been running. sometimes you can run it for over 90 times and it's all good. other times you run it twice or three times and you get an error "broken pipe" but all the data are transferred and everything is all good. It's just that i keep getting this broken pipe error message. 

-I check the log/messages and nothing shows in there because the data ran well
-I update the database and still getting the same error message
-I changed the kernel to the previous patch, same error message
- I tried it on another server with same database version and sub-version and ran the same query and everything is fine.
- I check and monitor top command, i see the process stays open longer. i can run 50 60 80 times and everything is well. after after a while once the process closes i will get the broken pipe error.

Any help will be greatly appreciated.

Responses