Search results

  1. E

    Log File Flooding

    OK, thanks.
  2. E

    Log File Flooding

    Not sure if this is a CloudLInux issue or a LiteSpeed issue -- starting here. Updated CloudLinux from CL 6.9 to CL 6.9 Hybrid (includes some CL 7 functionality) and ever since I have been getting periodic floods of the following in the apache error log: 2017-12-21 09:15:19.210 [INFO] Processing...
  3. E

    How to block bad bots on litespeed server?

    I have up to 17 statements like this in the <VirtualHost> container in the cPanel vhost config: (in /var/cpanel/templates/apache2_4/vhost.local) RewriteCond %{HTTP_USER_AGENT} "Parser::Template" [NC,OR] I put UAs in there that seem to not get blocked effectively by mod_sec, to include MJ12...
  4. E

    Question about CPU-upgrade config changes

    Sorry, I didn't explain my question very well. I understand the configuration file doesn't change. I'm trying to determine just what configuration parameters adjust with a CPU license upgrade. For example, The default concurrent connections is 2000. So, the functional concurrent...
  5. E

    How to block bad bots on litespeed server?

    Have a quick question related to this -- hope you don't mind piggy-backing on this thread rather than opening a new one. I do something similar to what Masood is doing in htaccess, except that I add some of the bots to /var/cpanel/templates/apache2_4/vhost.local It seems that there is a...
  6. E

    Question about CPU-upgrade config changes

    Can't find this in the docs: which configuration items automatically change when the CPU license is upgraded? For example, I'm aware that 1-CPU 2000 connections becomes 4000 connections with a 2-CPU license. And, I read in the forums that External App "Max Connections" also doubles with a CPU...
  7. E

    Command-line PHP, can't connect to remote MySQL

    I agree, it should. Unfortunately, it doesn't so I must be missing something. I'll keep poking at it. Appreciate your time.
  8. E

    Command-line PHP, can't connect to remote MySQL

    Same result ... The description of the function is as follows: resourcemysql_connect ([ string $server = ini_get("mysql.default_host") [, string $username = ini_get("mysql.default_user") [, string $password = ini_get("mysql.default_password") [, bool$new_link = false [, int $client_flags = 0...
  9. E

    Command-line PHP, can't connect to remote MySQL

    Yes, the remote server works normally with regular users (websites) and connecting from the command-line works normally. The only thing I can't make work is connecting from php-cli: #php test_mysql.php
  10. E

    Command-line PHP, can't connect to remote MySQL

    Probably something basic I'm missing, but I'm unable to connect to a remote MySQL server from command-line PHP. Using Latest LSWS configured with suPHP. Running #php test_mysql.php <?php $username = "myuser"; $password = "123456"; $hostname = "my.remotesql.com"; $link =...
  11. E

    Monitoring WaitQ

    Thanks for that. Should be able to work with those.
  12. E

    Monitoring WaitQ

    Is there a way to monitor WaitQ other than eyeballing it on the real-time stats page? I have some unexplained CloudFlare 520 errors. When I check the real-time stats page, WaitQ is always '0' but if there is an API or some output (/proc?) I can use to monitor WaitQ with a script it would be...
  13. E

    [Resolved] CloudFlare "restore original IP" no longer working

    Wow, that was very quick -- and very effective. =^) Updated a couple servers -- both work, so getting the rest of the fleet updated.
  14. E

    [Resolved] CloudFlare "restore original IP" no longer working

    Since the 5.0.13 update the original IP is no longer restored to the server logs when the domain uses ns.*.cloudflare.com nameservers. Works fine using non-cloudflare.com nameservers. This is on all CPanel servers, using CloudLinux 6. mod_cloudflare compiled into Apache and CloudFlare...
  15. E

    can't set 'Forced Type', undefined MIME Type handler/no-handler

    I understand that. But it is normal or a problem? "buffer overflow" sounds like a problem.
  16. E

    can't set 'Forced Type', undefined MIME Type handler/no-handler

    Debug logging worked, thanks. While looking things over, I found a lot of entries like this in the stderr log: [STDERR] (41837): Warning Interned string buffer overflow 41837 is lsphp. Normal? Something I need to look into further?
  17. E

    can't set 'Forced Type', undefined MIME Type handler/no-handler

    Seeing can't set 'Forced Type', undefined MIME Type handler/no-handler in Apache error log but unable to determine which website is generating it. "no-handler" is not defined in any htaccess files. Any ideas for troubleshooting?
  18. E

    Zend Opcache with CloudLinux: docs conflict

    This appears to be a problem with alt-PHP, when the site is using the "native" (default) PHP version. Even if Opcache is defined, ProcessGroup does not work. I will follow-up when I hear back from CL.
  19. E

    Zend Opcache with CloudLinux: docs conflict

    Opcache does show in phpinfo and it is configured in php.ini. This makes sense because Opcache does work when LSPHP is configured to run as suEXEC Daemon. It fails when not running in daemon mode and it fails when ProcessGroup is added to httpd.conf.
Top