Skip to main content

PHP Startup: Unable to load dynamic library '*' cannot open shared object file: Too many open files in system)

Comments

9 comments

  • SamuelM
    Hello @Abdulrahman Hassoun Thank you for contacting cPanel. Can you please let us know if your server uses CloudLinux? If so, please run the following command to determine if there have been any recent LVE faults: lveinfo --by-fault=any --period=1d --display-username --limit=0 --show-all
    Best regards
    0
  • Abdulrahman Hassoun
    No, I don't use CloudLinux. Any alternatives for that command?
    0
  • SamuelM
    Hello again @Abdulrahman Hassoun Thank you for your update. The error indicates that your server's open files limit was reached. You will likely need to either increase the limit, or identify what is causing the limit to be reached. Can you please reply with the results of the following commands? cat /etc/redhat-release cat /usr/local/cpanel/version ulimit -n cat /proc/sys/fs/file-max grep nofile /etc/security/limits.conf grep FD /etc/sysconfig/httpd
    Thank you
    0
  • Abdulrahman Hassoun
    Sure, here we go: [root@fi ~]# cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core) [root@fi ~]# cat /usr/local/cpanel/version 11.88.0.9 [root@fi ~]# ulimit -n 100000 [root@fi ~]# cat /proc/sys/fs/file-max 131072 [root@fi ~]# grep nofile /etc/security/limits.conf # - nofile - max number of open file descriptors * soft nofile 100000 * hard nofile 100000 [root@fi ~]# grep FD /etc/sysconfig/httpd # cPanel Specific Variables to allow users to override FD limits #MIN_FD_LIMIT=10000 #MAX_FD_LIMIT=60000 [root@fi ~]#
    I must mention that I don't receive a large number of (legitimate) traffic, almost not at all - less than 200 random visitors across all the day, across all PHP sites on the server. Most sites are up-to-date WordPress sites
    0
  • SamuelM
    Hello @Abdulrahman Hassoun The open files limit for your server is quite high. Based on the information available, it's difficult to infer why the "Too many open files in system" is repeatedly being logged to the Apache error log. I encourage you to submit a ticket using the link in my signature so that our Technical Analysts can investigate this further. Best regards
    0
  • Abdulrahman Hassoun
    Support ticket is created 93497927
    0
  • andrew.n
    by any chance are you on a VPS? Is it OpenVZ based?
    0
  • Josecarlosne
    Buenas tardes, instal" WHMCS, con el instalador de softaculous, toda la instalaci"n se hace de manera correcta, pero no puedo acceder al log de administraci"n, en la carpeta public_html el erro_log : PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php71/lib/php/extensions/no-debug-non-zts-20160303/ixed.7.1.lin' - /opt/php71/lib/php/extensions/no-debug-non-zts-20160303/ixed.7.1.lin: cannot open shared object file: No such file or directory in Unknown on. Gracias por su ayuda
    0
  • andrew.n
    you are missing SourceGuardian PHP extension but please open a new thread.
    0

Please sign in to leave a comment.