You are here: Re: [PHP] long running page on apache 2 « PHP « IT news, forums, messages
Re: [PHP] long running page on apache 2

Posted by Bret Hughes on 10/02/13 11:05

On Mon, 2005-01-10 at 10:17, Richard Lynch wrote:
> Bret Hughes wrote:
> > As I begin to write this I wonder if this really an apache issue but
> > will ask here to see if anyone has some idea.
> >
> > We have a php interface to our system running apache 2 on fedora 1 box.
> > One page calls a script that does a system() call on a script that runs
> > for several minutes. The issue is that no other calls to the server
> > will return from the client until the script returns. I like the
>
> >From the *same* browser?
>
> Cuz, like, some browsers only allow one connection at a time, others limit
> it to 4, some let you configure it, some don't...
>
> Check your browser settings or try a different browser to access other
> content while the first browser plugs away at the slow stuff.
>
> You can also throw something like Apache Benchmark at your server to see
> if the children are behaving. It should be pretty apparent if things are
> out of whack with that, I should think.
>
> > ability to watch the progress of this script but is suppose I can send
> > the output to a file and occasionally retrieve the contents of the file
> > but that seems really inefficient. If there is another way to have
> > apache process additional requests, from the same client, that would be
> > a good thing. As far as can tell, the same apache process is is used
> > each time, but i am having trouble verifying that to my satisfaction.
>
> Always seems to me like the same child will get used unless you actually
> manage to get TWO requests through at the same time.
>
> Presumably, this is more efficient, as it avoids having to page memory to
> swap in another child.
>
> > All work is done in https and there is extensive use of php sessions on
> > the system if that makes a difference.
>
> Shouldn't matter, I don't think.
>

Thanks for the reply. It turns out that it was session usage. See my
other post if you haven't already.

Bret


> --
> Like Music?
> http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация