Re: slow session_start()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux