On Mon, May 19, 2008 at 12:01 PM, Anil <[EMAIL PROTECTED]> wrote:
>
> Is it possible with paster (through .ini files?) to set the max file
> descriptors available to it? I guess otherwise I'll have to write a
> wrapper script and do a ulimit.

Paster doesn't interpret config options itself.  It merely
instantiates the indicated server with the given arguments.  I doubt
any of the servers used for Pylons apps sets the ulimit, since it's
such an OS-specific thing.

Actually, Paster does interpret some options if you make the config
script executable (#!/usr/bin/paster) and add an [exe] section for the
options.  But still there's no ulimit= option, although that could be
added.  But most people do not use paster this way, and Ian has said
he's not sure if paster's self-daemonization feature is a good idea
anyway.  (Because it duplicates the functionality of OS-level daemon
managers.)

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to