www.webdeveloper.com
Results 1 to 2 of 2

Thread: VPS Domain Hosting Errors

  1. #1
    Join Date
    Dec 2008
    Posts
    19

    VPS Domain Hosting Errors

    How do I solve these errors?

    [root@somebody sbin]# apachectl configtest

    I get this error:
    /usr/sbin/httpd: error while loading shared libraries: libdl.so.2: cannot open shared object file: Error 23

    [root@somebody sbin]# apachectl graceful

    I get this error:
    apachectl: Configuration syntax error, will not run "graceful":
    /usr/sbin/httpd: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23

  2. #2
    Join Date
    Dec 2008
    Posts
    19

    Thumbs up

    This error message means that you have exceeded the maximum number of file handles (or maybe inode handlers) the kernel can allocate.

    To find the values do this:
    cat /proc/sys/fs/file-max
    cat /proc/sys/fs/inode-max

    Change the defaults at boot by putting the following lines in /etc/sysctl.conf:

    # Increase no. of file handles, recommended 8192 per 128MB RAM
    # fs.file-max = 8192
    fs.file-max = 24576
    # Increase no. of inode handlers, recommended 3 x file-max
    # fs.inode-max = 16376
    fs.inode-max = 98304

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles