Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - bugfix: queue aborted when it was shut down, DA-enabled, DA mode was just | Rainer Gerhards | 2008-02-27 | 1 | -24/+38 |
| | | | | | | | | | initiated but not fully initialized (a race condition) - bugfix: queue properties sizeOnDisk, bytesRead were persisted to disk with wrong data type (long instead of int64) - could cause problems on 32 bit machines - fixed a problem introduced today, on-disk queue size was now wrongly calculated (but not in any released version) | ||||
* | bugfix: during queue shutdown, an assert invalidly triggered when the | Rainer Gerhards | 2008-02-27 | 1 | -3/+15 |
| | | | | | | primary queue's DA worker was terminated while the DA queue's regular worker was still executing. This could result in a segfault during shutdown. tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=41 | ||||
* | removed TODO that was long implemented | Rainer Gerhards | 2008-02-27 | 1 | -13/+0 |
| | |||||
* | bugfix: queue disk file were not properly persisted when immediately after | Rainer Gerhards | 2008-02-27 | 1 | -1/+0 |
| | | | | | | | | | closing an output file rsyslog was stopped or huped (the new output file open must NOT have happend at that point) - this lead to a sparse and invalid queue file which could cause several problems to the engine (unpredictable results). This situation should have happened only in very rare cases. tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=40 | ||||
* | bugfix: queue cancel cleanup handler could be called with invalid pointer | Rainer Gerhards | 2008-02-27 | 1 | -5/+12 |
| | | | | if dequeue failed | ||||
* | worked on queue stability | Rainer Gerhards | 2008-02-26 | 1 | -7/+12 |
| | |||||
* | simplified var object, now only supports strings and numbers as a single | Rainer Gerhards | 2008-02-22 | 1 | -5/+5 |
| | | | | type | ||||
* | created var class out of property_t | Rainer Gerhards | 2008-02-20 | 1 | -1/+1 |
| | |||||
* | preparing for 3.11.2v3-11-2 | Rainer Gerhards | 2008-02-15 | 1 | -1/+1 |
| | |||||
* | - fixed a race condition in DoDie() - cosmetic issue in debugging mode, | Rainer Gerhards | 2008-02-13 | 1 | -3/+2 |
| | | | | | could not happen in production - added the ability to persist current read location for the file monitor | ||||
* | bugfix: discard action and backup actions did not work due to problem in | Rainer Gerhards | 2008-02-12 | 1 | -13/+16 |
| | | | | | | direct queue mode. Now fixed. Tracker was http://sourceforge.net/tracker/index.php?func=detail&aid=1886931&group_ id=123448&atid=696552 | ||||
* | reduced volume of debug output | Rainer Gerhards | 2008-02-12 | 1 | -9/+0 |
| | |||||
* | some more 32 bit fun ;) | Rainer Gerhards | 2008-01-31 | 1 | -1/+1 |
| | |||||
* | bugfix: having fun with 32/64 bit portability - after 15 years, I finally | Rainer Gerhards | 2008-01-31 | 1 | -7/+7 |
| | | | | | was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit platforms | ||||
* | - implemented limiting disk space allocated to queues | Rainer Gerhards | 2008-01-30 | 1 | -5/+70 |
| | | | | | - addded $MainMsgQueueMaxDiskSpace config directive - addded $ActionQueueMaxDiskSpace config directive | ||||
* | - implemented simple output rate limiting | Rainer Gerhards | 2008-01-30 | 1 | -0/+11 |
| | | | | | | - addded $ActionQueueDequeueSlowdown config directive - addded $MainMsgQueueDequeueSlowdown config directive - bugfix: MsgDup() did not work with new base object data structure | ||||
* | 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) |