Curious FreeBSD problem: Too many open files in system
Has anybody seen this before? I seriously doubt my maxusers setting is the problem -- this usually indicates an infinate openfile loop. Anyway, the short of it is that Zope isn't starting. I'm using FreeBSD 3.4 and Python 1.5.2. Thanks! John bash-2.03# ./start Mar 27 10:08:06 larryboy syslogd: /dev/console: Too many open files in system: Too many open files in system Mar 27 10:08:06 larryboy syslogd: /dev/console: Too many open files in system: Too many open files in system Mar 27 10:08:06 larryboy /kernel: file: table is full Mar 27 10:08:06 larryboy /kernel: file: table is full ------ 2000-03-27T17:08:09 PROBLEM(100) ZServer Computing default hostname ------ 2000-03-27T17:08:09 INFO(0) ZServer Medusa (V1.13.4.1) started at Mon Mar 27 10:08:09 2000 Hostname: larryboy.cproject.com Port:8080 ------ 2000-03-27T17:08:09 INFO(0) ZServer FTP server started at Mon Mar 27 10:08:09 2000 Authorizer:None Hostname: larryboy.cproject.com Port: 8021 ------ 2000-03-27T17:08:09 INFO(0) ZServer PCGI Server started at Mon Mar 27 10:08:09 2000 Unix socket: /usr/local/Zope-2.1.6-src/var/pcgi.soc ------ 2000-03-27T17:08:09 INFO(0) ZServer Monitor Server (V1.5) started on port 8099 Traceback (innermost last): File "/usr/local/Zope-2.1.6-src/z2.py", line 586, in ? pf = open(PID_FILE, 'w') IOError: [Errno 13] Permission denied: '/usr/local/Zope-2.1.6-src/var/Z2.pid'
You need to recompile your kernel with an higher value for MAXUSER parameter (x2 or x4 the current value). MAXUSER parameter helps the kernel handle the load of the machine(max file numbers, buffers, etc...). Python&Zope opens loads of files on the filesystem, so the default value for MAXUSER is not enough. Hope that helps. ----- Message d'origine ----- De : John Hanna <jhanna@cproject.com> À : <zope@zope.org> Envoyé : lundi 27 mars 2000 19:11 Objet : [Zope] Curious FreeBSD problem: Too many open files in system
Has anybody seen this before? I seriously doubt my maxusers setting is the problem -- this usually indicates an infinate openfile loop. Anyway, the short of it is that Zope isn't starting. I'm using FreeBSD 3.4 and Python 1.5.2.
Thanks! John
bash-2.03# ./start Mar 27 10:08:06 larryboy syslogd: /dev/console: Too many open files in system: Too many open files in system Mar 27 10:08:06 larryboy syslogd: /dev/console: Too many open files in system: Too many open files in system Mar 27 10:08:06 larryboy /kernel: file: table is full Mar 27 10:08:06 larryboy /kernel: file: table is full ------ 2000-03-27T17:08:09 PROBLEM(100) ZServer Computing default hostname ------ 2000-03-27T17:08:09 INFO(0) ZServer Medusa (V1.13.4.1) started at Mon Mar 27 10:08:09 2000 Hostname: larryboy.cproject.com Port:8080
------ 2000-03-27T17:08:09 INFO(0) ZServer FTP server started at Mon Mar 27 10:08:09 2000 Authorizer:None Hostname: larryboy.cproject.com Port: 8021 ------ 2000-03-27T17:08:09 INFO(0) ZServer PCGI Server started at Mon Mar 27 10:08:09 2000 Unix socket: /usr/local/Zope-2.1.6-src/var/pcgi.soc ------ 2000-03-27T17:08:09 INFO(0) ZServer Monitor Server (V1.5) started on port 8099 Traceback (innermost last): File "/usr/local/Zope-2.1.6-src/z2.py", line 586, in ? pf = open(PID_FILE, 'w') IOError: [Errno 13] Permission denied: '/usr/local/Zope-2.1.6-src/var/Z2.pid'
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
John Hanna -
Olivier Deckmyn