There are per-user and per-system limits all over
the place in linux.
This system tuning page covers all the bases pretty well, and
this page is a quicker pointer to just
the open file descriptor limits, which you appear to be
hitting.
Comment on Re: System resource limitation question