Re: System error 24: Too many open files

Benjamin Lee <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Could be the same problem as:

http://www.mail-archive.com/[email protected]/msg03826.html

On Saturday, 2004-11-06 at 04:22:58 AM, Enver ALTIN scribbled:
> Hi,
> 
> I'm having a problem with DLR handling on Solaris with Kannel/CVS
> connecting to an EMI SMSC:
> 
>         2004-11-05 18:58:57 [1503] [9] DEBUG: Parsing URL `http://xxxx/dlr.php?status=8':
>         2004-11-05 18:58:57 [1503] [9] DEBUG:   Scheme: http://
>         2004-11-05 18:58:57 [1503] [9] DEBUG:   Host: xxxx
>         2004-11-05 18:58:57 [1503] [9] DEBUG:   Port: 80
>         2004-11-05 18:58:57 [1503] [9] DEBUG:   Username: (null)
>         2004-11-05 18:58:57 [1503] [9] DEBUG:   Password: (null)
>         2004-11-05 18:58:57 [1503] [9] DEBUG:   Path: dlr.php
>         2004-11-05 18:58:57 [1503] [9] DEBUG:   Query: status=8
>         2004-11-05 18:58:57 [1503] [9] DEBUG:   Fragment: (null)
>         2004-11-05 18:58:57 [1503] [9] ERROR: Couldn't create new socket.
>         2004-11-05 18:58:57 [1503] [9] ERROR: System error 24: Too many open files
>         2004-11-05 18:58:57 [1503] [9] ERROR: error connecting to server `xxxx' at port `80'
> 
> I think it's reaching the per process fd limit. I tried increasing it to
> 4096 and even more. Seemed to work, but didn't help at all. Sooner or
> later, I hit this problem.
> 
> What's going on? Is Kannel leaking file descriptors, or is it really too
> many outgoing DLR's blocking it?
> 
> PS: Connection to SMSC is _very_ fast.
> 
> PS2: I never encountered this problem with Linux.
> 
> Thanks,
> -- 
> Enver ALTIN                   |        http://skyblue.gen.tr/
> Software developer @ Parkyeri |      http://www.parkyeri.com/



-- 
Benjamin Lee
Melbourne, AU         +61.4.16.BEN.LEE         http://www.realthought.net/
__________________________________________________________________________
You can't push on a string.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.