Skip to content
Advertisement

Tag: redis

What’s difference between these redis starting commands

sudo /etc/init.d/redis-server start sudo service redis-server start sudo systemctl start redis-server sudo redis-server –daemonize yes Answer The last one is “nearest to the metal”, it directly starts the Redis server process with no special options, and is “stand-alone”. I would use this type of command when just “messing around” in the Terminal with quick tests and when trying to get

Redhat/CentOS – `GLIBC_2.18′ not found

I was trying to run redis server (on a CentOS server) with specific module: and getting error: this is the linux version: Also this is what is showing for /lib64/libc.so.6: Also: Tried as well: What is the process of installing/setting GLIBC_2.18 on Centos/Redhat servers? Thanks.. Answer You can upgrade to the Red Hat Enterprise Linux 8, which comes with glibc

Centos 7 with PHP 7.2 Pthreads unable to load redis.so

I recently setup a new Centos 7 system with php 7.2 and Redis. This is working fine. This was my yum install of the php packages. yum install php72.x86_64 php72-php-cli.x86_64 php72-php-common.x86_64 php72-php-devel.x86_64 php72-php-fpm.x86_64 php72-php-gd.x86_64 php72-php-json.x86_64 php72-php-mbstring.x86_64 php72-php-mysqlnd.x86_64 php72-php-pdo.x86_64 php72-php-pecl-http.x86_64 php72-php-pecl-http-devel.x86_64 php72-php-pecl-igbinary.x86_64 php72-php-pecl-memcached.x86_64 php72-php-pecl-msgpack.x86_64 php72-php-pecl-propro.x86_64 php72-php-pecl-raphf.x86_64 php72-php-xml.x86_64 php72-php-xmlrpc.x86_64 php72-runtime.x86_64 php72-php-pecl-redis.x86_64 php php-devel Then I installed pthreads as explained in these directions

Abuse cURL to communicate with Redis

I want to send a PING to Redis to check if the connection is working, now I could just install redis-cli, but I don’t want to and curl is already there. So how can I abuse curl to do that? Basically I need to turn off what’s send here: I was able to get rid of the User-Agent altogether by

What unit is used to display Redis CPU usage

I ran the command INFO CPU in the Redis CLI and got the output shown below: My question is: what is the unit used for these figures? Is it CPU time, or CPU consumption or something else? Answer It is the CPU time (expressed in seconds) accumulated since the launch of the Redis instance, as reported by the getrusage() call.

Advertisement