• Resolved ohfuchs

    (@ohfuchs)


    Hi,

    since I activated APCu Manager, I have some problems with broken sessions on my page. Sometimes I have to login again on every page in the dashboard. Everythings works again after waiting a few minutes or when disabling the plugin. Aside from that the plugin speed up the page very well.

    Unfortunately it also causes some trouble with Woocommerce payments.

    Any ideas how I could further investigate the issue?

    Is there a way to blacklist/whitelist what can be cached?

    I also have WP Rocket enabled and it is a Multisite setup.

    Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Pierre Lannoy

    (@pierrelannoy)

    Hello !

    Sorry to hear that…

    We have few examples where APCu Manager have this behavior. It can be because (one or both of this):
    – you’re on shared hosting and php is wrongly configured (it’s the hosting side of php config, not yours);
    – the web server is Litespeed (Enterprise or OLS) and one single setting is wrongly configured (once again, it’s a hosting side config).

    If you are not your own hoster, can you tell me at what hosting company you host your websites?

    Thread Starter ohfuchs

    (@ohfuchs)

    wow, thanks for the fast reply.

    I’m on a virtual managed Server (webgo) running on apache+nginx. I can make limited changes to php ini or possibly ask the hoster to change configuration if necessary.

    • This reply was modified 1 year, 2 months ago by ohfuchs.
    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    Do you know if you have the choice on the php handler type (fastCGI, FPM, dedicated FPM, etc.)? It’s generally something you can set near the php version of your hosting account…

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    (Oh, and just to be clear: APCu Manager is a cache replacement for WP. So, all plugin correctly developed with WP in mind are compatible. It is fully “transparent” for them. No parameters)

    Thread Starter ohfuchs

    (@ohfuchs)

    I can change the path to the php binary which is currently
    /usr/bin/php-cgi8.0

    /usr/bin$ ls -a | grep "php"
    php
    php5
    php5.6
    php5-cgi
    php7.0
    php7.1
    php7.2
    php7.3
    php7.4
    php8.0
    php-cgi
    php-cgi5.6
    php-cgi7.0
    php-cgi7.1
    php-cgi7.2
    php-cgi7.3
    php-cgi7.4
    php-cgi8.0
    phpdbg
    phpdbg5.6
    phpdbg7.0
    phpdbg7.1
    phpdbg7.2
    phpdbg7.3
    phpdbg7.4
    phpdbg8.0
    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    Generally you can find it in your panel (Cpanel, Plesk, …), you will have a “human readable” name. Nothing from this side?

    Thread Starter ohfuchs

    (@ohfuchs)

    The control panel software is froxlor. that’s everything php related. First setting is just a label.

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    I’m sorry, @ohfuchs, I’ve just tried a demo of Froxlor to see where the PHP parameters are and I couldn’t find them – if they’re adjustable…

    I can’t help more. Maybe can you try to contact Webgo and point they this discussion? I’m very sorry for that… :/

    Webgo, FYI: the main reason I can think about is a php pool issue. Not really an issue, but the way PHP is used on your servers. APCu mmap is not shared between parent processes. So if something in the handler settings (from apache/nginx side) allows to “rotate” between pools, or if parent is killed under low activity, APCu will not work on the server. Even if PHP extension is installed.

    Thread Starter ohfuchs

    (@ohfuchs)

    Thank you anyway! I forwarded this thread to my host.

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    I’m closing this ticket due to inactivity. Don’t hesitate to reopen it if needed.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Session problems’ is closed to new replies.