Re: Max Log Files

Alejandro Guerrieri <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Ok, that explains it, then :)

PS: When you have a minute (or 15 ;)), could you please review the two  
patches I've sent last week for meta-data on dlrs and independent dlr  
counters?

Regards,
--
Alejandro Guerrieri
[email protected]



On 09/11/2009, at 11:25, Alexander Malysh wrote:

>
> Am 09.11.2009 um 11:23 schrieb Alejandro Guerrieri:
>
>> 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?
>
> yes they will count as separate log files because each log file may  
> have different log level defined...
>
>>
>> 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]
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
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.