• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Login not persistent with PHP 5.5.7

Floren

Well-known member
#1
Hi all,

I recently upgraded my server to PHP 5.5.7 with OPcache enabled.
I noticed this weird behavior: After a certain period of time, I'm logged out.
I use the settings recommended by PHP in opcache.ini (except consumption and buffers):
Code:
opcache.memory_consumption=256
opcache.interned_strings_buffer=16
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1
I did not performed any time checks, but I think is related to OPcache. I did not changed anything else on the server except PHP. Thank you for letting me know if you had the same issues and what fix you applied.
 

Floren

Well-known member
#2
Still logged in, after 3 hours... I think it was some random weird error. I've reset the OPcache and no more problems. Here are some stats for the cache right after I restarted php-fpm, then 5 minutes later (the cache works):

opcache.png opcache-5min.png
 
Last edited: