Ang, Trish | 8 Sep 19:20 2009
Picon

[PloneDavis-Discuss] Virtualized Plone errors!

Helloo Plonistas,

We’ve been having a problem with our main Plone server. So here’s the gist of it:

We have a Plone 3.2.3 instance with Zope 2.10.7-final running on a virtualized open bsd machine. Everything was fine and dandy for a few days, then a plague of errors struck. It has been crashing the instance with the following error message at least once a day (see attached file) for the past three weeks, not super regularly but very often around 8 or 9 in the morning, and then again sometimes around 11pm. When the errors start showing up, the instance is still running although you can’t access the ZMI or any websites. The VM host is also still running at that time.

We’ve set up a chron job that should check to see if the instance is down and then restart it, however this no longer works since the instance is seemingly still running. Nothing is logged in the error_log in the ZMI, in the squid-cache.log we have ( http://pastie.org/609799 ), and finally in the event.log we have ( http://pastie.org/609819 ).

Does this look like anything y’all have come up against before..? We’re pretty much shooting blind on this one, as we haven’t been able to locate anything that might be the root problem. Most of our other Plone instances are also on virtualized machines and run smoothly. This is our first virtualized Plone instance that is in production though. Any help would be appreciated, or if you can recommend a good Plone consultant who could work with this. Thanks everyone!

Trish
Attachment (2009-09-08.png): application/octet-stream, 82 KiB
_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss
Jeremy Phillips | 8 Sep 20:17 2009
Picon

Re: [PloneDavis-Discuss] Virtualized Plone errors!


So you've probably tried this already, but when your site is in the "failed" state can you get to Zope directly instead of through squid (i.e., at port 8080 instead of 80)?

That would give some indication of whether the problem is with Zope/Plone or with Squid.

Another thing to try is running your Zope instance in the foreground, since that gives more on screen logging than the event.log provides. 

I have many virtualized Plone instances (mostly on Ubuntu 8.04LTS rather than BSD), and I have had zero problems.

Another thing to check (again, which you've probably already done) is resource utilization on the virtual machine--are you out of disk space or memory? When a disk fills, Zope tends to just stop responding.

I've recently switched from Squid over to Varnish, and I have not regretted it for a second. Squid is an unwieldy beast. 

I actually wrote up a howto at Plone.org (but it has been "Waiting for reviewer" for about a month now):


J.

On Sep 8, 2009, at 10:20 AM, Ang, Trish wrote:

Helloo Plonistas,

We’ve been having a problem with our main Plone server. So here’s the gist of it:

We have a Plone 3.2.3 instance with Zope 2.10.7-final running on a virtualized open bsd machine. Everything was fine and dandy for a few days, then a plague of errors struck. It has been crashing the instance with the following error message at least once a day (see attached file) for the past three weeks, not super regularly but very often around 8 or 9 in the morning, and then again sometimes around 11pm. When the errors start showing up, the instance is still running although you can’t access the ZMI or any websites. The VM host is also still running at that time.

We’ve set up a chron job that should check to see if the instance is down and then restart it, however this no longer works since the instance is seemingly still running. Nothing is logged in the error_log in the ZMI, in the squid-cache.log we have ( http://pastie.org/609799 ), and finally in the event.log we have ( http://pastie.org/609819 ).

Does this look like anything y’all have come up against before..? We’re pretty much shooting blind on this one, as we haven’t been able to locate anything that might be the root problem. Most of our other Plone instances are also on virtualized machines and run smoothly. This is our first virtualized Plone instance that is in production though. Any help would be appreciated, or if you can recommend a good Plone consultant who could work with this. Thanks everyone!

Trish
<2009-09-08.png>_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss <at> velocipede.dcn.davis.ca.us
http://www2.dcn.org/mailman/listinfo/zugod-discuss

Attachment (smime.p7s): application/pkcs7-signature, 3324 bytes
_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss
Ang, Trish | 11 Sep 19:08 2009
Picon

Re: [PloneDavis-Discuss] Virtualized Plone errors!

Thanks Jeremy!

We took a look at those things and still haven’t isolated the problem. We’re considering separating our sites out to multiple servers to test and see if it’s a particular site or add-on product that is giving us grief. Otherwise, can anyone recommend a good Plone consultant? =)

Trish


On 9/8/09 11:17 AM, "Jeremy Phillips" <jeremy-ZnEz5tD0I2KVc3sceRu5cw@public.gmane.org> wrote:


So you've probably tried this already, but when your site is in the "failed" state can you get to Zope directly instead of through squid (i.e., at port 8080 instead of 80)?

That would give some indication of whether the problem is with Zope/Plone or with Squid.

Another thing to try is running your Zope instance in the foreground, since that gives more on screen logging than the event.log provides.

I have many virtualized Plone instances (mostly on Ubuntu 8.04LTS rather than BSD), and I have had zero problems.

Another thing to check (again, which you've probably already done) is resource utilization on the virtual machine--are you out of disk space or memory? When a disk fills, Zope tends to just stop responding.

I've recently switched from Squid over to Varnish, and I have not regretted it for a second. Squid is an unwieldy beast.

I actually wrote up a howto at Plone.org (but it has been "Waiting for reviewer" for about a month now):

http://plone.org/documentation/how-to/plone-behind-varnish-using-pound-for-ssl

J.

On Sep 8, 2009, at 10:20 AM, Ang, Trish wrote:

Helloo Plonistas,
 
 We’ve been having a problem with our main Plone server. So here’s the gist of it:
 
 We have a Plone 3.2.3 instance with Zope 2.10.7-final running on a virtualized open bsd machine. Everything was fine and dandy for a few days, then a plague of errors struck. It has been crashing the instance with the following error message at least once a day (see attached file) for the past three weeks, not super regularly but very often around 8 or 9 in the morning, and then again sometimes around 11pm. When the errors start showing up, the instance is still running although you can’t access the ZMI or any websites. The VM host is also still running at that time.
 
 We’ve set up a chron job that should check to see if the instance is down and then restart it, however this no longer works since the instance is seemingly still running. Nothing is logged in the error_log in the ZMI, in the squid-cache.log we have ( http://pastie.org/609799 ), and finally in the event.log we have ( http://pastie.org/609819 ).
 
 Does this look like anything y’all have come up against before..? We’re pretty much shooting blind on this one, as we haven’t been able to locate anything that might be the root problem. Most of our other Plone instances are also on virtualized machines and run smoothly. This is our first virtualized Plone instance that is in production though. Any help would be appreciated, or if you can recommend a good Plone consultant who could work with this. Thanks everyone!
 
 Trish
  <2009-09-08.png>_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss <at> velocipede.dcn.davis.ca.us
http://www2.dcn.org/mailman/listinfo/zugod-discuss


_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss
Ning Wan | 11 Sep 21:33 2009
Picon

[PloneDavis-Discuss] FW: About STEPS website

Hello,
Have you heard this kind of problem before?
Thanks,

Ning
-----Original Message-----
From: Steven [mailto:scwchen@...] 
Sent: Friday, September 11, 2009 12:27 PM
To: Peter Dempster; Ning Wan
Subject: About STEPS website

Hi,

I have a problem about viewing STEPS website.
The "character encoding" from browser was tried but not worked.
I can browse the website with English version XP system but not with 
traditional Chinese version XP.
In addition, I asked my friend in Taiwan to connect the website (8 PCs 
in the lab).  --> No PC can show STEPS webpage correctly.

The attached file is the error message.  Could you please check it?

Thank you,
Steven

_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss
Steve McMahon | 14 Sep 20:18 2009

Re: [PloneDavis-Discuss] Virtualized Plone errors!

Hi Trish,

Does restarting Zope fix it? Or does the virtual box need restarting?

It would be interesting to ssh when Zope's unresponsive and check to see if it's spinning (consuming a lot of CPU) or inactive. You could also check storage, including file handles available at that moment. vmstat output could also be interesting.

Steve

BTW, if the Zope client appears running, even when not responding, you could have your cron job try to connect to zope rather than just check it's status.

On Fri, Sep 11, 2009 at 10:08 AM, Ang, Trish <pgang-ZnEz5tD0I2KVc3sceRu5cw@public.gmane.org> wrote:
Thanks Jeremy!

We took a look at those things and still haven’t isolated the problem. We’re considering separating our sites out to multiple servers to test and see if it’s a particular site or add-on product that is giving us grief. Otherwise, can anyone recommend a good Plone consultant? =)

Trish



On 9/8/09 11:17 AM, "Jeremy Phillips" <jeremy-ZnEz5tD0I2KVc3sceRu5cw@public.gmane.org> wrote:


So you've probably tried this already, but when your site is in the "failed" state can you get to Zope directly instead of through squid (i.e., at port 8080 instead of 80)?

That would give some indication of whether the problem is with Zope/Plone or with Squid.

Another thing to try is running your Zope instance in the foreground, since that gives more on screen logging than the event.log provides.

I have many virtualized Plone instances (mostly on Ubuntu 8.04LTS rather than BSD), and I have had zero problems.

Another thing to check (again, which you've probably already done) is resource utilization on the virtual machine--are you out of disk space or memory? When a disk fills, Zope tends to just stop responding.

I've recently switched from Squid over to Varnish, and I have not regretted it for a second. Squid is an unwieldy beast.

I actually wrote up a howto at Plone.org (but it has been "Waiting for reviewer" for about a month now):

http://plone.org/documentation/how-to/plone-behind-varnish-using-pound-for-ssl

J.

On Sep 8, 2009, at 10:20 AM, Ang, Trish wrote:

Helloo Plonistas,
 
 We’ve been having a problem with our main Plone server. So here’s the gist of it:
 
 We have a Plone 3.2.3 instance with Zope 2.10.7-final running on a virtualized open bsd machine. Everything was fine and dandy for a few days, then a plague of errors struck. It has been crashing the instance with the following error message at least once a day (see attached file) for the past three weeks, not super regularly but very often around 8 or 9 in the morning, and then again sometimes around 11pm. When the errors start showing up, the instance is still running although you can’t access the ZMI or any websites. The VM host is also still running at that time.
 
 We’ve set up a chron job that should check to see if the instance is down and then restart it, however this no longer works since the instance is seemingly still running. Nothing is logged in the error_log in the ZMI, in the squid-cache.log we have ( http://pastie.org/609799 ), and finally in the event.log we have ( http://pastie.org/609819 ).
 
 Does this look like anything y’all have come up against before..? We’re pretty much shooting blind on this one, as we haven’t been able to locate anything that might be the root problem. Most of our other Plone instances are also on virtualized machines and run smoothly. This is our first virtualized Plone instance that is in production though. Any help would be appreciated, or if you can recommend a good Plone consultant who could work with this. Thanks everyone!
 
 Trish
  <2009-09-08.png>_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss-yBiN6GUkUQKKcLvQ8mt9K4e4f4J1MGUdnKs2IOyhHvI@public.gmane.org
http://www2.dcn.org/mailman/listinfo/zugod-discuss



_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss <at> velocipede.dcn.davis.ca.us
http://www2.dcn.org/mailman/listinfo/zugod-discuss

_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss
Wayne A. Fischer | 18 Sep 18:49 2009
Picon

[PloneDavis-Discuss] How to: Add items and making changes to the UC Davis Plone Skin (Plone 2.5)

Hi Everyone:

 

I am trying to figure out how to do a few things for our IR Director, but I haven’t dealt Plone 2.5 for a while.

 

1)    Adding a background image (collage) behind my “International Relations” title in the white area of our IR Program website (ir.psdomain.ucdavis.edu). 

2)    Add an image link to the left gold column beneath the address area.

3)    Add a random image feature (to show different pictures each view) into the content of the main page where the “Welcome to our web site” message is located.

 

If anyone knows how to do this or is willing to help me figure it out please contact me.

 

Sincerely,

 Wayne Fischer

 

_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss
Jason C. Hammons | 18 Sep 19:21 2009
Picon

Re: [PloneDavis-Discuss] How to: Add items and making changes to the UC Davis Plone Skin (Plone 2.5)

Hi Wayne,

I can help. Perhaps we can meet up in person and talk about it?

Cheers,
Jason
_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss
Jeremy Phillips | 18 Sep 19:24 2009
Picon

Re: [PloneDavis-Discuss] How to: Add items and making changes to the UC Davis Plone Skin (Plone 2.5)

Howdy--

1)    Adding a background image (collage) behind my “International Relations” title in the white area of our IR Program website (ir.psdomain.ucdavis.edu). 

I'm presuming that you're using the UCDPloneSkin.

If that's the case, then you can go to portal_skins/ucdploneskin/department_name and customize that template.

2)    Add an image link to the left gold column beneath the address area.

Same, but customize the portlet_dept_info template.


3)    Add a random image feature (to show different pictures each view) into the content of the main page where the “Welcome to our web site” message is located.

To do this on my site, I created a small Python script in the portal_skins/custom folder named randomimg. I'll paste it in at the bottom. Then I created a "forweb" folder in the root of my site (in the ZMI, so just a standard Zope folder rather than a Plone folder) and put the "random" images into it. 

Then I edited the front page in Plone, switched to the raw HTML view, and created an <img src="randomimg()"> tag where I wanted the image to appear.

Best,

Jeremy.

Attachment (smime.p7s): application/pkcs7-signature, 3324 bytes
_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss
Wayne A. Fischer | 18 Sep 19:29 2009
Picon

Re: [PloneDavis-Discuss] How to: Add items and making changes tothe UC Davis Plone Skin (Plone 2.5)

Sounds easy enough, thanks for the information Jeremy.  Jason Hammons is going to come over and lend a hand (hold my hand?) later this afternoon, and maybe he can be bribed into helping me find anything else that I haven’t updated yet as well. 

 

Thanks you two!

 

-Wayne

 

From: zugod-discuss-bounces-yBiN6GUkUQKKcLvQ8mt9K4e4f4J1MGUdnKs2IOyhHvI@public.gmane.org [mailto:zugod-discuss-bounces-yBiN6GUkUQKKcLvQ8mt9K4e4f4J1MGUdnKs2IOyhHvI@public.gmane.org] On Behalf Of Jeremy Phillips
Sent: Friday, September 18, 2009 10:25 AM
To: Zope/Plone Users' Group of Davis Discussion
Subject: Re: [PloneDavis-Discuss] How to: Add items and making changes tothe UC Davis Plone Skin (Plone 2.5)

 

Howdy--

 

1)    Adding a background image (collage) behind my “International Relations” title in the white area of our IR Program website (ir.psdomain.ucdavis.edu). 

 

I'm presuming that you're using the UCDPloneSkin.

 

If that's the case, then you can go to portal_skins/ucdploneskin/department_name and customize that template.



2)    Add an image link to the left gold column beneath the address area.

 

Same, but customize the portlet_dept_info template.

 



3)    Add a random image feature (to show different pictures each view) into the content of the main page where the “Welcome to our web site” message is located.

 

To do this on my site, I created a small Python script in the portal_skins/custom folder named randomimg. I'll paste it in at the bottom. Then I created a "forweb" folder in the root of my site (in the ZMI, so just a standard Zope folder rather than a Plone folder) and put the "random" images into it. 

 

Then I edited the front page in Plone, switched to the raw HTML view, and created an <img src="randomimg()"> tag where I wanted the image to appear.

 

Best,

 

Jeremy.

 

_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss

Gmane