Upon reboot the following errors appear: open(/dev/zero): Too many open files

Article:TECH5961  |  Created: 2000-01-17  |  Updated: 2001-01-24  |  Article URL http://www.symantec.com/docs/TECH5961
Article Type
Technical Solution

Environment

Issue



Upon reboot the following errors appear: open(/dev/zero): Too many open files

Error



WARNING: forceload of drv/pln failed
WARNING: forceload of drv/soc failed
VxVM starting in boot mode...
open(/dev/zero): Too many open files
libthread panic: alloc_chunk (PID: 23 LWP 1)
stacktrace:
ef769a30
ef7684a4

Solution



This is a file descriptor limit problem. The workaround is to increase the file descriptor from a default 64 to 256, 512 or maximum 1024.

To find current setting, do ulimit -a

    # ulimit -a
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) 8192
    coredump(blocks) unlimited
    nofiles(descriptors) 64
    memory(kbytes) unlimited
    #  

To change settings to e.g. 512, insert the following line in /etc/system before the vxvm_START session and reboot.

    set rlim_fd_cur=0x200

Check setting again with ulimit -a will show

    # ulimit -a
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) 8192
    coredump(blocks) unlimited
    nofiles(descriptors) 512
    memory(kbytes) unlimited
    #            

This problem has been documented in Sun Bug IDs 4277287, 4200511.    
             


Legacy ID



198181


Article URL http://www.symantec.com/docs/TECH5961


Terms of use for this information are found in Legal Notices