You speculate that it may be an OS issue, but you fail to specify just what OS you're using. (Your program works on my Ubuntu 8.04 Linux box.)
If it's a Linux or Unix OS then perhaps your account is limited in the number of file locks it is allowed (settable in /etc/security/limit.conf). If you're using SE-linux, that may apply additional restrictions. You can see current locks in /proc/locks.
In reply to Re: tie NDBM_File --> No locks available at ....
by gmargo
in thread tie NDBM_File --> No locks available at ....
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |