Max Log Files
Nikos Balkanas
nbalkanas at gmail.com
Fri Nov 6 22:27:56 CET 2009
Hi,
The counter should not be affected by gwlib/log.c: log_reopen(). All openned
files are closed and then openned without changing num_logfiles.
However, this would be an excellent place to do some debugging. You print
logfiles[i].filename from there. This way when you have the problem you
could check for anything suspicious by sending a kill -HUP.
BR,
Nikos
----- Original Message -----
From: "Alejandro Guerrieri" <aguerrieri at kannel.org>
To: "Kannel Devel" <devel at kannel.org>
Sent: Friday, November 06, 2009 10:17 PM
Subject: Max Log Files
> log.c, line 104:
>
> #define MAX_LOGFILES 128
>
> Is there any reason why this number is so low? After adding about 30 smsc
> connections, I've started getting "Too many log files already open, not
> adding XXXXX" errors. This is probably because the connections use more
> than one file descriptor, or maybe the counter doesn't get reset after
> rotating logs or something?
>
> Regards,
>
> --
> Alejandro Guerrieri
> aguerrieri at kannel.org
>
>
>
>
More information about the devel
mailing list