Postgrey: closeing with write buffer

3 posts / 0 new
Last post
#1 Mon, 09/21/2009 - 07:29
webwzrd

Postgrey: closeing with write buffer

Ever since I restored to a new server, I'm seeing the following error in logwatch:

"postgrey[3243]: WARNING: closeing with write buffer at /usr/lib/perl5/vendor_perl/5.8.8/IO/Multiplex.pm line 913."

I'm not noticing any problems in the job postgrey is doing, however any insight or advise would be appreciated.

Brian

Mon, 09/21/2009 - 09:15
andreychek

Well, I've never seen that before :-)

However, it's only a warning -- and if everything else seems to be working as expected, I don't know that I'd be too concerned...

If it bothers you, you could always try and track down the problem using the source code. Open up /usr/lib/perl5/vendor_perl/5.8.8/IO/Multiplex.pm in an editor, jump to lin 913, and look at the warning message that is generated.

Then look up a bit, and determine what leads to that warning message being called?

-Eric

Mon, 09/21/2009 - 09:30 (Reply to #2)
webwzrd

Since pastgrey seems to be working fine, I'm not overly concerned about it - just trying to stay on top of things.

The last line below is line 913:

=head2 close

Close a handle. Always use this method to close a handle that is being watched by the multiplexer.

$mux->close($fh);

=cut

sub close { my $self = shift; my $fh = shift; return unless exists $self->{_fhs}{"$fh"};

my $obj = $self->{_fhs}{"$fh"}{object} || $self->{_object};
warn "closeing with read buffer" if $self->{_fhs}{"$fh"}{inbuffer};
warn "closeing with write buffer" if $self->{_fhs}{"$fh"}{outbuffer};
Topic locked