New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed calling MemcachedSessionModule::gc() #5034
Comments
I'll second this one, we are experiencing this problems on our servers too. |
+1 |
1 similar comment
+1 |
+1 |
+1 same issue here 3.6.3 |
PHP is refcounted... I assume the "GC" referred to in these options is the cycle collector? If so, HHVM does not implement a cycle collector. There are some experiments on changes to its memory management strategy that might get a cycle collector as part of that, but they're still super experimental and might not pan out at all. Can you elaborate on what the exact problem is that you're seeing? It's not like we leak everything, refcounting ensures that most data get collected. Does |
I'm not entirely sure what gc() is supposed to do on this class but it looks unimplemented. hhvm/hphp/runtime/ext/memcache/ext_memcache.php Lines 755 to 757 in 8911447
|
Ah, I was fixated on these INI options
which I think are unrelated to the original report? |
@jwatzman Those ini options are for controlling the GC of sessions only (unrelated to the normal value CC). They specify how often (gc_probability/gc_divisor) the session GC collects sessions that have exceeded gc_maxlifetime. |
+1 |
1 similar comment
+1 |
+1 |
It seams that the garbage collection is not working.
/hhvm/php.ini
The text was updated successfully, but these errors were encountered: