Latest data...

On my mac, when I open a terminal window, the default for ulimit is 256.
I wrote a little loop to monitor files...

while true
do
   lsof -c Second | wc -l
done

it appears that when Viewer2 (regular of dev) is started, this number
goes to about 63 or so.  Not always the same.

Viewer 2 Release:  When I login, or TP to a new region, this number
jumpt to about 76.  I assume extra file handles used for HTTP sockets
to fetch textures.

Viewer 2 Dev:  Login or TP to region (needing new textures?) and the
file count jumps to 300, and the error message dnssd_clientstub
deliver_request: socketpair failed 24 (Too many open files) starts
flooding my syslog.log file at more than 500 per second.

Hypotheses:  somebody upped some limit or constant and assumed Mac OSX
was a lot higher than 300.

PART 2:

I started the client from a window in which I used ulimit -n 512.

Behavior of Viewer2 Dev is the same.  The file count jumps to 300, but
the viewer freezes.  I guess that the ulimit is set somewhere from
within the viewer, so that the shell's ulimit is ignored.
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to