Checking the User Limit Profile
If you are on a UNIX computer using the Korn shell, check the user limit profile using the ulimit -a command. If you are using another shell, check the flags for the limit command by typing man limit or man ulimit.
Set data to unlimited using the ulimit -d unlimited command.
Set virtual memory to unlimited using the ulimit -v unlimited command.
Set the file descriptor limit to at least 1024 using the ulimit -n 1024 command. If possible, set the file descriptor limit to unlimited.
Add these statements to the .profile or .cshrc file.