[opensource-dev] Running out of file descriptors on Linux+Max / Re: Fix for SH-173
lee.ponzu at gmail.com
Sat Sep 25 09:59:03 PDT 2010
On Sat, Sep 25, 2010 at 11:51 AM, leliel <leliel.mirihi at gmail.com> wrote:
> 210525 is slightly better but still eats up ~550 file descriptors for
> duplicate font files on my machine.
Understandable, in a way. The fix by Bao is *only* experimental and *only*
for the problem of HTTP requests to the sim.
The dup font bug does not seem to effect my Mac.
An improved version of Bao's fix for the HTTP problem might be to look to
see what the ulimit for open file descriptors actually is, and set the limit
to some number well below that. As it is, the fix just sets the limit to 32
HTTP requests, no matter what.
it is hard to say what the best value would be without performance tests.
Could the viewer monitor how many requests there are, and what the average
download speed request per connection is, and then figure out that it is
only hurting itself by opening more?
ponzu, not just for sushi any more.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the opensource-dev