Git Product home page Git Product logo

Comments (4)

RobiNN1 avatar RobiNN1 commented on July 17, 2024

First, make sure the redis server is running. e.g. in your application where you use Redis.

And v1.5.1 is not released yet but it works fine. I just tested it and tests here on GitHub are all green. But can you check the php error logs and post here errors (only errors related to my phpcacheadmin)? A blank page is usually displayed when an error occurs.

from phpcacheadmin.

luchris avatar luchris commented on July 17, 2024

Hi the error is :-

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in phar:///var/www/html/phpCacheAdmin/predis.phar/src/Client.php on line 0

I keep added memorylimit from 128M to -1 and finally the error became

PHP Fatal error: Maximum execution time of 30 seconds exceeded in /usr/share/phpCacheAdmin/src/Dashboards/Redis/TypesTrait.php on line 257

from phpcacheadmin.

RobiNN1 avatar RobiNN1 commented on July 17, 2024

I was not able to reproduce this and tests with only Predis are ok too https://github.com/RobiNN1/phpCacheAdmin/actions/runs/4284625400/jobs/7461843175

redis 5 - https://github.com/RobiNN1/phpCacheAdmin/actions/runs/4284694581/jobs/7462010360

Double check the host & port and server status. Maybe just redis server is too slow. Try it with increased max_execution_time in PHP.


Closing this because there are no problems with the code.

from phpcacheadmin.

luchris avatar luchris commented on July 17, 2024

I slowing increase memorylimit and max_exceution_time and ended up with
memorylimit = -1
max_execution_time = 600

host and port are correct

[root@fantastic rspamd]# netstat -tunlp | grep redis
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 624/redis-server 12

httpd does not have anymore error. Instead the webpage reads

Gateway Timeout

The gateway did not receive a timely response from the upstream server or application.

from phpcacheadmin.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.