Help! Zope 2.1.6 refuses to work in the middle of an external method on my i386 running under OpenBSD 2.7. Is says: ---------------------------------------------------- OSError [Errno 24] Too many open files: '/var/tmp/@6067.265' ---------------------------------------------------- I've never ever seen this problem before and this external method used to work well until some minutes ago. Now the error keeps reappearing even after rebooting and also other external methods that used to run well now deliver the same message. Does anybody have suggestions how to diagnose/cure this problem? --Ragnar
+----[ Ragnar Beer ]--------------------------------------------- | Help! | | Zope 2.1.6 refuses to work in the middle of an external method on my | i386 running under OpenBSD 2.7. Is says: | ---------------------------------------------------- | OSError | [Errno 24] Too many open files: '/var/tmp/@6067.265' | ---------------------------------------------------- | | I've never ever seen this problem before and this external method | used to work well until some minutes ago. Now the error keeps | reappearing even after rebooting and also other external methods that | used to run well now deliver the same message. | | Does anybody have suggestions how to diagnose/cure this problem? You have several options:- First type 'unlimit' at your prompt before you start Zope (or in a shell script). This should raise your max files from 64 to 800+ You should verfiy this by typing 'limits' at a prompt to see what the settings are before and after the unlimit. Next you can increase the MAXUSERS in your kernel conf to something larger (say over 100) which will increase the maximum number of file descriptors available and increase the number network buffers availalble (which you will need for a webserver anyway) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
Recompile your kernel with a higher value for MAXUSERS (x4 for example) ----- Original Message ----- From: "Ragnar Beer" <rbeer@uni-goettingen.de> To: <zope@zope.org> Sent: Tuesday, July 04, 2000 6:31 PM Subject: [Zope] too many open files
Help!
Zope 2.1.6 refuses to work in the middle of an external method on my i386 running under OpenBSD 2.7. Is says: ---------------------------------------------------- OSError [Errno 24] Too many open files: '/var/tmp/@6067.265' ----------------------------------------------------
I've never ever seen this problem before and this external method used to work well until some minutes ago. Now the error keeps reappearing even after rebooting and also other external methods that used to run well now deliver the same message.
Does anybody have suggestions how to diagnose/cure this problem?
--Ragnar
_______________________________________________ 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 )
hi, is there any document around which list procedures how to accomplish simple cgi tasks with dtml. say i get a input into a text box thru the browser with the name as valname. Then how do i print this valname thru dtml. ofcourse i checked out with the guides but could locate cgi calls, something called request i did find, but dont know how to use it. thankx ps: dont kick me out, everybody has to have a start.
rajil@iitk.ac.in (Rajil Saraswat) wrote:
browser with the name as valname. Then how do i print this valname thru dtml.
This is easy. <dtml-var valname> See the rules for "Name Lookup" in the DTML Reference Guide. There are circumstances where it's not so simple...
ofcourse i checked out with the guides but could locate cgi calls,
That's so because the documentation sucks^H^H^H^H^Hneeds to be improved. Digital Creations is aware of this.
ps: dont kick me out, everybody has to have a start.
We are all gentle tolerant people here. Well, most of the time. Cheers, Nils -- nika@acm.org | nika@kassube.de (preferred) 4kassube@informatik.uni-hamburg.de | nika@on-luebeck.de
i tried out this but this isnt working out for me. can you point out the error. my index_html file is <dtml-var standard_html_header> <FORM method=post action=http://localhost:8080/3inet/print> Enter name: <INPUT type=text name=valname><BR> <INPUT type=submit> </FORM> <dtml-var standard_html_footer> the print file is <dtml-var standard_html_header> <h2> <dtml-var valname> </h2> <dtml-var standard_html_footer> when i submit the form the print page is outputted but the value of the textbox(valname) is not outputted. whats wrong? another thing i havent understood is that zope.org is running on zope, then why they donot have url based on 8080. if they are using pcgi then the url must have been http://zope.org/zope.cgi/index_html isnt this so? i also want my url to be simply on http://localhost, what do i need to do for this. Thanks for helping me out. On Tue, 4 Jul 2000, Nils Kassube wrote:
rajil@iitk.ac.in (Rajil Saraswat) wrote:
browser with the name as valname. Then how do i print this valname thru dtml.
This is easy.
<dtml-var valname>
See the rules for "Name Lookup" in the DTML Reference Guide. There are circumstances where it's not so simple...
ofcourse i checked out with the guides but could locate cgi calls,
That's so because the documentation sucks^H^H^H^H^Hneeds to be improved. Digital Creations is aware of this.
ps: dont kick me out, everybody has to have a start.
We are all gentle tolerant people here. Well, most of the time.
Cheers, Nils -- nika@acm.org | nika@kassube.de (preferred) 4kassube@informatik.uni-hamburg.de | nika@on-luebeck.de
_______________________________________________ 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 )
rajil@iitk.ac.in (Rajil Saraswat) wrote:
i tried out this but this isnt working out for me. can you point out the error.
The DTML source is okay. This should work.
when i submit the form the print page is outputted but the value of the textbox(valname) is not outputted. whats wrong?
What do you mean by "the print page is outputted"? Do you see the source? Or is only the <dtml-var valname> part not displayed? Cheers, Nils -- nika@acm.org | nika@kassube.de (preferred) 4kassube@informatik.uni-hamburg.de | nika@on-luebeck.de
On Wed, 5 Jul 2000, Nils Kassube wrote: No isee the rendered page in the browser but i donot see the <dtml-var valname> value. it just gives a blank. is something wrong here. Rajil
rajil@iitk.ac.in (Rajil Saraswat) wrote:
i tried out this but this isnt working out for me. can you point out the error.
The DTML source is okay. This should work.
when i submit the form the print page is outputted but the value of the textbox(valname) is not outputted. whats wrong?
What do you mean by "the print page is outputted"? Do you see the source? Or is only the <dtml-var valname> part not displayed?
Cheers, Nils -- nika@acm.org | nika@kassube.de (preferred) 4kassube@informatik.uni-hamburg.de | nika@on-luebeck.de
rajil@iitk.ac.in (Rajil Saraswat) wrote:
No isee the rendered page in the browser but i donot see the <dtml-var valname> value. it just gives a blank. is something wrong here.
Weird. Are you absolutely, positively sure that you use the DTML source you published here? I mean are you sure that the action attribute of the <form> tag is pointing to the right method? Or is it perhaps possible that the source in the print method somehow was changed? Please check twice, I made similiar mistakes in the past. Like everyone else doing software development... :-) Cheers, Nils -- nika@acm.org | nika@kassube.de (preferred) 4kassube@informatik.uni-hamburg.de | nika@on-luebeck.de
On Wed, 5 Jul 2000, Nils Kassube wrote: yes, i did the exact, but atlast i have managed to produce the output. i now use <dtml-var "REQUEST.form['valname']"> which is printing the results fine.
rajil@iitk.ac.in (Rajil Saraswat) wrote:
No isee the rendered page in the browser but i donot see the <dtml-var valname> value. it just gives a blank. is something wrong here.
Weird. Are you absolutely, positively sure that you use the DTML source you published here? I mean are you sure that the action attribute of the <form> tag is pointing to the right method? Or is it perhaps possible that the source in the print method somehow was changed?
Please check twice, I made similiar mistakes in the past. Like everyone else doing software development... :-)
Cheers, Nils -- nika@acm.org | nika@kassube.de (preferred) 4kassube@informatik.uni-hamburg.de | nika@on-luebeck.de
_______________________________________________ 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 (5)
-
Andrew Kenneth Milton -
Nils Kassube -
Olivier Deckmyn -
Ragnar Beer -
Rajil Saraswat