PHP 4.3.6 ???

PHP 4.3.6 ???

Monday 26 April 2004 7:52:42 am - 10 replies

Author Message

Paul Forsyth

Monday 26 April 2004 8:18:52 am

Im using it locally and it works fine, but im not stressing it :(

Did your php.ini/apache settings change in some way?

paul

--
http://www.visionwt.com

Mark Gilbert

Monday 26 April 2004 9:56:18 am

Not that I am aware of.

I wonder if it has something to do with the size of some of my documents. I am adding nearly 1,000 articles to this using the info page class. The articles are up to 5,000 words and somewhere around 25,000 characters. The problems I am having normally occur when I am adding articles to the database.

Paul Forsyth

Monday 26 April 2004 10:15:24 am

If you are adding lots of information it may be failing simply due to the running time of the PHP script. Do you know what the execution limit of your hosts PHP setting is? Usually its 30s, which for imports may not be enough...

paul

--
http://www.visionwt.com

Mark Gilbert

Monday 26 April 2004 11:07:23 am

Hi Paul

I don't think it has to do with the 30s time out. Here is part of what my ISP has told me:

This is a 1 1/4 gig RAM machine, with a 1 gig swap space, and
something saturates every bit of that space almost instantly. It
happened twice this afternoon. Can you correlate anything you did
with the overloads?

During the peaks, the system load, measured as the average number of
processes ready to run over the most recent minute, was over 80.
That is beyond saturated. I could not even log in remotely for some
time, until it had partially worked off whatever induced the load.

The problem seems to happen mainly when I am adding content to the web site.

The site is linux
Apache/1.3.29 Ben-SSL/1.52 (Unix) FrontPage/5.0.2.2634 AuthMySQL/2.20 PHP/4.3.6 mod_jk/1.1.0
PHP 4.3.6

Part of my problem is when I run the site on my machine it does not have this problem. It runs just fine. But when I run it on my hosting companies serfver we get a server overload. Now my machine is significantly different - Windows XP instead of Linux, the database is on my computer instead of remote, etc. Any ideas??

Tony Wood

Monday 26 April 2004 1:12:24 pm

Mark,

>>Problem occurs when I add classes
Currently when you add content to eZ 3 the cache will be cleared. This will cause a the next site vistor to force a recache of everything on the site. This could be the problem. ref: http://ez.no/community/forum/developer/ez_what_is_ripping_our_resources
This should not be the case on a small eZ site as it should not cause the server to stall, hiccup, yes, stall no.
We have 4.3.6 in testing on our dev boxes but its a bit too new to run on live boxes. Let me see if we can replicate this.

-- tony
http://www.visionwt.com

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Tony Wood

Monday 26 April 2004 1:25:37 pm

Mark,

I have been thinking and re-reading your post.

I think this 80 httpd sessions are the key here. Maybe 4.3.6 is a "red herring" and not the problem at all.

A couple of questions:
Does this site normally get 80+ concurrent users? or 80 concurrent users in a minute?
Are you able to check the httpd logs to see where these users are coming from?
How much space is left on the server?
Have you cleared the cache manually?
Does the server run a PHP accelerator if so which one?
Is this a shared server? Could this problem be caused by soemone else?

I know a few of these things are "teaching you to suck eggs" but hopefully it will get you closer to a solution.

-- tony
http://www.visionwt.com

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Mark Gilbert

Monday 26 April 2004 2:13:56 pm

>>I think this 80 httpd sessions are the key here. Maybe 4.3.6 is a "red herring" and not >>the problem at all.

>>A couple of questions:
>>Does this site normally get 80+ concurrent users? or 80 concurrent users in a minute?
Not to the best of my knowledge. That is something I would have to ask my ISP

>>Are you able to check the httpd logs to see where these users are coming from?
I will ask My ISP to take a look at it.

>>How much space is left on the server?
Again the ISP will have to look.

>>Have you cleared the cache manually?
Are you talking about the eZ Publish Cache? Not recently but I will.

>>Does the server run a PHP accelerator if so which one?
Nope it does not.

>>Is this a shared server? Could this problem be caused by soemone else?
Yes it is a shared server. It could be caused by someone else. But it just seems to be a reaction to when I am adding content to the server. It has not happened to me at other times. Whick is why I wondered if it has something to do with the size of the articles I am publishing - up to 5,000 words and 25,000 characters. It seems to happen when I am adding multiple articles (one right after the other).

Thank you so much for the input. I will ask my ISP and see what they say.

raj raj

Tuesday 27 April 2004 1:20:34 am

Hi,
I am facing some problem at the time of installation .. After successful installation when i opened the admin or the front area .. the below warning message appears .. Links are all not working it remains in the same page ..

Warning: Unknown(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (C:/PHP/sessiondata) in Unknown on line 0

I am trying to install it in the local machine ..

please suggest some solution..

thanks in adance ..
Raj

Björn Dieding@xrow.de

Tuesday 27 April 2004 4:41:56 am

2 possiblities

That dir doesn't exist
The dir doesn't have proper permissions

The value for the dir can be modified in the php.ini

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

ashok ashok

Wednesday 28 April 2004 12:46:04 am

Hello friends
I want to integrate my layout which is similar to www.pramati.com.So i want to integrate javascript in the layout. I want to show all the submenus of main menu (news, product,general info, contact us) in drop down menu eg. if i go to product menu drop down menu should display with all the products.
Please give any suggestion or idea how do i achieve my layout.
Thanks,
Ashok Naidu

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.