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
Error to load page with data #4
Comments
Currently not. I will add a limit parameter today. I just need to check for a good implementation. Can you please provide some environment information:
Thank you. |
Memcached - 1.4.14 |
see: #7 (comment) |
I've updated Memcached.php just a few seconds ago. Try to update phpMemAdmin's composer dependencies (Memcached.php) - make sure to use >= v0.3.2
should do the trick. |
I've updated to v0.3.2, but still have error. When i restart memcache (memcache has no data), page is loaded. When memcache has data, page not loaded. May be this can help you to define problem
|
Pretty cool - with your data i can debug a bit better what happens. Try to dig into this problem as soon as I'm back home. Currently not sure if the data differs from the response I get from my Memcached instance and some others I've tried while developing. |
When i have time, i can try to debug Memcached.php, may be i can find problem. |
Same error. Not opens data on localhost connection |
Same error too. |
same error
|
Hi, any luck on finding the source of the problem yet ? |
Yeah, error still exists |
+1 |
2 similar comments
+1 |
+1 |
Hi, problem in Multiline values check my fix aaarkadev/Memcached.php@094205f |
+1 |
@aaarkadev thanks for the fix, could you make a PR so that @clickalicious eventually merges it ? |
if ini_get('memcached.compression_type') == 'fastlz' AND ini_get('memcached.compression_threshold') > SIZE of value page will hang. |
mmm it doesn't run even with aaarkadev patch.. |
Possibly have figured out, where is the problem:
The solution is to set timeout for opened socket: protected function dumpEntries($host, $port, $namespace = null, $flat = false)
{
// Assume empty result
$result = array();
$client = $this->getMemcachedClient($host, $port, $this->getConfig()->timeout);
// Fetch all keys and all values ...
$client->timeout(1); # THIS LINE
$allSlabs = $client->stats(Client::STATS_TYPE_SLABS); and root/vendor/clickalicious/memcached.php/lib/Clickalicious/Memcached/Client.php:943 public function connect($host, $port, $timeout = null)
{
$uuid = $this->uuid($host, $port);
if ($timeout === null) {
$timeout = $this->getTimeout();
}
// The error variables
$errorNumber = null;
$errorString = 'n.a.';
if (isset(self::$connections[$this->getPersistentId()][$uuid]) === false) {
if ($timeout !== null) {
$connection = @fsockopen(
$host,
$port,
$errorNumber,
$errorString,
$timeout
);
socket_set_timeout($connection, $timeout); # THIS LINE
} else { Also it would be great, if DATA wouldn't load entire cache but only via limited portions. |
unfortunately it doesn't solve the problem |
Data page is still hanging unfortunately even with the attempted patches offered. Are there any other memcached GUIs available?
|
Try to load - index.php?action=4&host=127.0.0.1:11211
Result: 504 Gateway Time-out.
I have some data in memcache, but i think there is not a lot.
Can i limit data loading?
The text was updated successfully, but these errors were encountered: