Re: 97% utilization

From: Ulric Eriksson (ulric@siag.nu)
Date: Tue Nov 18 2003 - 16:29:32 CET


On Mon, 17 Nov 2003, Charlie Reitsma wrote:

> Here's what a truss shows when pen is taking up the whole CPU:
> poll(0xFFBEF0A0, 251, -1) = 227
> accept(5, 0xFFBEFAB8, 0xFFBEFAC8, 1) Err#24 EMFILE

EMFILE means that the per-process limit for open descriptors has been
reached. There can be two reasons for that:

1. Something is leaking descriptors. I don't think so, but I'll have a
   look.

2. There weren't enough to begin with.

The default number of descriptors on Solaris is 256. Try running

ulimit -n 1024

before starting pen.

Ulric



This archive was generated by hypermail 2.1.2 : Tue Nov 18 2003 - 16:29:49 CET