Maximum number of events per monitor
Posted: Thu Jun 07, 2007 12:13 pm
Another thing I found happening, is that if there is more than a certain number of events per monitor, Linux just can't create a new directory for a new event, and nothing for that event gets recorded anymore.
It differs on my systems, but I found a "safe" maximum number of events to be about 18 000. (EXT3 dictates that 32 000 directory objects can be created).
Will it be possible to create a NEW folder if the zma deamon receives this: maximum number of directory objects from the system? At the moment my fix is just a perl script which runs each hour to delete the oldest events if there is more than 18 000 on the system per monitor...
The best way of handling this would be to just create a new folder (and keeping track of this folder) each time a certain amount of events is exceeded (or when Linux reports an error when creating a directory).
If someone needs an interim fix I'll be glad to post the Perl script here. (It's also compatible with my ZM Clustered version).
Regards,
Christiaan
It differs on my systems, but I found a "safe" maximum number of events to be about 18 000. (EXT3 dictates that 32 000 directory objects can be created).
Will it be possible to create a NEW folder if the zma deamon receives this: maximum number of directory objects from the system? At the moment my fix is just a perl script which runs each hour to delete the oldest events if there is more than 18 000 on the system per monitor...
The best way of handling this would be to just create a new folder (and keeping track of this folder) each time a certain amount of events is exceeded (or when Linux reports an error when creating a directory).
If someone needs an interim fix I'll be glad to post the Perl script here. (It's also compatible with my ZM Clustered version).
Regards,
Christiaan