Reply to Re: [PHP] slow session_start()

Your name:

Reply:


Posted by Bostjan Skufca @ domenca.com on 04/07/05 23:15

If you trace (strace on linux) the process which serves your request you
should get some idea.



On Thursday 07 April 2005 20:23, Arshavir Grigorian wrote:
> Hi,
>
> I am getting 4-5 minute delays when I call the session_start() function
> in one of my scripts, I reduced it to a small script that just echoes
> some html, but still calling session_start() causes a major delay. My
> /tmp directory is almost empty and there is a lot of disk space. It's an
> AMD Athlon(TM) XP 3000+ with a Gig of RAM. Anyone knows what could cause
> this?
>
> <?php
>
> session_start();
>
> echo "<html>\n";
> echo "<body>\n";
> echo "<h3>we are here</h3>\n";
> echo "</body>\n";
> echo "</html>\n";
>
> ?>
>
> I am using the PHP (4.3.2) shipped with RHEL. Does RH backport fixes
> from the newer versions of PHP to their packages? Can this be the cause
> of the slowdowns I am experiencing when calling session_start()?
> Yesterday, when I was setting this site up, everything was working
> great, today it's dog slow.
>
> Thanks for any pointers.
>
>
>
> Arshavir

[Back to original 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

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