On Mon, 2007-04-16 at 05:03 -0700, Robin H. Johnson wrote:
> On Mon, Apr 16, 2007 at 07:50:58AM -0400, Chris Gianelloni wrote:
> > On Sat, 2007-04-14 at 05:41 -0700, Robin H. Johnson wrote:
> > > Anybody that feels like inspecting C code, look at mlmmj-1.2.14/src.
> > > getaddrsfromfd.c:27 - this mmap fails, 'Could not mmap fd: Invalid 
> > > argument'
> > > mlmmj-send.c
> > Is it possible we're hitting > 1024 fd open?  We have had a similar
> > problem at my current employer.
> I raised all of the limits significantly in testing, with no effect.

Yeah, ulimit won't do it.  We hit this issue with mimedefang, actually.
Our problem is that the kernel is doing the limiting.  We ended up
having to split things up a good bit into multiple processes to get
everything working.  We also added another machine to the cluster to try
to reduce the load on any one server at a time.  Nothing we did with
ulimit made a bit of difference.

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Council Member/Foundation Trustee
Gentoo Foundation

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to