Sorry, I meant to add a link to the documentation on projects:<div><br></div><div><a href="http://docs.oracle.com/cd/E19683-01/817-1592/6mhahuoie/index.html">http://docs.oracle.com/cd/E19683-01/817-1592/6mhahuoie/index.html</a></div>
<div><br></div><div><br><br><div class="gmail_quote">On Tue, Feb 12, 2013 at 12:21 PM, Jared Morrow <span dir="ltr"><<a href="mailto:jared@basho.com" target="_blank">jared@basho.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Steve,<div><br></div><div>I don't have lighttpd installed, but it should work like anything else that is a proper service.</div><div><br></div><div>You can add a project associated with lighttpd if there isn't already one, and set the max open file descriptors for that project.</div>

<div><br></div><div>Here's an example:</div><div></div><div style="line-height:1.2;color:rgb(34,34,34);font-size:1em;font-family:Helvetica,arial,freesans,clean,sans-serif;border:none">
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;overflow:auto;margin:1em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:nowrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre-wrap;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block;padding:0.5em;background-color:rgb(253,246,227);color:rgb(101,123,131);background-repeat:initial initial">$ projadd -c "lighttpd settings" -U <username> -G <groupname> -K "process.max-file-descriptor=(basic,65535,deny)" lighttpdproj
$ svccfg -s network/http:lighttpd14 setprop 'method_context/project=lighttpdproj'
$  svcadm disable network/http:lighttpd
$  svcadm enable network/http:lighttpd</code></pre>
</div><div></div><div><br></div><div>That *should* do the trick.  I'll let someone from OmniOS correct me if I'm wrong, but that's what we do with our service (Riak) that needs a ton of file descriptors.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>-Jared</div></font></span><div class="HOEnZb"><div class="h5"><div><span style="line-height:16px;font-size:12px;white-space:pre-wrap;font-family:Consolas,'Liberation Mono',Courier,monospace"><br>
</span></div><div><span style="line-height:16px;font-size:12px;white-space:pre-wrap;font-family:Consolas,'Liberation Mono',Courier,monospace"><br>
</span></div><div><span style="line-height:16px;font-size:12px;white-space:pre-wrap;font-family:Consolas,'Liberation Mono',Courier,monospace"><br></span></div><div><div class="gmail_quote">
On Tue, Feb 12, 2013 at 11:13 AM,  <span dir="ltr"><<a href="mailto:steve@linuxsuite.org" target="_blank">steve@linuxsuite.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
   Howdy!<br>
<br>
          I need to up the max number of file descriptors of the<br>
network/http:lighttpd14<br>
service<br>
<br>
     plimit can do it after the service is up, but what is the correct way<br>
to have this set when the service is started? Is there some "property"<br>
that can be changed with svccfg? I can find some reference to<br>
 ${PROPERTY_GROUP}/fd_limit but doesn't seem to exist in lighttpd ?<br>
<br>
     This must be a common need. What is the correct way to<br>
do this on OmnOS?<br>
<br>
<br>
          thanx - steve<br>
<br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com" target="_blank">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>