You are here: slow session_start() « PHP « IT news, forums, messages
slow session_start()

Posted by Arshavir Grigorian on 04/07/05 21:23

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

 

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

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