Hello,
bettween two site request it comes that from the first to the
following site request it seems that the session information that is
setted is still not up to date.
frst of all. Some System stats:
2 gb mem. I use only memcached on one server
load is everytime < 1
memcached is startet with:
/usr/local/bin/memcached -d -m 1024 -l <ip> -p 12221 -u <user> -c
15000
memcache on php.ini:
extension=memcache.so
session.save_handler = memcache
session.save_path = "tcp://<ip>:12221?
persistent=1&weight=2&timeout=2&retry_interval=5"
stress-test:
I did a stresstest. With the following php-script i detected that
allways a OK comes to output.
(You are welcome to use this script for your tests)
for ($i=0;$i<1500;$i++) {
${'stats_server'.$i} = new Memcache;
$success= ${'stats_server'.$i}->connect("<IP>",12221,10);
if ($success===TRUE) {
echo("ok");
}
if ($success===FALSE) {
echo("false<br><br>");
}
#${'stats_server'.$i}->close;
}
Have some one an idee why bettween two site request the information
that i set is still not up to date?
Thanks!