Strange Zope behavior/Instability
For reasons unknown we lost http connectivity to our Zope server three times last night. I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything. Here are some specifics about our setup... version of python: 1.5.2 operating system: Linux 2.2.12-20smp (Redhat 6.1) services running on machine: MySQL 2 instances of Zope Python machine specifics: CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks version of Zope: 2.1.4 Thanks, Rob
Rob Sporleder:
For reasons unknown we lost http connectivity to our Zope server three times last night.
When you say lost connectivity, do you mean the browsers gave you back a 'Server Not Resonding' message, or was is as if Zope was just spinning it's wheels? If it was the latter, how long did you wait to see if you did get a response? 1 minute, 10, 30?
I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
This happened to me, but it caused a single process to chew CPU. Since you noticed no such chewing, I'll bet it's not the DTML decapitation bug.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Thanks, Rob
_______________________________________________ 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 )
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
I received a server not responding error. We lost connectivity twice on Friday as well. I setup a script to restart the server every X minutes so we wouldn't have to worry about it over the weekend. I removed the cronjob on Tuesday morning and it was fine until early Wednesday morning when it went down three times in 30 minutes. Thanks, Rob -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jason Spisak Sent: Wednesday, May 31, 2000 12:10 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability Rob Sporleder:
For reasons unknown we lost http connectivity to our Zope server three times last night.
When you say lost connectivity, do you mean the browsers gave you back a 'Server Not Resonding' message, or was is as if Zope was just spinning it's wheels? If it was the latter, how long did you wait to see if you did get a response? 1 minute, 10, 30?
I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
This happened to me, but it caused a single process to chew CPU. Since you noticed no such chewing, I'll bet it's not the DTML decapitation bug.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Thanks, Rob
_______________________________________________ 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 )
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. _______________________________________________ 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 )
Rob Sporleder:
I received a server not responding error. We lost connectivity twice on Friday as well. I setup a script to restart the server every X minutes so we wouldn't have to worry about it over the weekend. I removed the cronjob on Tuesday morning and it was fine until early Wednesday morning when it went down three times in 30 minutes.
Thanks, Rob
Wow. Ugly. Are the Zope processes still up after you've lost connectivity? If so, can you get a browser on the machine running zope to access it? http://localhost:8080, or whatever port your running on.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jason Spisak Sent: Wednesday, May 31, 2000 12:10 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability
Rob Sporleder:
For reasons unknown we lost http connectivity to our Zope server three times last night.
When you say lost connectivity, do you mean the browsers gave you back a 'Server Not Resonding' message, or was is as if Zope was just spinning it's wheels? If it was the latter, how long did you wait to see if you did get a response? 1 minute, 10, 30?
I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
This happened to me, but it caused a single process to chew CPU. Since you noticed no such chewing, I'll bet it's not the DTML decapitation bug.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
All of the python z2.py processes are still running. I haven't checked if I can get to it using http://localhost. The server is offsite. However, I did try an http get from the command line and it did not respond. -----Original Message----- From: Jason Spisak [mailto:444@hiretechs.com] Sent: Wednesday, May 31, 2000 1:13 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down) Rob Sporleder:
I received a server not responding error. We lost connectivity twice on Friday as well. I setup a script to restart the server every X minutes so we wouldn't have to worry about it over the weekend. I removed the cronjob on Tuesday morning and it was fine until early Wednesday morning when it went down three times in 30 minutes.
Thanks, Rob
Wow. Ugly. Are the Zope processes still up after you've lost connectivity? If so, can you get a browser on the machine running zope to access it? http://localhost:8080, or whatever port your running on.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jason Spisak Sent: Wednesday, May 31, 2000 12:10 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability
Rob Sporleder:
For reasons unknown we lost http connectivity to our Zope server three times last night.
When you say lost connectivity, do you mean the browsers gave you back a 'Server Not Resonding' message, or was is as if Zope was just spinning it's wheels? If it was the latter, how long did you wait to see if you did get a response? 1 minute, 10, 30?
I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
This happened to me, but it caused a single process to chew CPU. Since you noticed no such chewing, I'll bet it's not the DTML decapitation bug.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Rob Sporleder writes:
All of the python z2.py processes are still running. I haven't checked if I can get to it using http://localhost. The server is offsite. However, I did try an http get from the command line and it did not respond.
Was it the command line on the server? from the server shell: $>wget http://localhost:8080 I'm trying to narrow it down to the real culprit. We can't be sure it's Zope and not the DNS/Machine/Routing/Firewall/ or anything else.
-----Original Message----- From: Jason Spisak [mailto:444@hiretechs.com] Sent: Wednesday, May 31, 2000 1:13 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down)
Rob Sporleder:
I received a server not responding error. We lost connectivity twice on Friday as well. I setup a script to restart the server every X minutes so we wouldn't have to worry about it over the weekend. I removed the cronjob on Tuesday morning and it was fine until early Wednesday morning when it went down three times in 30 minutes.
Thanks, Rob
Wow. Ugly. Are the Zope processes still up after you've lost connectivity? If so, can you get a browser on the machine running zope to access it? http://localhost:8080, or whatever port your running on.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jason Spisak Sent: Wednesday, May 31, 2000 12:10 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability
Rob Sporleder:
For reasons unknown we lost http connectivity to our Zope server three times last night.
When you say lost connectivity, do you mean the browsers gave you back a 'Server Not Resonding' message, or was is as if Zope was just spinning it's wheels? If it was the latter, how long did you wait to see if you did get a response? 1 minute, 10, 30?
I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
This happened to me, but it caused a single process to chew CPU. Since you noticed no such chewing, I'll bet it's not the DTML decapitation bug.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
It was the command line within the shell. Actually, I've found something that's interesting... The system clock is an hour slow. The logs are written 6 hours ahead. I greped the log file for BigBrother and found an hour gap with no BigBrother entries from 06:37:53 and 07:40:23, roughly the time that the site seemed to go down. However, during this time there were hundreds of successful hits to the site. --Rob -----Original Message----- From: Jason Spisak [mailto:444@hiretechs.com] Sent: Wednesday, May 31, 2000 2:42 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down) Rob Sporleder writes:
All of the python z2.py processes are still running. I haven't checked if I can get to it using http://localhost. The server is offsite. However, I did try an http get from the command line and it did not respond.
Was it the command line on the server? from the server shell: $>wget http://localhost:8080 I'm trying to narrow it down to the real culprit. We can't be sure it's Zope and not the DNS/Machine/Routing/Firewall/ or anything else.
-----Original Message----- From: Jason Spisak [mailto:444@hiretechs.com] Sent: Wednesday, May 31, 2000 1:13 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down)
Rob Sporleder:
I received a server not responding error. We lost connectivity twice on Friday as well. I setup a script to restart the server every X minutes so we wouldn't have to worry about it over the weekend. I removed the cronjob on Tuesday morning and it was fine until early Wednesday morning when it went down three times in 30 minutes.
Thanks, Rob
Wow. Ugly. Are the Zope processes still up after you've lost connectivity? If so, can you get a browser on the machine running zope to access it? http://localhost:8080, or whatever port your running on.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jason Spisak Sent: Wednesday, May 31, 2000 12:10 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability
Rob Sporleder:
For reasons unknown we lost http connectivity to our Zope server three times last night.
When you say lost connectivity, do you mean the browsers gave you back a 'Server Not Resonding' message, or was is as if Zope was just spinning it's wheels? If it was the latter, how long did you wait to see if you did get a response? 1 minute, 10, 30?
I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
This happened to me, but it caused a single process to chew CPU. Since you noticed no such chewing, I'll bet it's not the DTML decapitation bug.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Rob Sporleder writes:
It was the command line within the shell.
Was it the shell on the 'server' serving zope or a shell on your local admin machine?
Actually, I've found something that's interesting...
The system clock is an hour slow.
They get behind easily if your not using an time server somewhere.
The logs are written 6 hours ahead.
I have no idea on that.
I greped the log file for BigBrother and found an hour gap with no BigBrother
Is BigBrother the Zope server?
entries from 06:37:53 and 07:40:23, roughly the time that the site seemed to go down. However, during this time there were hundreds of successful hits to the site.
What told you there were successful hits? The Zope log? If understanding you, you are seeing confilcting things in 2 logs. One log says there was successfull hit, and the other shows nothing for that time. Is this close?
Rob Sporleder writes:
All of the python z2.py processes are still running. I haven't checked if I can get to it using http://localhost. The server is offsite. However, I did try an http get from the command line and it did not respond.
Was it the command line on the server? from the server shell:
$>wget http://localhost:8080
I'm trying to narrow it down to the real culprit. We can't be sure it's Zope and not the DNS/Machine/Routing/Firewall/ or anything else.
-----Original Message----- From: Jason Spisak [mailto:444@hiretechs.com] Sent: Wednesday, May 31, 2000 1:13 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down)
Rob Sporleder:
I received a server not responding error. We lost connectivity twice on Friday as well. I setup a script to restart the server every X minutes so we wouldn't have to worry about it over the weekend. I removed the cronjob on Tuesday morning and it was fine until early Wednesday morning when it went down three times in 30 minutes.
Thanks, Rob
Wow. Ugly. Are the Zope processes still up after you've lost connectivity? If so, can you get a browser on the machine running zope to access it? http://localhost:8080, or whatever port your running on.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jason Spisak Sent: Wednesday, May 31, 2000 12:10 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability
Rob Sporleder:
For reasons unknown we lost http connectivity to our Zope server three times last night.
When you say lost connectivity, do you mean the browsers gave you back a 'Server Not Resonding' message, or was is as if Zope was just spinning it's wheels? If it was the latter, how long did you wait to see if you did get a response? 1 minute, 10, 30?
I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
This happened to me, but it caused a single process to chew CPU. Since you noticed no such chewing, I'll bet it's not the DTML decapitation bug.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
The shell was on my local machine... BigBrother is the monitoring software we use. The client is installed on the same server as Zope. When viewing the log files there were no connections made by BigBrother (checking for http connections). However, there were many hits from outside IP's. Thanks, Rob -----Original Message----- From: Jason Spisak [mailto:444@hiretechs.com] Sent: Friday, June 02, 2000 10:17 AM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down) Rob Sporleder writes:
It was the command line within the shell.
Was it the shell on the 'server' serving zope or a shell on your local admin machine?
Actually, I've found something that's interesting...
The system clock is an hour slow.
They get behind easily if your not using an time server somewhere.
The logs are written 6 hours ahead.
I have no idea on that.
I greped the log file for BigBrother and found an hour gap with no BigBrother
Is BigBrother the Zope server?
entries from 06:37:53 and 07:40:23, roughly the time that the site seemed to go down. However, during this time there were hundreds of successful hits to the site.
What told you there were successful hits? The Zope log? If understanding you, you are seeing confilcting things in 2 logs. One log says there was successfull hit, and the other shows nothing for that time. Is this close?
Rob Sporleder writes:
All of the python z2.py processes are still running. I haven't checked
if
I
can get to it using http://localhost. The server is offsite. However, I did try an http get from the command line and it did not respond.
Was it the command line on the server? from the server shell:
$>wget http://localhost:8080
I'm trying to narrow it down to the real culprit. We can't be sure it's Zope and not the DNS/Machine/Routing/Firewall/ or anything else.
-----Original Message----- From: Jason Spisak [mailto:444@hiretechs.com] Sent: Wednesday, May 31, 2000 1:13 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down)
Rob Sporleder:
I received a server not responding error. We lost connectivity twice on Friday as well. I setup a script to restart the server every X minutes so we wouldn't have to worry about it over the weekend. I removed the cronjob on Tuesday morning and it was fine until early Wednesday morning when it went down three times in 30 minutes.
Thanks, Rob
Wow. Ugly. Are the Zope processes still up after you've lost connectivity? If so, can you get a browser on the machine running zope to access it? http://localhost:8080, or whatever port your running on.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jason Spisak Sent: Wednesday, May 31, 2000 12:10 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability
Rob Sporleder:
For reasons unknown we lost http connectivity to our Zope server three times last night.
When you say lost connectivity, do you mean the browsers gave you back a 'Server Not Resonding' message, or was is as if Zope was just spinning it's wheels? If it was the latter, how long did you wait to see if you did get a response? 1 minute, 10, 30?
I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
This happened to me, but it caused a single process to chew CPU. Since you noticed no such chewing, I'll bet it's not the DTML decapitation bug.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Rob Sporleder writes:
The shell was on my local machine...
That's the same as tryinga browser for network purposes. Can you try bringing up a shell on the server next time and try a wget http://localhost:8080, and see if it returns anything. If so, the Zope is fine and it's that other stuff, like network cards etc...
BigBrother is the monitoring software we use. The client is installed on the same server as Zope.
When viewing the log files there were no connections made by BigBrother (checking for http connections). However, there were many hits from outside IP's.
Thanks, Rob
-----Original Message----- From: Jason Spisak [mailto:444@hiretechs.com] Sent: Friday, June 02, 2000 10:17 AM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down)
Rob Sporleder writes:
It was the command line within the shell.
Was it the shell on the 'server' serving zope or a shell on your local admin machine?
Actually, I've found something that's interesting...
The system clock is an hour slow.
They get behind easily if your not using an time server somewhere.
The logs are written 6 hours ahead.
I have no idea on that.
I greped the log file for BigBrother and found an hour gap with no BigBrother
Is BigBrother the Zope server?
entries from 06:37:53 and 07:40:23, roughly the time that the site seemed to go down. However, during this time there were hundreds of successful hits to the site.
What told you there were successful hits? The Zope log? If understanding you, you are seeing confilcting things in 2 logs. One log says there was successfull hit, and the other shows nothing for that time. Is this close?
Rob Sporleder writes:
All of the python z2.py processes are still running. I haven't checked
if
I
can get to it using http://localhost. The server is offsite. However, I did try an http get from the command line and it did not respond.
Was it the command line on the server? from the server shell:
$>wget http://localhost:8080
I'm trying to narrow it down to the real culprit. We can't be sure it's Zope and not the DNS/Machine/Routing/Firewall/ or anything else.
-----Original Message----- From: Jason Spisak [mailto:444@hiretechs.com] Sent: Wednesday, May 31, 2000 1:13 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down)
Rob Sporleder:
I received a server not responding error. We lost connectivity twice on Friday as well. I setup a script to restart the server every X minutes so we wouldn't have to worry about it over the weekend. I removed the cronjob on Tuesday morning and it was fine until early Wednesday morning when it went down three times in 30 minutes.
Thanks, Rob
Wow. Ugly. Are the Zope processes still up after you've lost connectivity? If so, can you get a browser on the machine running zope to access it? http://localhost:8080, or whatever port your running on.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jason Spisak Sent: Wednesday, May 31, 2000 12:10 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability
Rob Sporleder:
For reasons unknown we lost http connectivity to our Zope server three times last night.
When you say lost connectivity, do you mean the browsers gave you back a 'Server Not Resonding' message, or was is as if Zope was just spinning it's wheels? If it was the latter, how long did you wait to see if you did get a response? 1 minute, 10, 30?
I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
This happened to me, but it caused a single process to chew CPU. Since you noticed no such chewing, I'll bet it's not the DTML decapitation bug.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason, Rob: Ive just seen your mails, and thought uuups! One of my customers is using zope (2.1.4; ms cluster server; nt4 basis). Zope has been running fine for more than three months, but on 1st of June it crashed, and didn't came up again (no response from server even the zope services seemed to be up and running). every minute or so, we got the following message in the event-view: restarting zope. The only chance I saw to bring Zope up again, was to reinstall the whole thing, and use the backed up Data.fs file. So far so good, its now running again, all data is ok, nothing lost. But: whats the reason for this? i simply have no idea (logs didnt show anything relevant as far as i understand). why i thought uups, was because of the same time this happend to me as to you (you also use 2.1.4). could it be a problem with 2.1.4? should we consider to upgrade to 2.1.6? regards Harald ----- Original Message ----- From: "Jason Spisak" <444@hiretechs.com> To: <rsporleder@openave.com> Cc: <zope@zope.org> Sent: Friday, June 02, 2000 9:15 PM Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down)
Rob Sporleder writes:
The shell was on my local machine...
That's the same as tryinga browser for network purposes. Can you try bringing up a shell on the server next time and try a wget http://localhost:8080, and see if it returns anything. If so, the Zope is fine and it's that other stuff, like network cards etc...
BigBrother is the monitoring software we use. The client is installed on the same server as Zope.
When viewing the log files there were no connections made by BigBrother (checking for http connections). However, there were many hits from outside IP's.
Thanks, Rob
-----Original Message----- From: Jason Spisak [mailto:444@hiretechs.com] Sent: Friday, June 02, 2000 10:17 AM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down)
Rob Sporleder writes:
It was the command line within the shell.
Was it the shell on the 'server' serving zope or a shell on your local admin machine?
Actually, I've found something that's interesting...
The system clock is an hour slow.
They get behind easily if your not using an time server somewhere.
The logs are written 6 hours ahead.
I have no idea on that.
I greped the log file for BigBrother and found an hour gap with no BigBrother
Is BigBrother the Zope server?
entries from 06:37:53 and 07:40:23, roughly the time that the site seemed to go down. However, during this time there were hundreds of successful hits to the site.
What told you there were successful hits? The Zope log? If understanding you, you are seeing confilcting things in 2 logs. One log says there was successfull hit, and the other shows nothing for that time. Is this close?
Rob Sporleder writes:
All of the python z2.py processes are still running. I haven't
checked if
I
can get to it using http://localhost. The server is offsite. However, I did try an http get from the command line and it did not respond.
Was it the command line on the server? from the server shell:
$>wget http://localhost:8080
I'm trying to narrow it down to the real culprit. We can't be sure it's Zope and not the DNS/Machine/Routing/Firewall/ or anything else.
-----Original Message----- From: Jason Spisak [mailto:444@hiretechs.com] Sent: Wednesday, May 31, 2000 1:13 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability (Zope going down)
Rob Sporleder:
I received a server not responding error. We lost connectivity twice on Friday as well. I setup a script to restart the server every X minutes so we wouldn't have to worry about it over the weekend. I removed the cronjob on Tuesday morning and it was fine until early Wednesday morning when it went down three times in 30 minutes.
Thanks, Rob
Wow. Ugly. Are the Zope processes still up after you've lost connectivity? If so, can you get a browser on the machine running zope to access it? http://localhost:8080, or whatever port your running on.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jason Spisak Sent: Wednesday, May 31, 2000 12:10 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability
Rob Sporleder:
For reasons unknown we lost http connectivity to our Zope server three times last night.
When you say lost connectivity, do you mean the browsers gave you back a 'Server Not Resonding' message, or was is as if Zope was just spinning it's wheels? If it was the latter, how long did you wait to see if you did get a response? 1 minute, 10, 30?
I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
This happened to me, but it caused a single process to chew CPU. Since you noticed no such chewing, I'll bet it's not the DTML decapitation bug.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
_______________________________________________ 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 )
Harald Ragger writes:
Jason, Rob:
Ive just seen your mails, and thought uuups! One of my customers is using zope (2.1.4; ms cluster server; nt4 basis). Zope has been running fine for more than three months, but on 1st of June it crashed, and didn't came up again (no response from server even the zope services seemed to be up and running). every minute or so, we got the following message in the event-view: restarting zope.
Do you mean that zope wouldn't restart? Even if you restarted the server?
The only chance I saw to bring Zope up again, was to reinstall the whole thing, and use the backed up Data.fs file. So far so good, its now running again, all data is ok, nothing lost. But: whats the reason for this? i simply have no idea (logs didnt show anything relevant as far as i understand). why i thought uups, was because of the same time this happend to me as to you (you also use 2.1.4). could it be a problem with 2.1.4? should we consider to upgrade to 2.1.6?
It's worth a shot. I don't have any installations running on 2.1.4. Just 2.1.1 and 2.1.6. Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak asked:
Do you mean that zope wouldn't restart? Even if you restarted the server?
Yes, zope didnt restart:-( but i'm not sure if its a problem with zope or just with the ms-cluster server.
Hi, This feature really bugs me so I thought I write a Tips (or HOWTO). But I need some help. (Also I believe it's documented somewhere, but I cant figure out where...) When calling the a DTML-method the second time in a row the namespace just disapears. Using _.None and _ as begining arguments make it all work again. The questions are: -Why does DTML act like this, is there a logical explanition? -Where is this documented? (I know I say it somewhere) -What would be the best way to name and categorise this "feature". Best Regards, Johan Carlsson If you understand my brief problem description, here's a scenario: In /folder1 there is three DTML-methods: meth1, meth2 In /folder1/folder2 there is a fourth DTML-method: meth3 /folder1/meth1: <dtml-with folder2> #changes the namespace <dtml-call "meth3()"> # works just fine </dtml-with> /folder1/meth2: <dtml-call "meth1()"> #doesn't work /folder1/folder2/meth3: <dtml-var "'hällå wörld'"> # or something useful like hello foobar Solution: In /folder1 there is three DTML-methods: meth1, meth2 In /folder1/folder2 there is a fourth DTML-method: meth3 /folder1/meth1: <dtml-with folder2> #changes the namespace <dtml-call "meth3(_.None,_)"> # works just fine </dtml-with> /folder1/meth2: <dtml-call "meth1(_.None,_)"> #works like a working thing /folder1/folder2/meth3: <dtml-var "'hällå wörld'"> #or something useful like hello foobar (oh, it the same...)
Everything is more or less simple - when you invoke method by <dtml-var meth1> - that "mapping" _ and "client" _.None are passed automagically :) when you invoke method with explicit arguments like <dtml-var "meth1()">, you have to pass those two explicitly like <dtml-var "meth1(_,_.None,...)"> details are here: http://lists.zope.org/pipermail/zope/2000-January/017687.html ----- Original Message ----- From: "Johan Carlsson" <johanc@torped.se> To: <zope@zope.org> Sent: Thursday, June 01, 2000 12:43 AM Subject: [Zope] The funny _.None,_ feature in DTML kind of question
Hi, This feature really bugs me so I thought I write a Tips (or HOWTO). But I need some help. (Also I believe it's documented somewhere, but I cant figure out where...)
When calling the a DTML-method the second time in a row the namespace just disapears.
Using _.None and _ as begining arguments make it all work again.
The questions are: -Why does DTML act like this, is there a logical explanition? -Where is this documented? (I know I say it somewhere) -What would be the best way to name and categorise this "feature".
Best Regards, Johan Carlsson
If you understand my brief problem description, here's a scenario:
In /folder1 there is three DTML-methods: meth1, meth2 In /folder1/folder2 there is a fourth DTML-method: meth3
/folder1/meth1: <dtml-with folder2> #changes the namespace <dtml-call "meth3()"> # works just fine </dtml-with>
/folder1/meth2: <dtml-call "meth1()"> #doesn't work
/folder1/folder2/meth3: <dtml-var "'hällå wörld'"> # or something useful like hello foobar
Solution:
In /folder1 there is three DTML-methods: meth1, meth2 In /folder1/folder2 there is a fourth DTML-method: meth3
/folder1/meth1: <dtml-with folder2> #changes the namespace <dtml-call "meth3(_.None,_)"> # works just fine </dtml-with>
/folder1/meth2: <dtml-call "meth1(_.None,_)"> #works like a working thing
/folder1/folder2/meth3: <dtml-var "'hällå wörld'"> #or something useful like hello foobar (oh, it the same...)
_______________________________________________ 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 )
There is some more information at http://www.zope.org/Documentation/How-To/AdvancedDTML Look for the section "DTML Calling Arguments". Reading that left me a bit confused because here you say (and I have read elsewhere too) that method is passed client=_.None. I thought that the client should be the object on which the dtml method 'operates'. So how does the dmtl method access the attributes of the object it is called upon? Is it because the namespace object '_' has the namespace of the object on top? Any example of where the client parameter would be useful? Thanks, Shalabh ----- Original Message ----- From: Vitaly Osipov <vos@telenor.cz> To: Johan Carlsson <johanc@torped.se>; <zope@zope.org> Sent: Thursday, June 01, 2000 3:50 PM Subject: Re: [Zope] The funny _.None,_ feature in DTML kind of question
Everything is more or less simple - when you invoke method by <dtml-var meth1> - that "mapping" _ and "client" _.None are passed automagically :)
when you invoke method with explicit arguments like <dtml-var "meth1()">, you have to pass those two explicitly like <dtml-var "meth1(_,_.None,...)">
details are here:
http://lists.zope.org/pipermail/zope/2000-January/017687.html
----- Original Message ----- From: "Johan Carlsson" <johanc@torped.se> To: <zope@zope.org> Sent: Thursday, June 01, 2000 12:43 AM Subject: [Zope] The funny _.None,_ feature in DTML kind of question
Hi, This feature really bugs me so I thought I write a Tips (or HOWTO). But I need some help. (Also I believe it's documented somewhere, but I cant figure out where...)
When calling the a DTML-method the second time in a row the namespace just disapears.
Using _.None and _ as begining arguments make it all work again.
The questions are: -Why does DTML act like this, is there a logical explanition? -Where is this documented? (I know I say it somewhere) -What would be the best way to name and categorise this "feature".
Best Regards, Johan Carlsson
If you understand my brief problem description, here's a scenario:
In /folder1 there is three DTML-methods: meth1, meth2 In /folder1/folder2 there is a fourth DTML-method: meth3
/folder1/meth1: <dtml-with folder2> #changes the namespace <dtml-call "meth3()"> # works just fine </dtml-with>
/folder1/meth2: <dtml-call "meth1()"> #doesn't work
/folder1/folder2/meth3: <dtml-var "'hällå wörld'"> # or something useful like hello foobar
Solution:
In /folder1 there is three DTML-methods: meth1, meth2 In /folder1/folder2 there is a fourth DTML-method: meth3
/folder1/meth1: <dtml-with folder2> #changes the namespace <dtml-call "meth3(_.None,_)"> # works just fine </dtml-with>
/folder1/meth2: <dtml-call "meth1(_.None,_)"> #works like a working thing
/folder1/folder2/meth3: <dtml-var "'hällå wörld'"> #or something useful like hello foobar (oh, it the same...)
_______________________________________________ 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 )
_______________________________________________ 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 )
I must admit that it was a bit too prompt reply by me:) - I guess that _.None is used almost always - I do not know any uses for values other than _.None, but the following exerpt from sources of Zope 2.1.6 can get some hints: DT_String.py: (afaik module from which all dtml methods inherit __call__ ) def __call__(self,client=None,mapping={},**kw): '''\ Generate a document from a document template. The document will be generated by inserting values into the format string specified when the document template was created. Values are inserted using standard python named string formats. The optional argument 'client' is used to specify a object containing values to be looked up. Values will be looked up using getattr, so inheritence of values is supported. Note that names beginning with '_' will not be looked up from the client. The optional argument, 'mapping' is used to specify a mapping object containing values to be inserted. Values will be inserted from one of several sources. The sources, in the order in which they are consulted, are: o Keyword arguments, o The 'client' argument, o The 'mapping' argument, o The keyword arguments provided when the object was created, and o The 'mapping' argument provided when the template was created ''' so client part provides some more indirection than simple "_" mapping, which is, as Michel Pelletier wrote in the letter I quoted, "the current DTML namespace"... also in DTMLDocument.py: def __call__(self, client=None, REQUEST={}, RESPONSE=None, **kw): """Render the document given a client object, REQUEST mapping, Response, and key word arguments.""" kw['document_id'] =self.id kw['document_title']=self.title if hasattr(self, 'aq_explicit'): bself=self.aq_explicit else: bself=self if client is None: # Called as subtemplate, so don't need error propigation! r=apply(HTML.__call__, (self, bself, REQUEST), kw) if RESPONSE is None: return r return decapitate(r, RESPONSE) r=apply(HTML.__call__, (self, (client, bself), REQUEST), kw) if type(r) is not type(''): return r if RESPONSE is None: return r hh=RESPONSE.headers.has_key if not (hh('content-type') or hh('Content-Type')): if self.__dict__.has_key('content_type'): c=self.content_type else: c, e=guess_content_type(self.__name__, r) RESPONSE.setHeader('Content-Type', c) return r seems like client is supplied only when called over the http, not as a method inside a method(???) ----- Original Message ----- From: "Shalabh Chaturvedi" <shalabh@pspl.co.in>
Reading that left me a bit confused because here you say (and I have read elsewhere too) that method is passed client=_.None. I thought that the
client
should be the object on which the dtml method 'operates'. So how does the dmtl method access the attributes of the object it is called upon? Is it because the namespace object '_' has the namespace of the object on top?
Hmm... what do you mean by method operatind on some object? I thought that in dtml "methods" are kind of an object themselves... so e.g. they inherit properties of their containers just because those attributes are in a namespace. (the only exclusion here could be methods of ZClasses)
Any example of where the client parameter would be useful?
Maybe (I didn't look into the code - I am not a python/C wizard, especially when it comes to python classes defined in C programs :) ) those client settings are used in Zclasses? i.e. class as an object is passed in that client argument to all methods of its instances... It is most likely what could be called "methods operating on objects" in dtml Regards, Vitaly
From my experience, the only time any of my Zope's (4 now running for the last 2/3 months) have actually gone down is due to improper coding. Check and double check every piece of code you have written and look for something funky. What products do you have installed?
J
From: "Rob Sporleder" <rsporleder@openave.com> Reply-To: <rsporleder@openave.com> Date: Wed, 31 May 2000 11:03:56 -0700 To: <zope@zope.org> Subject: [Zope] Strange Zope behavior/Instability
For reasons unknown we lost http connectivity to our Zope server three times last night. I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Thanks, Rob
_______________________________________________ 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 )
This particular instance of Zope only uses Python. I have another installation that utilizes MySQL and that one runs without problems. Thanks, Rob -----Original Message----- From: J. Atwood [mailto:jatwood@bwanazulia.com] Sent: Wednesday, May 31, 2000 2:09 PM To: rsporleder@openave.com Cc: zope@zope.org Subject: Re: [Zope] Strange Zope behavior/Instability
From my experience, the only time any of my Zope's (4 now running for the last 2/3 months) have actually gone down is due to improper coding. Check and double check every piece of code you have written and look for something funky. What products do you have installed?
J
From: "Rob Sporleder" <rsporleder@openave.com> Reply-To: <rsporleder@openave.com> Date: Wed, 31 May 2000 11:03:56 -0700 To: <zope@zope.org> Subject: [Zope] Strange Zope behavior/Instability
For reasons unknown we lost http connectivity to our Zope server three times last night. I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
Here are some specifics about our setup...
version of python: 1.5.2
operating system: Linux 2.2.12-20smp (Redhat 6.1)
services running on machine: MySQL 2 instances of Zope Python
machine specifics:
CPU: 0.04 MEM: 31M of 512M Swap: 528688K free Disk Space: GB's available on all partitions Hardware: 598 Mhz Pentium III, 4 17.4 GB SCSI hard disks
version of Zope: 2.1.4
Thanks, Rob
_______________________________________________ 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,
For reasons unknown we lost http connectivity to our Zope server three times last night. I've checked the http logs and, as I suspected, didn't find anything unusual around the time we lost connectivity. The Python processes are still running and everything looks normal except for the connectivity problem. Does anybody have any idea what might be causing this? I haven't found anything.
[snip]
operating system: Linux 2.2.12-20smp (Redhat 6.1)
We had something similar on a number of Red Hat Linux boxes we run (both single and multiprocessor). The machine would become uncommunicative for a while and then magically come back. No apparent reasons why, no logs, the kind of thing that makes you doubt your sanity. The solution was to replace the 3Com ethernet card driver with the latest version (I got it from ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/3c59x.c). You'll need the kernel source, replace the 3c59x.c file with the latest one. Then like "make modules" and then copy the resulting 3c59x.o file into /lib/modules/<kernel version> directory). Reboot.... Problem went away for us, machine nice and stable. Don't know the detail around what the problem was or why this solves it. Simon -- --------- My opinions are my own, NIP's opinions are theirs ---------- Simon J. Coles Email: simon@nipltd.com New Information Paradigms Work Phone: +44 1344 753703 http://www.nipltd.com/ Work Fax: +44 1344 753742 =============== Life is too precious to take seriously ===============
participants (8)
-
Harald Ragger -
J. Atwood -
Jason Spisak -
Johan Carlsson -
Rob Sporleder -
Shalabh Chaturvedi -
Simon Coles -
Vitaly Osipov