Table of Contents

Class StatusResponseModel.StatusPerformanceModel

Namespace
Contensive.BaseModels
Assembly
CPBase.dll

Availability/resource-headroom status included in the status response (Site Monitor roadmap Phase 2). Mirrors the WordPress Site-Status plugin's performance checks, adapted to Contensive's data model. See each field's summary for which platform(s) set it.

public class StatusResponseModel.StatusPerformanceModel
Inheritance
StatusResponseModel.StatusPerformanceModel
Inherited Members

Properties

autoloadOptionsCount

Count of rows in the WordPress autoloaded-options set. WordPress only; null for Contensive.

public int? autoloadOptionsCount { get; set; }

Property Value

int?

autoloadOptionsSizeKb

Size, in kilobytes, of the WordPress "autoload" options blob (wp_options where autoload='yes'). WordPress only; null for Contensive, which has no equivalent bulk-autoloaded options table.

public double? autoloadOptionsSizeKb { get; set; }

Property Value

double?

cronBacklogged

True if scheduled work (WordPress wp-cron) is backlogged. WordPress only; null for Contensive, whose scheduled work runs through a server-controlled process-addon scheduler (see taskSchedulerController) rather than a visitor-triggered cron hook, so it doesn't have the same silent-backlog failure mode that wp-cron does.

public bool? cronBacklogged { get; set; }

Property Value

bool?

dbSizeMb

Size, in megabytes, of the site's database. Set by both platforms -- for Contensive this is the sum of the allocated SQL Server data/log file sizes (sys.database_files), which matches what SSMS reports as the database size.

public double? dbSizeMb { get; set; }

Property Value

double?

memoryLimitBytes

Configured memory limit, in bytes, for the running process (e.g. WordPress's WP_MEMORY_LIMIT). Null for Contensive: a long-lived IIS-hosted .NET process has no fixed script memory limit analogous to PHP's -- the closest concept, the app pool's private-memory recycling threshold, isn't reliably readable from inside the worker process, so it's left null rather than guessed.

public long? memoryLimitBytes { get; set; }

Property Value

long?

memoryUsageBytes

Current process memory usage, in bytes. Set by both platforms -- for Contensive this is the current process's working-set size (Process.GetCurrentProcess().WorkingSet64).

public long? memoryUsageBytes { get; set; }

Property Value

long?

memoryUsagePercent

memoryUsageBytes as a percentage of memoryLimitBytes. Null for Contensive since memoryLimitBytes is null there -- see its summary for why.

public double? memoryUsagePercent { get; set; }

Property Value

double?

objectCacheActive

True if an object cache (e.g. Redis/Memcached) is active. For Contensive, true if any of ServerConfig's enableRemoteCache / enableLocalMemoryCache / enableLocalFileCache flags is set -- the same OR-gate Contensive's own CacheController (cp.Cache) uses internally to decide whether its get/store/invalidate calls are live or no-ops. See PerformanceDiagnosticsController.

public bool? objectCacheActive { get; set; }

Property Value

bool?

pageCacheActive

True if a page cache (full-response/HTML output cache) is active. WordPress only; null for Contensive, which has no such mechanism -- its only cache (CacheController / cp.Cache) stores arbitrary app-level objects (records, dictionaries, addon lists, etc.), never whole rendered responses, so there is nothing analogous to a WordPress page-cache plugin to report here.

public bool? pageCacheActive { get; set; }

Property Value

bool?