Unix Programming - Re: error : Too many open files

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > January 2004 > Re: error : Too many open files





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: error : Too many open files
Geoff Clare

2004-01-23, 4:57 pm

Andrei Voropaev <avorop@mail.ru> writes:
quote:

[QUOTE][color=darkred]
>Also check why you don't have enough file descriptors. Maybe you forget
>to close them somewhere?



Seems that, in the posts I have seen so far on this, everyone has been
fooled by the misleading perror() message.

That's the message perror() prints when errno is EMFILE. For shmat()
an EMFILE error means you have run out of shared memory segments, not
open files.

--
Geoff Clare <nospam@gclare.org.uk>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com