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/ line 913.”

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


Well, I’ve never seen that before :slight_smile:

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/ 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?


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.



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};