Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixed a bug that caused $MainMsgQueueCheckpointInterval to work incorrectly | Rainer Gerhards | 2008-01-30 | 1 | -39/+46 |
| | |||||
* | - renamed Msg object to usual all-lowercase object name (else we ran into | Rainer Gerhards | 2008-01-30 | 1 | -24/+6 |
| | | | | | | troubles with the framework, also it was somewhat ugly...) - fixed a memory leak in object destruction (was recently introduced by object naming, not present in any released version) | ||||
* | added ability to re-enqueue objects into the queue when a worker thread is | Rainer Gerhards | 2008-01-29 | 1 | -18/+174 |
| | | | | cancelled | ||||
* | bugfixing newly added action code | Rainer Gerhards | 2008-01-29 | 1 | -0/+1 |
| | |||||
* | - fine tuning on queue naming | Rainer Gerhards | 2008-01-29 | 1 | -2/+7 |
| | | | | | - action queues are now also named (otherwise you can't read the debug log ;)) | ||||
* | converted queue.c to use dbgoprint() instead of dbgprintf() | Rainer Gerhards | 2008-01-29 | 1 | -114/+72 |
| | |||||
* | implemented naming for all objects (mostly as a debug aid, but you never | Rainer Gerhards | 2008-01-29 | 1 | -7/+4 |
| | | | | know what else it will be good for) | ||||
* | - improved debug support a bit (assertions) | Rainer Gerhards | 2008-01-29 | 1 | -24/+27 |
| | | | | | - restructured code, moved some part out of syslogd.c to action.c, where they belong (still some more to do in that regard ;)) | ||||
* | - implemented the $ActionResumeRetryCount config directive | Rainer Gerhards | 2008-01-28 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | | - added queue between main queue and action executor (currently works in "direct" mode only, else crashes) - added $ActionQueueFilename config directive - added $ActionQueueSize config directive - added $ActionQueueHighWaterMark config directive - added $ActionQueueLowWaterMark config directive - added $ActionQueueDiscardMark config directive - added $ActionQueueDiscardSeverity config directive - added $ActionQueueCheckpointInterval config directive - added $ActionQueueType config directive - added $ActionQueueWorkerThreads config directive - added $ActionQueueTimeoutshutdown config directive - added $ActionQueueTimeoutActionCompletion config directive - added $ActionQueueTimeoutenQueue config directive - added $ActionQueueTimeoutworkerThreadShutdown config directive - added $ActionQueueWorkerThreadMinimumMessages config directive - added $ActionQueueMaxFileSize config directive - added $ActionQueueSaveonShutdown config directive | ||||
* | - added "runtime instrumentation" feature to ./configure | Rainer Gerhards | 2008-01-28 | 1 | -4/+0 |
| | | | | - some more cleanup | ||||
* | cleanup to prepare for release | Rainer Gerhards | 2008-01-28 | 1 | -55/+29 |
| | |||||
* | some more testing and cleanup with the queue class (pretty stable now) | Rainer Gerhards | 2008-01-28 | 1 | -33/+52 |
| | |||||
* | fixed queue termination in case bSaveOnShutdown is 0 | Rainer Gerhards | 2008-01-27 | 1 | -14/+38 |
| | |||||
* | some more fixing and cleanup on the queue shutdown sequence | Rainer Gerhards | 2008-01-27 | 1 | -32/+40 |
| | |||||
* | fixed a bug when shutting down DA queue | Rainer Gerhards | 2008-01-27 | 1 | -10/+23 |
| | |||||
* | reduced number of unnecessary wakeups of DA worker thread when high water | Rainer Gerhards | 2008-01-27 | 1 | -45/+67 |
| | | | | mark is not yet reached | ||||
* | fixed the situation where message processing could be stalled for some | Rainer Gerhards | 2008-01-27 | 1 | -6/+49 |
| | | | | period after DA mode turn off | ||||
* | partially fixed bug that caused rsyslogd to stall processing enqueued | Rainer Gerhards | 2008-01-26 | 1 | -9/+53 |
| | | | | | | messages after turning off DA mode and before any new message were arrived (if a new message arrived, everything went back to normal, so it was a temporary halt) | ||||
* | fixed worker timeout which was accidently not set (and thus 0) | Rainer Gerhards | 2008-01-25 | 1 | -0/+2 |
| | |||||
* | disk-assisted queue mode finally begins to look good ;) | Rainer Gerhards | 2008-01-25 | 1 | -74/+146 |
| | |||||
* | restructured queue shutdown so that the queue timeout is properly applied | Rainer Gerhards | 2008-01-25 | 1 | -97/+159 |
| | | | | before terminatiing the queue | ||||
* | redesigned queue to utilize helper classes for threading support. This is | Rainer Gerhards | 2008-01-24 | 1 | -1161/+418 |
| | | | | | | finally in a running state for regular (non disk-assisted) queues, with a minor nit at shutdown. So I can finally commit the work again to CVS... | ||||
* | Module OMSNMP intially added, not completed yet. | Andre Lorbach | 2008-01-22 | 1 | -1/+1 |
| | |||||
* | some further cleanup on the mutexes | Rainer Gerhards | 2008-01-19 | 1 | -116/+62 |
| | |||||
* | seperated mutex for queue size management from those for queue thread | Rainer Gerhards | 2008-01-19 | 1 | -47/+179 |
| | | | | management | ||||
* | saving state | Rainer Gerhards | 2008-01-18 | 1 | -72/+102 |
| | |||||
* | - created an in-depth description of DA assisted queue mode | Rainer Gerhards | 2008-01-18 | 1 | -100/+214 |
| | | | | | - snapshot of new thread coding - DA mode still does not work, but need to save | ||||
* | fixed sync issue on shutdown process if need to persist pure memory queue | Rainer Gerhards | 2008-01-17 | 1 | -8/+32 |
| | | | | to disk | ||||
* | worked on threading | Rainer Gerhards | 2008-01-17 | 1 | -87/+294 |
| | |||||
* | some more cleanup and flagged places where we need to implement | Rainer Gerhards | 2008-01-16 | 1 | -35/+13 |
| | | | | DA-input-only mode | ||||
* | some cleanup and fixes | Rainer Gerhards | 2008-01-16 | 1 | -26/+19 |
| | |||||
* | implemented dynamic startup and shutdown of worker threads based on current | Rainer Gerhards | 2008-01-16 | 1 | -117/+207 |
| | | | | activity | ||||
* | cleaned up queue disk startup | Rainer Gerhards | 2008-01-16 | 1 | -28/+32 |
| | |||||
* | queue is now able to restore persisted state on startup (but still some | Rainer Gerhards | 2008-01-16 | 1 | -42/+174 |
| | | | | fine tuning to be done) | ||||
* | first shot at queue restore on startup, but could not finish before I need | Rainer Gerhards | 2008-01-15 | 1 | -1/+62 |
| | | | | to leave ;) | ||||
* | improved shutdown processing - in-memory queue is now drained to disk | Rainer Gerhards | 2008-01-15 | 1 | -5/+31 |
| | |||||
* | changed startup of disk assisted mode to allow for higher concurrency, most | Rainer Gerhards | 2008-01-15 | 1 | -121/+155 |
| | | | | | | importantly allow the input to continue enqueue msgs while the disk queue is initialized. This may help somewhat with UDP and other lossy sources | ||||
* | disk assisted queue works quite well, except for startup from disk queue | Rainer Gerhards | 2008-01-15 | 1 | -28/+204 |
| | |||||
* | some more work on disk assisted mode (still not complete) | Rainer Gerhards | 2008-01-14 | 1 | -2/+48 |
| | |||||
* | begin disk assisted queue memory queue modes (not fully implemented yet) | Rainer Gerhards | 2008-01-14 | 1 | -42/+256 |
| | |||||
* | - implemented $MainMsgQueueDiscardMark == 0 --> disable Discard logic | Rainer Gerhards | 2008-01-14 | 1 | -3/+6 |
| | | | | - implemented $MainMsgQueueSize == 0 --> no limit on queue size | ||||
* | also implemented $MainMsgQueueDiscardMark logic on dequeue, changed | Rainer Gerhards | 2008-01-14 | 1 | -9/+19 |
| | | | | defaults | ||||
* | implemented $MainMsgQueueDiscardMar and $MainMsgQueueDiscardSeverity (but | Rainer Gerhards | 2008-01-14 | 1 | -2/+19 |
| | | | | serverity needs to be specified numerically for the time being) | ||||
* | optimized code | Rainer Gerhards | 2008-01-14 | 1 | -3/+4 |
| | |||||
* | - implemented config file handlers for | Rainer Gerhards | 2008-01-14 | 1 | -0/+4 |
| | | | | | | | | $MainMsgQueueHighWaterMark $MainMsgQueueLowWaterMark $MainMsgQueueDiscardMark $MainMsgQueueDiscardSeverity but did NOT yet implement the functionality behind these directives! | ||||
* | removed $MainMsgQueueImmediateShutdown config directive and handling, this | Rainer Gerhards | 2008-01-14 | 1 | -1/+0 |
| | | | | | has been superseeded by the Timeout params. Backward compatibility is no concern, no version with that directive was ever released. | ||||
* | - implemented $MainMsgQueueTimeoutActionCompletion config directive | Rainer Gerhards | 2008-01-14 | 1 | -42/+82 |
| | | | | | | - implemented $MainMsgQueueTimeoutEnqueue config directive - implemented $MainMsgQueueTimeoutShutdown config directive - some cleanup | ||||
* | worker shutdown sequence enhanced to try different ways to shut down and | Rainer Gerhards | 2008-01-14 | 1 | -31/+111 |
| | | | | | terminate workers if none helps (this protects against badly written output plugins which hold the queue for too long) | ||||
* | changed queue shutdown procedure a bit - stage work for queue shutdown | Rainer Gerhards | 2008-01-13 | 1 | -9/+6 |
| | | | | timeout setting | ||||
* | added $MainMsgQueuePersistUpdateCount config file directive | Rainer Gerhards | 2008-01-13 | 1 | -4/+45 |
| |