Broken Pipe

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Broken Pipe

Postby Leckbush » Thu Nov 08, 2018 9:55 am

Hi Im seeing a few line of this code on "asterisk -rvvvvvv" while under operations as of right now.


[Nov 8 22:40:18] ERROR[17248]: utils.c:1446 ast_careful_fwrite: fwrite() returned error: Broken pipe
[Nov 8 22:40:18] ERROR[17248]: utils.c:1446 ast_careful_fwrite: fwrite() returned error: Broken pipe

Any idea what is this? and whats causing it and its solution?

No effect on calls tho. Thanks in advance :)
Server 1: ViciBox v.8.1.2 181002 | Single Machine | VERSION: 2.14-580c BUILD: 190406-1615| Asterisk 13.21.1-vici
i7-4790K - 16GB DDR3 - 1TB HDD
Leckbush
 
Posts: 126
Joined: Sat May 12, 2018 6:35 pm
Location: Philippines

Re: Broken Pipe

Postby williamconley » Sun Nov 11, 2018 9:20 pm

Good job posting your specs. Earned you a response on this topic I ordinarily ignore.

The huge mistake in this scenario is that the module in question tosses "ERROR" instead of "NOTIFICATION" which would not cause any alarm at all, but because it says "ERROR", you care about it.

What happened is the opening of a file to write data, then NO data was written, and the file was closed. The app gets pissed off, people freak out ... and all for no particular reason. There was NO need to write into the file, but it was opened IN CASE there was a need to write. So the error won't be going away.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Broken Pipe

Postby Leckbush » Mon Nov 12, 2018 9:48 am

Thanks william, So there's nothing to worry about right?
Server 1: ViciBox v.8.1.2 181002 | Single Machine | VERSION: 2.14-580c BUILD: 190406-1615| Asterisk 13.21.1-vici
i7-4790K - 16GB DDR3 - 1TB HDD
Leckbush
 
Posts: 126
Joined: Sat May 12, 2018 6:35 pm
Location: Philippines

Re: Broken Pipe

Postby williamconley » Mon Nov 12, 2018 12:32 pm

Aside from the fact that whichever programmer on the project that is responsible for that "error" message should be slapped? Nope. Nothin' to see here. Move along. Of course, if you should decide to write a patch for asterisk that either changes that ERROR to a NOTICE (or just doesn't bother reporting at all), there would be kudos for you. Several of them.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 71 guests