Memcache connect error

(PECL memcache >= 0.2.0)

(PECL memcache >= 0.2.0)

Memcache::connectOpen memcached server connection

Description

Memcache::connect(string $host, int $port = ?, int $timeout = ?): bool

Parameters

host

Point to the host where memcached is listening for connections. This parameter
may also specify other transports like unix:///path/to/memcached.sock
to use UNIX domain sockets, in this case port must also
be set to 0.

port

Point to the port where memcached is listening for connections. Set this
parameter to 0 when using UNIX domain sockets.

Please note: port defaults to
memcache.default_port
if not specified. For this reason it is wise to specify the port
explicitly in this method call.

timeout

Value in seconds which will be used for connecting to the daemon. Think
twice before changing the default value of 1 second — you can lose all
the advantages of caching if your connection is too slow.

Return Values

Returns true on success or false on failure.

Examples

Example #1 Memcache::connect() example


<?php/* procedural API */$memcache_obj = memcache_connect('memcache_host', 11211);/* OO API */$memcache = new Memcache;
$memcache->connect('memcache_host', 11211);?>

Notes

Warning

When the port is unspecified, this method defaults to the
value set of the PHP ini directive
memcache.default_port
If this value was changed elsewhere in your application it might lead to
unexpected results: for this reason it is wise to always specify the port
explicitly in this method call.

See Also

  • Memcache::pconnect() — Open memcached server persistent connection
  • Memcache::close() — Close memcached server connection

geoffrey dot hoffman at gmail dot com

12 years ago


If memcached is working, calling memcache_connect( ) returns an Object instance, not a boolean. If memcached is not working, calling memcache_connect( ) throws a notice AND a warning (and returns false as expected).

<?php
/* memcache is running */
$test1 = memcache_connect('127.0.0.1',11211);
echo
gettype($test1);
// object
echo get_class($test1);
// Memcache

/* memcached is stopped */

$test2 = memcache_connect('127.0.0.1',11211);/*
Notice: memcache_connect(): Server 127.0.0.1 (tcp 11211) failed with: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
(10060) in C:Program FilesSupport Tools- on line 1

Warning: memcache_connect(): Can't connect to 127.0.0.1:11211, A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
(10060) in C:Program FilesSupport Tools- on line 1
*/

echo gettype($test2);
// boolean
echo $test2===false;
// 1
?>

There appears to be no way to check whether memcached is actually running without resorting to error suppression:

<?php
$test3
= @memcache_connect('127.0.0.1',11211);
if(
$test3===false ){
  
// memcached is _probably_ not running
}
?>


webysther at gmail dot com

8 years ago


In describing the timeout there is a statement that is not completely correct, increase the timeout does not necessarily preclude or unfeasible memcache, only allows the system to wait for more concurrent connections, which is a large minority of the number of connections, this causes several problems and could simply be corrected if the timeout was increased and perform some tests.
To prove the concept and show that the connection does not wait if the server goes down:

<?PHPwhile ( ++$loop < 10000 ) {
    try {
       
$memcache = new Memcache;
        @
$memcache->pconnect( "127.0.0.1" , 11211 , 30 );
       
$loopset = 0;
       
$loopget = 0;

                while ( ++

$loopset < 50 ) {
            if ( @
$memcache->set( "foo" , "bar" ) === false ) {
                echo
"Fail!" . PHP_EOL;
            }
        }

                while ( ++

$loopget < 500 ) {
            if ( @
$memcache->get( "foo" ) === false ) {
                echo
"Fail!" . PHP_EOL;
            }
        }

                if (

$loop % 100 == 0 ) {
            echo
"Try: " . $loop . PHP_EOL;
        }
    } catch (
Exception $e ) {
        echo
"Fail: " . $e->getMessage() . PHP_EOL;
    }
}
?>

Replace with an invalid host and test the timeout will not make a difference! It serves only for connections to the socket that are occupied.

More detail about troubleshooting timeouts in memcached google code.


djbrd

11 years ago


To suppress (or handle) the warning and notice thrown by a failed attempt to connect, you can use a custom error handler function, like this:

<?php

function myErrorHandler($errno, $errstr, $errfile, $errline)

{

    if (

E_WARNING === $errno)

    {

       
Log("PHP Warning: $errstr, $errfile, $errline", Logging::WARN);

        return
true;

    }

   
    if (

E_NOTICE === $errno)

    {

       
Log("PHP Notic: $errstr, $errfile, $errline", Logging::NOTICE);

        return
true;

    }   

   
    return

false;

}
set_error_handler('myErrorHandler');

?>


chrisn at allipo dot com

16 years ago


The behavior of Memcache::connect() is to always reinitialize the pool from scratch regardless of any previous calls to addServer().

E.g.

<?php

$mmc
= new Memcache()

$mmc->addServer('node1', 11211);

$mmc->addServer('node2', 11211);

$mmc->addServer('node3', 11211);
$mmc->connect('node1', 11211);

?>



The last connect() call clears out the pool and then add and connect node1:11211 making it the only server.

If you want a pool of memcache servers, do not use the connect() function.

If you only want a single memcache server then there is no need to use the addServer() function.


tom at all dash community dot de

11 years ago


There is a not-so-obvious way to check whether or not a MemCache-Server is available.

Using ($memCache->connect() == false) will wait for a timeout if it can't connect. If you got a high-traffic site this may not be an option. So when the server is down, you may want to avoid waiting for this timeout on every request and instead try to reconnect only once every X seconds.

If so, this code may help:

<?php
$memCache
= new Memcache();
$memCache->addServer($host, $port);
$stats = @$memCache->getExtendedStats();
$available = (bool) $stats["$host:$port"];
if (
$available && @$memCache->connect($host, $port))
   
// MemCache is there
else
   
// go on without MemCache
?>

The result of getExtendedStats() is an array. The information is cached and maintained by MemCache itself. If the server is not available, the result will be FALSE.

Even if the result is not false, the server may still not be available. Thus you need to check for connect() != false too, but only if the first check returns TRUE, thus avoiding the 1 second timeout in most cases.
Both getExtendedStats() and connect() issue notices/warnings if the server is not there. Thus you have to mute both calls.

Do NOT use getServerStatus() for this purpose: the result is cached on server-start and will not recognize when the connection to the server is lost (or reestablished) in between.


Содержание

  1. Memcache::connect
  2. Description
  3. Parameters
  4. Return Values
  5. Examples
  6. Notes
  7. See Also
  8. User Contributed Notes 5 notes
  9. Memcached и PHP ликбез
  10. Что такое Memcache и какое отношение он имеет к PHP?
  11. Установка и настройка
  12. Устанавливаем сервер Memcached
  13. Компилируем и устанавливаем модуль для PHP
  14. Примеры использования
  15. 1. Базовые операции
  16. 2. Повышаем производительность
  17. Ещё несколько полезных функций

Memcache::connect

(PECL memcache >= 0.2.0)

Memcache::connect — Open memcached server connection

Description

Memcache::connect() establishes a connection to the memcached server. The connection, which was opened using Memcache::connect() will be automatically closed at the end of script execution. Also you can close it with Memcache::close() . Also you can use memcache_connect() function.

Parameters

Point to the host where memcached is listening for connections. This parameter may also specify other transports like unix:///path/to/memcached.sock to use UNIX domain sockets, in this case port must also be set to 0 .

Point to the port where memcached is listening for connections. Set this parameter to 0 when using UNIX domain sockets.

Please note: port defaults to memcache.default_port if not specified. For this reason it is wise to specify the port explicitly in this method call.

Value in seconds which will be used for connecting to the daemon. Think twice before changing the default value of 1 second — you can lose all the advantages of caching if your connection is too slow.

Return Values

Returns true on success or false on failure.

Examples

Example #1 Memcache::connect() example

$memcache_obj = memcache_connect ( ‘memcache_host’ , 11211 );

$memcache = new Memcache ;
$memcache -> connect ( ‘memcache_host’ , 11211 );

Notes

When the port is unspecified, this method defaults to the value set of the PHP ini directive memcache.default_port If this value was changed elsewhere in your application it might lead to unexpected results: for this reason it is wise to always specify the port explicitly in this method call.

See Also

  • Memcache::pconnect() — Open memcached server persistent connection
  • Memcache::close() — Close memcached server connection

User Contributed Notes 5 notes

If memcached is working, calling memcache_connect( ) returns an Object instance, not a boolean. If memcached is not working, calling memcache_connect( ) throws a notice AND a warning (and returns false as expected).

/* memcache is running */
$test1 = memcache_connect ( ‘127.0.0.1’ , 11211 );
echo gettype ( $test1 );
// object
echo get_class ( $test1 );
// Memcache

/* memcached is stopped */
$test2 = memcache_connect ( ‘127.0.0.1’ , 11211 );

/*
Notice: memcache_connect(): Server 127.0.0.1 (tcp 11211) failed with: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
(10060) in C:Program FilesSupport Tools- on line 1

Warning: memcache_connect(): Can’t connect to 127.0.0.1:11211, A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
(10060) in C:Program FilesSupport Tools- on line 1
*/

echo gettype ( $test2 );
// boolean
echo $test2 === false ;
// 1
?>

There appears to be no way to check whether memcached is actually running without resorting to error suppression:

= @ memcache_connect ( ‘127.0.0.1’ , 11211 );
if( $test3 === false ) <
// memcached is _probably_ not running
>
?>

In describing the timeout there is a statement that is not completely correct, increase the timeout does not necessarily preclude or unfeasible memcache, only allows the system to wait for more concurrent connections, which is a large minority of the number of connections, this causes several problems and could simply be corrected if the timeout was increased and perform some tests.
To prove the concept and show that the connection does not wait if the server goes down:

while ( ++ $loop 10000 ) <
try <
$memcache = new Memcache ;
@ $memcache -> pconnect ( «127.0.0.1» , 11211 , 30 );
$loopset = 0 ;
$loopget = 0 ;

while ( ++ $loopset 50 ) <
if ( @ $memcache -> set ( «foo» , «bar» ) === false ) <
echo «Fail!» . PHP_EOL ;
>
>

while ( ++ $loopget 500 ) <
if ( @ $memcache -> get ( «foo» ) === false ) <
echo «Fail!» . PHP_EOL ;
>
>

if ( $loop % 100 == 0 ) <
echo «Try: » . $loop . PHP_EOL ;
>
> catch ( Exception $e ) <
echo «Fail: » . $e -> getMessage () . PHP_EOL ;
>
>

?>

Replace with an invalid host and test the timeout will not make a difference! It serves only for connections to the socket that are occupied.

More detail about troubleshooting timeouts in memcached google code.

To suppress (or handle) the warning and notice thrown by a failed attempt to connect, you can use a custom error handler function, like this:

function myErrorHandler ( $errno , $errstr , $errfile , $errline )
<

if ( E_WARNING === $errno )
<
Log ( «PHP Warning: $errstr , $errfile , $errline » , Logging :: WARN );
return true ;
>

if ( E_NOTICE === $errno )
<
Log ( «PHP Notic: $errstr , $errfile , $errline » , Logging :: NOTICE );
return true ;
>

The behavior of Memcache::connect() is to always reinitialize the pool from scratch regardless of any previous calls to addServer().

= new Memcache ()
$mmc -> addServer ( ‘node1’ , 11211 );
$mmc -> addServer ( ‘node2’ , 11211 );
$mmc -> addServer ( ‘node3’ , 11211 );

$mmc -> connect ( ‘node1’ , 11211 );
?>

The last connect() call clears out the pool and then add and connect node1:11211 making it the only server.

If you want a pool of memcache servers, do not use the connect() function.

If you only want a single memcache server then there is no need to use the addServer() function.

There is a not-so-obvious way to check whether or not a MemCache-Server is available.

Using ($memCache->connect() == false) will wait for a timeout if it can’t connect. If you got a high-traffic site this may not be an option. So when the server is down, you may want to avoid waiting for this timeout on every request and instead try to reconnect only once every X seconds.

If so, this code may help:

= new Memcache ();
$memCache -> addServer ( $host , $port );
$stats = @ $memCache -> getExtendedStats ();
$available = (bool) $stats [ » $host : $port » ];
if ( $available && @ $memCache -> connect ( $host , $port ))
// MemCache is there
else
// go on without MemCache
?>

The result of getExtendedStats() is an array. The information is cached and maintained by MemCache itself. If the server is not available, the result will be FALSE.

Even if the result is not false, the server may still not be available. Thus you need to check for connect() != false too, but only if the first check returns TRUE, thus avoiding the 1 second timeout in most cases.
Both getExtendedStats() and connect() issue notices/warnings if the server is not there. Thus you have to mute both calls.

Do NOT use getServerStatus() for this purpose: the result is cached on server-start and will not recognize when the connection to the server is lost (or reestablished) in between.

Источник

Memcached и PHP ликбез

Что такое Memcache и какое отношение он имеет к PHP?

Memcache разработан для кэширования данных, генерация которых требует большого количества ресурсов. Такого рода данные могут содержать что угодно, начиная с результатов запроса к базе данных и заканчивая тяжеловесным куском шаблона. Memcached не входит в базовый набор модулей, поставляемых с PHP, однако он доступен в репозитории pecl.

Установка и настройка

В качестве рассматриваемого дистрибутива я решил использовать Debian, потому как он наиболее часто используется при создании web-серверов. Модуль Memcached для PHP доступен в репозитории уже скомпилированным (php5-memcached), но я опишу процесс установки из исходного кода, так как не все репозитории настолько богаты, как дебиановский.

Устанавливаем сервер Memcached

#/etc/memcached.conf
#Memcached будет работать, как демон
-d
#Лог будет складывать туда
logfile / var / log / memcached.log
#Отведём 256 мегабайт ОЗУ под хранилище
-m 256
#Слушать будет этот порт
-p 11211
#В последствии желательно поменять
-u nobody
#Слушаем localhost
-l 127.0.0.1

Проверяем

# netstat -tap | grep memcached
tcp 0 0 localhost: 11211 * : * LISTEN 13036 / memcached

Компилируем и устанавливаем модуль для PHP

apt-get install php5-dev libmemcache-dev

pecl download memcache
tar xzvf memcache-2.2.6.tgz
cd memcache-2.2.6 /
phpize && . / configure —enable-memcache && make
cp modules / memcache.so / usr / lib / php5 / 20060613 /

echo ‘extension=memcache.so’ >> / etc / php5 / apache2 / php.ini
/ etc / init.d / apache2 restart

Примеры использования

1. Базовые операции

  1. //Создаём новый объект. Также можно писать и в процедурном стиле
  2. $memcache_obj = new Memcache ;
  3. //Соединяемся с нашим сервером
  4. $memcache_obj -> connect ( ‘127.0.0.1’ , 11211 ) or die ( «Could not connect» ) ;
  5. //Попытаемся получить объект с ключом our_var
  6. $var_key = @ $memcache_obj -> get ( ‘our_var’ ) ;
  7. if ( ! empty ( $var_key ) )
  8. <
  9. //Если объект закэширован, выводим его значение
  10. echo $var_key ;
  11. >
  12. else
  13. <
  14. //Если в кэше нет объекта с ключом our_var, создадим его
  15. //Объект our_var будет храниться 5 секунд и не будет сжат
  16. $memcache_obj -> set ( ‘our_var’ , date ( ‘G:i:s’ ) , false , 5 ) ;
  17. //Выведем закэшированные данные
  18. echo $memcache_obj -> get ( ‘our_var’ ) ;
  19. >
  20. //Закрываем соединение с сервером Memcached
  21. $memcache_obj -> close ( ) ;
  22. ?>

В результате выполнения этого кода каждый раз будет выводиться время с точностью до секунд. Однако обновляться оно будет раз в 5 секунд, пока не очистится кэш. В данном примере проиллюстрированы самые простые операции, но в производительности мы скорее потеряем, чем выиграем. Ведь нам каждый раз придётся подключаться к серверу…

2. Повышаем производительность

2.1 С кэшированием
  1. ? php
  2. function LoadCPU ( )
  3. <
  4. //Функция, которая должна зугрузить процессор
  5. //Создадим изображение 800×600
  6. $image = imagecreate ( 800 , 600 ) ;
  7. //Белый фоновый цвет
  8. $color = imagecolorallocate ( $image, 255 , 255 , 255 ) ;
  9. //Чёрный
  10. $color2 = imagecolorallocate ( $image, 0 , 0 , 0 ) ;
  11. for ( $i = 0 ; $i 10000 ; $i ++ ) <
  12. //Расставим 10 000 точек в случайном порядке
  13. imagesetpixel ( $image, rand ( 0 , 800 ) , rand ( 0 , 600 ) , $color2 ) ;
  14. >
  15. //Выбрасываем указатель
  16. return $image ;
  17. >
  18. //Создаём новый объект Memcache
  19. $memcache_obj = new Memcache ;
  20. //Соединяемся с нашим сервером
  21. $memcache_obj — > connect ( ‘127.0.0.1’ , 11211 ) or die ( «Could not connect» ) ;
  22. //Попытаемся получить объект с ключом image
  23. $image_bin = @$memcache_obj — > get ( ‘image’ ) ;
  24. if ( empty ( $image_bin ) ) <
  25. //Если в кэше нет картинки, сгенерируем её и закэшируем
  26. imagepng ( LoadCPU ( ) ,getcwd ( ) . ‘/tmp.png’ , 9 ) ;
  27. $image_bin = file_get_contents ( getcwd ( ) . ‘/tmp.png’ ) ;
  28. unlink ( getcwd ( ) . ‘/tmp.png’ ) ;
  29. $memcache_obj — > set ( ‘image’ , $image_bin, false , 30 ) ;
  30. >
  31. //Выведем картинку из кэша
  32. header ( ‘Content-type: image/png’ ) ;
  33. echo $image_bin ;
  34. //Закрываем соединение с сервером Memcached
  35. $memcache_obj — > close ( ) ;
  36. ? >

В данном примере приведена функция, которая создаёт изображение размером 800×600 и расставляет на нём 10 000 точек. Один раз, сгенерировав такое изображение, в дальнейшем мы лишь выводим его на экран, не генерируя заново.

2.2 Без кэширования
  1. function LoadCPU ( )
  2. <
  3. //Функция, которая должна загрузить процессор
  4. //Создадим изображение 800×600
  5. $image = imagecreate ( 800 , 600 ) ;
  6. //Белый фоновый цвет
  7. $color = imagecolorallocate ( $image , 255 , 255 , 255 ) ;
  8. //Чёрный
  9. $color2 = imagecolorallocate ( $image , 0 , 0 , 0 ) ;
  10. for ( $i = 0 ; $i 10000 ; $i ++ ) <
  11. //Расставим 10 000 точек в случайном порядке
  12. imagesetpixel ( $image , rand ( 0 , 800 ) , rand ( 0 , 600 ) , $color2 ) ;
  13. >
  14. //Выбрасываем указатель
  15. return $image ;
  16. >
  17. //Выводим изображение, не кэшируя
  18. header ( ‘Content-type: image/png’ ) ;
  19. imagepng ( LoadCPU ( ) , » , 9 ) ;
  20. ?>

Тут всё гораздо проще и привычней: генерируем изображение каждый раз заново.

Результаты

Я протестировал оба скрипта на производительность. Одна и та же машина в первом случае выдала 460 ответов в секунду, а во втором лишь 10. Чего и следовало ожидать.

Ещё несколько полезных функций

addServer — в случае, если у вас в распоряжении несколько кэширующих серверов, вы можете создать некий кластер, добавляя сервера в пул. Следует обратить внимание на параметр weight. Он указывает на то, сколько памяти вам будет доступно на конкретном сервере.
delete — из названия понятно, что данный метод удаляет из кэша объект с заданным ключом.
replace — заменяет значение объекта с заданным ключом. Используйте в случае, если Вам понадобится изменить содержимое объекта, раньше чем истечёт время его жизни.

С моей точки зрения, применять кэширование стоит только на высоконагруженных ресурсах. Ведь каждый раз, подключаясь к серверу Memcached, вы тратите драгоценное время, что скорее всего не будет оправданным. Что касается больших проектов, лучше сразу написать больше строк кода, чем потом делать это в попыхах, с мыслью о том, что ваш сервис лежит. Также не стоит забывать о расходовании памяти! Учтите, что положив 300 мегабайт в кэш, вы отняли у себя 300 мегабайт ОЗУ.
В завершение хочу сказать, что данная статья не раскрывает все прелести технологии, однако я надеюсь, что она стимулирует Вас к самосовершенствованию. Спасибо за прочтение, многоуважаемый %username%!

UPD: Ещё один интересный момент. Memcached, есть PHP API к libmemcached. А Memcache, библиотека для php, не использующая libmemcached.

Источник

Looking for a solution to the error “could not connect to Memcached”? We can help you.

Memcached is a caching system that speeds up the website performance.

Here at Bobcares, we often receive requests to fix Memcached errors as a part of our Server Management Services.

Today, let’s see how our Support Engineers fix this error.

Why Memcached doesn’t connect to the host?

We’ve seen many of our customers experiencing this error message due to different causes. Here are a few of them:

1. Error in the configuration file: If any important variable is missing in the configuration then it will throw errors.

2. Problem with port:  If the Memcached is not able to listen to the port then it will also cause an error. The default port of Memcached is 11211.

3. Disabled Memcached: If the Memcached itself is not enabled properly then it will throw errors. So it is very important to check if the Memcached is properly enabled on the server or not.

How we fix could not connect to Memcached error?

Having a decade of experience in managing servers, our Dedicated Engineers are familiar with the Memcached errors. Now, let’s discuss how our Support Engineers fix this error.

Recently, one of our customers approached us with the below error message

Our Support Engineers started troubleshooting the error by checking if the Memcached is listening to the port or not.

We ran the below command for it.

netstat -tap | grep memcached

As a result, we could see that the Memcached was listening to port 11211. So there was no problem with the port in this case.

We further went checking for the configuration file config.php. And then we added the below lines in it and saved it.

$config['distributed_poller_memcached_host'] = 'localhost';
$config['distributed_poller_memcached_port'] = '11211';

Finally, this fixed the error.

In content management systems like Joomla, the Memcache configuration can be easily managed from the Admin panel at System > Global Configuration > System

Joomla Memcache

[Need any help in fixing Memcached errors? – We’ll help you]

Conclusion

In short, the error “could not connect to Memcached” occurs due to many reasons like an error in the configuration file, missing the Memcached module, missing port and many more. Today, we saw how our Support Engineers fix this error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = «owonCMyG5nEQ0aD71QM»;

За последние 24 часа нас посетили 11409 программистов и 1119 роботов. Сейчас ищут 309 программистов …


  1. Driver86

    Driver86
    Активный пользователь

    С нами с:
    27 апр 2008
    Сообщения:
    15
    Симпатии:
    0

    Поставил memcache и memcached на сервер с линуксом (VPS3 от РБК).
    Однако:

    Memcache::connect() [function.Memcache-connect]: Can’t connect to 127.0.0.1:11211, Connection refused (111)

    В чём проблема может быть?
    Опции:
    memcache.allow_failover 1
    memcache.chunk_size 131072
    memcache.compress_threshold 20000
    memcache.default_port 11211
    memcache.hash_function crc32
    memcache.hash_strategy consistent
    memcache.lock_timeout 15
    memcache.max_failover_attempts 20
    memcache.protocol ascii
    memcache.redundancy 1
    memcache.session_redundancy 2

    Это может быть потому, скорее всего, что memcached не установился. Но я же его ставил и ошибок не было. Как проверить, что он стоит и запущен?


  2. Driver86

    Driver86
    Активный пользователь

    С нами с:
    27 апр 2008
    Сообщения:
    15
    Симпатии:
    0

    Команда memcached -u root -vv
    вывела:
    slab class 1: chunk size 80 perslab 13107
    slab class 2: chunk size 104 perslab 10082
    slab class 3: chunk size 136 perslab 7710
    slab class 4: chunk size 176 perslab 5957
    slab class 5: chunk size 224 perslab 4681
    slab class 6: chunk size 280 perslab 3744
    slab class 7: chunk size 352 perslab 2978
    slab class 8: chunk size 440 perslab 2383
    slab class 9: chunk size 552 perslab 1899
    slab class 10: chunk size 696 perslab 1506
    slab class 11: chunk size 872 perslab 1202
    slab class 12: chunk size 1096 perslab 956
    slab class 13: chunk size 1376 perslab 762
    slab class 14: chunk size 1720 perslab 609
    slab class 15: chunk size 2152 perslab 487
    slab class 16: chunk size 2696 perslab 388
    slab class 17: chunk size 3376 perslab 310
    slab class 18: chunk size 4224 perslab 248
    slab class 19: chunk size 5280 perslab 198
    slab class 20: chunk size 6600 perslab 158
    slab class 21: chunk size 8256 perslab 127
    slab class 22: chunk size 10320 perslab 101
    slab class 23: chunk size 12904 perslab 81
    slab class 24: chunk size 16136 perslab 64
    slab class 25: chunk size 20176 perslab 51
    slab class 26: chunk size 25224 perslab 41
    slab class 27: chunk size 31536 perslab 33
    slab class 28: chunk size 39424 perslab 26
    slab class 29: chunk size 49280 perslab 21
    slab class 30: chunk size 61600 perslab 17
    slab class 31: chunk size 77000 perslab 13
    slab class 32: chunk size 96256 perslab 10
    slab class 33: chunk size 120320 perslab 8
    slab class 34: chunk size 150400 perslab 6
    slab class 35: chunk size 188000 perslab 5
    slab class 36: chunk size 235000 perslab 4
    slab class 37: chunk size 293752 perslab 3
    slab class 38: chunk size 367192 perslab 2
    slab class 39: chunk size 458992 perslab 2
    slab class 40: chunk size 573744 perslab 1
    slab class 41: chunk size 717184 perslab 1
    slab class 42: chunk size 1048576 perslab 1
    <26 server listening (auto-negotiate)
    <27 server listening (auto-negotiate)
    <28 send buffer was 137216, now 268435456
    <29 send buffer was 137216, now 268435456
    <28 server listening (udp)
    <29 server listening (udp)
    <28 server listening (udp)
    <29 server listening (udp)
    <28 server listening (udp)
    <29 server listening (udp)
    <28 server listening (udp)
    <29 server listening (udp)
    SIGINT handled.


  3. Invision

    Invision
    Активный пользователь

    С нами с:
    26 фев 2009
    Сообщения:
    1.437
    Симпатии:
    1
    Адрес:
    Томск

    Can’t connect to 127.0.0.1:11211
    скорее порт не слушается) тут же четко написано что не может приконектиться к 127.0.0.1:11211… или в фаерволе может быть дело.

    p.s мое мнение порт закрыт.

Понравилась статья? Поделить с друзьями:
  • Melonloader the long dark ошибка
  • Melonloader the long dark error
  • Melonloader installer ошибка
  • Melon loader the long dark ошибка
  • Melon loader error