Monitoring: query-queue-length

The query-queue-length variable reports how many queries are queued for submission to the database server.

Archiveopteryx dynamically adjusts the number of database connections to keep this low while avoiding unnecessary database connections. The value should be zero usually, and if it's nonzero, it should move back to zero within a few seconds or at most a few minutes. The configuration variables db-max-handles and db-handle-interval affect this adjustment.

A high value of query-queue-length usually indicates that the server load has grown very quickly and that Archiveopteryx was unable to open new database connections quickly enough. Performance will suffer as a result.

In case of questions, please write to info@aox.org.

Relevant links

About this page

Last modified: 2010-11-19
Location: aox.org/monitoring/query-queue-length