System error 24: Too many open files

Enver ALTIN <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Parkyeri
Message-ID <[email protected]>
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/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBBi7byZCB2FZvqK0sRAjl4AJ4pxaQy8vfQ2jT06pvU5ulegb5ErACfViF3
Lyuk8HMCQv13lTZAJM19ka0=
=jov7
-----END PGP SIGNATURE-----
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.