Re: Max Log Files
Alejandro Guerrieri <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
What would happen if you open many smsc binds to the same log file? Would those count as separate log files despite being written to the same file? Regards, -- Alejandro Guerrieri [email protected] On 09/11/2009, at 10:45, Alexander Malysh wrote: > Hi, > > this is only for performance reasons. But IMHO 128 log files are too > many for one instance :) > > Thanks, > Alexander Malysh > > Am 06.11.2009 um 21:17 schrieb Alejandro Guerrieri: > >> 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 >> [email protected] >> >> >> >> >