[Zope] Increasing ulimit

Paul Winkler pw_lists at slinkp.com
Tue Jun 15 16:15:47 EDT 2004


On Tue, Jun 15, 2004 at 02:58:39PM +0100, Marc Burgauer wrote:
> Hi
> 
> On a busy Zope instance, we're getting increasingly more often errors of
> "too many files open". I already added a line in the start script for that
> instance to increase the ulimit to 1024 (the maximum for the machine by
> default). 

That is odd.  Zope normally doesn't have many files open.

Are you heavily using external files?
e.g. via ExternalFile or LocalFS or CMF's skins tool?
 
> I am now considering increasing the maximum for that machine to 2048 (or
> higher), but wanted to know if other people have experimented with this
> before and what risks/dangers I should be aware of doing this.
> 
> Here's what my start script looks at the moment (simplified):
> 
> > ulimit -n 1024
> > python /customer_dir/customer_one/z2.py -X -a212.96.140.5 -w80
> 
> This is Zope 2.4 on a Solaris (Intel) box.

2.4 is very old, don't know how much help you'll find here for that...

-- 

Paul Winkler
http://www.slinkp.com



More information about the Zope mailing list