summaryrefslogtreecommitdiffstats
path: root/queue.c
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: fixed some minor memory leaksRainer Gerhards2008-03-201-3/+3
|
* bugfix: TCP (and GSSAPI) octet-counted frame did not work correctly in allRainer Gerhards2008-03-141-2/+1
| | | | | situations. If the header was split across two packet reads, it was invalidly processed, causing loss or modification of messages.
* added advanced flow control for congestion cases (mode depending on messageRainer Gerhards2008-03-141-3/+83
| | | | source and its capablity to be delayed without bad side effects)
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-1/+5
|
* - changed modules.c calling conventions to be interface-basedRainer Gerhards2008-03-051-1/+5
| | | | | | | | | | | - moved module loader from conf.c to module.c, where it belongs - made the necessary plumbing to auto-load library modules - upgraded debug system to include iRet in function exit message - changed module interface so that instances need only to be supported by output plugins (if we actually need them for input plugins, we can always add it again...) - milestone: first implementation of library modules (but do not get unloaded on exit/hup so far)
* did some portability changes to make rsyslog compile on HP UXRainer Gerhards2008-03-051-0/+1
|
* fixed newly introduced bugs in imgssapi and imtcp and their helpers nowRainer Gerhards2008-03-031-1/+5
| | | | plain tcp works again
* - added "debug" command to debug environment settingsRainer Gerhards2008-02-291-4/+8
| | | | | | | | | - changed the object/interface system to use a new way of calling, giving up the numerical object ID. This was necessary as we needed more extensibility for third-party modules (which don't play at all with the previous fixed object ID). This is stage work for the object loader. Please note that I needed to change the object (de)serializer, I can't outrule that I have introduced bugs there.
* changed obj base object's calling interface to use the new obj_if_tRainer Gerhards2008-02-291-14/+17
| | | | interface structure
* - wrote doc on how to use the expression engineRainer Gerhards2008-02-281-1/+1
| | | | | - changed ABNF to fully support old property names - added case-insensitive comparison operations
* - bugfix: queue aborted when it was shut down, DA-enabled, DA mode was justRainer Gerhards2008-02-271-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 theRainer Gerhards2008-02-271-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 implementedRainer Gerhards2008-02-271-13/+0
|
* bugfix: queue disk file were not properly persisted when immediately afterRainer Gerhards2008-02-271-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 pointerRainer Gerhards2008-02-271-5/+12
| | | | if dequeue failed
* worked on queue stabilityRainer Gerhards2008-02-261-7/+12
|
* simplified var object, now only supports strings and numbers as a singleRainer Gerhards2008-02-221-5/+5
| | | | type
* created var class out of property_tRainer Gerhards2008-02-201-1/+1
|
* preparing for 3.11.2v3-11-2Rainer Gerhards2008-02-151-1/+1
|
* - fixed a race condition in DoDie() - cosmetic issue in debugging mode,Rainer Gerhards2008-02-131-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 inRainer Gerhards2008-02-121-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 outputRainer Gerhards2008-02-121-9/+0
|
* some more 32 bit fun ;)Rainer Gerhards2008-01-311-1/+1
|
* bugfix: having fun with 32/64 bit portability - after 15 years, I finallyRainer Gerhards2008-01-311-7/+7
| | | | | was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit platforms
* - implemented limiting disk space allocated to queuesRainer Gerhards2008-01-301-5/+70
| | | | | - addded $MainMsgQueueMaxDiskSpace config directive - addded $ActionQueueMaxDiskSpace config directive
* - implemented simple output rate limitingRainer Gerhards2008-01-301-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 incorrectlyRainer Gerhards2008-01-301-39/+46
|
* - renamed Msg object to usual all-lowercase object name (else we ran intoRainer Gerhards2008-01-301-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 isRainer Gerhards2008-01-291-18/+174
| | | | cancelled
* bugfixing newly added action codeRainer Gerhards2008-01-291-0/+1
|
* - fine tuning on queue namingRainer Gerhards2008-01-291-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 Gerhards2008-01-291-114/+72
|
* implemented naming for all objects (mostly as a debug aid, but you neverRainer Gerhards2008-01-291-7/+4
| | | | know what else it will be good for)
* - improved debug support a bit (assertions)Rainer Gerhards2008-01-291-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 directiveRainer Gerhards2008-01-281-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 ./configureRainer Gerhards2008-01-281-4/+0
| | | | - some more cleanup
* cleanup to prepare for releaseRainer Gerhards2008-01-281-55/+29
|
* some more testing and cleanup with the queue class (pretty stable now)Rainer Gerhards2008-01-281-33/+52
|
* fixed queue termination in case bSaveOnShutdown is 0Rainer Gerhards2008-01-271-14/+38
|
* some more fixing and cleanup on the queue shutdown sequenceRainer Gerhards2008-01-271-32/+40
|
* fixed a bug when shutting down DA queueRainer Gerhards2008-01-271-10/+23
|
* reduced number of unnecessary wakeups of DA worker thread when high waterRainer Gerhards2008-01-271-45/+67
| | | | mark is not yet reached
* fixed the situation where message processing could be stalled for someRainer Gerhards2008-01-271-6/+49
| | | | period after DA mode turn off
* partially fixed bug that caused rsyslogd to stall processing enqueuedRainer Gerhards2008-01-261-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 Gerhards2008-01-251-0/+2
|
* disk-assisted queue mode finally begins to look good ;)Rainer Gerhards2008-01-251-74/+146
|
* restructured queue shutdown so that the queue timeout is properly appliedRainer Gerhards2008-01-251-97/+159
| | | | before terminatiing the queue
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-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 Lorbach2008-01-221-1/+1
|
* some further cleanup on the mutexesRainer Gerhards2008-01-191-116/+62
|