I've found where the problem was. I was thinking hard about a "too many open 
files issue", so I used this script to check my thoughts:
#!/usr/sbin/dtrace -s

#pragma D option quiet

dtrace:::BEGIN
{
        printf("%-16s %-12s %3s %s\n", "EXEC", "SYSCALL", "ERR", "DESC");
}

syscall::open:return
/(int)arg0 == -1 && errno == 24/
{
        printf("%-16s %-12s %3d %s\n", execname, probefunc, errno, errnostr);
}


And guess what:

# ./errstr.d
EXEC             SYSCALL      ERR DESC
nscd             open          24 EMFILE: Too many open files
nscd             open          24 EMFILE: Too many open files
.....


I need to increase the open files limit.

Sebastien.
--
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to