/php-src/ext/mysqlnd/ |
H A D | mysqlnd_block_alloc.c | 27 mysqlnd_mempool_get_chunk(MYSQLND_MEMORY_POOL * pool, size_t size) in mysqlnd_mempool_get_chunk() argument 30 DBG_RETURN(zend_arena_alloc(&pool->arena, size)); in mysqlnd_mempool_get_chunk() 55 mysqlnd_mempool_destroy(MYSQLND_MEMORY_POOL * pool) in mysqlnd_mempool_destroy() argument 59 zend_arena_destroy(pool->arena); in mysqlnd_mempool_destroy() 66 mysqlnd_mempool_save_state(MYSQLND_MEMORY_POOL * pool) in mysqlnd_mempool_save_state() argument 69 pool->checkpoint = zend_arena_checkpoint(pool->arena); in mysqlnd_mempool_save_state() 76 mysqlnd_mempool_restore_state(MYSQLND_MEMORY_POOL * pool) in mysqlnd_mempool_restore_state() argument 80 ZEND_ASSERT(pool->checkpoint); in mysqlnd_mempool_restore_state() 82 if (pool->checkpoint) { in mysqlnd_mempool_restore_state() 83 zend_arena_release(&pool->arena, pool->checkpoint); in mysqlnd_mempool_restore_state() [all …]
|
H A D | mysqlnd_block_alloc.h | 22 PHPAPI void mysqlnd_mempool_destroy(MYSQLND_MEMORY_POOL * pool); 23 PHPAPI void mysqlnd_mempool_save_state(MYSQLND_MEMORY_POOL * pool); 24 PHPAPI void mysqlnd_mempool_restore_state(MYSQLND_MEMORY_POOL * pool);
|
H A D | mysqlnd_result.c | 1114 MYSQLND_MEMORY_POOL * pool; in mysqlnd_result_init() local 1120 if (!pool) { in mysqlnd_result_init() 1124 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_init() 1127 ret->row_data = pool->get_chunk(pool, field_count * sizeof(zval)); in mysqlnd_result_init() 1130 ret->memory_pool = pool; in mysqlnd_result_init() 1134 mysqlnd_mempool_save_state(pool); in mysqlnd_result_init() 1151 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_unbuffered_init() 1154 ret->result_set_memory_pool = pool; in mysqlnd_result_unbuffered_init() 1167 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init() 1186 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_buffered_init() [all …]
|
/php-src/sapi/fpm/tests/ |
H A D | logtool.inc | 9 const P_PREFIX = '\[pool unconfined\] child \d+ said into stderr: '; 508 ?string $pool, 511 if ($pool !== null) { 512 $expectedMessage = '\[pool ' . $pool . '\] ' . $expectedMessage; 572 ?string $pool = null, 607 ?string $pool = null, 637 * @param string|null $pool 651 * @param string|null $pool 665 * @param string|null $pool 679 * @param string|null $pool [all …]
|
H A D | tester.inc | 1811 * @param string|null $pool The pool for pool prefixed log entry. 1857 * @param string|null $pool The pool for pool prefixed log entry. 1879 $pool, 1893 * @param string|null $pool The pool for pool prefixed log entry. 1915 $pool, 1928 * @param string|null $pool The pool for pool prefixed log entry. 1950 $pool, 1963 * @param string|null $pool The pool for pool prefixed log entry. 1998 * @param string|null $pool The pool for pool prefixed log entry. 2158 * @param string|null $pool The pool for pool prefixed log entry [all …]
|
H A D | bug68591-conf-test-user.phpt | 31 ERROR: [pool unconfined] cannot get uid for user 'aaaaaa'
|
H A D | bug68591-conf-test-group.phpt | 32 ERROR: [pool unconfined] cannot get gid for group 'aaaaaa'
|
H A D | bug68591-conf-test-listen-group.phpt | 32 ERROR: [pool unconfined] cannot get gid for group 'aaaaaa': %s
|
H A D | bug68591-conf-test-listen-owner.phpt | 32 ERROR: [pool unconfined] cannot get uid for user 'aaaaaa': %s
|
H A D | status-ping.phpt | 2 FPM: Ping on the status invisible pool
|
H A D | status-listen-expose-php-off.phpt | 2 FPM: Status pool is inheriting FPM setting overrides test - expose_php = off
|
H A D | status-listen-expose-php-on.phpt | 2 FPM: Status pool is inheriting FPM setting overrides test - expose_php = on
|
H A D | bug76601-reload-child-signals.phpt | 39 …* [22-Oct-2019 03:28:19.532703] DEBUG: pid 21315, fpm_pctl_kill_all(), line 161: [pool unconfi… 40 …* [22-Oct-2019 03:28:19.533471] DEBUG: pid 21315, fpm_children_bury(), line 259: [pool unconfi…
|
H A D | status-basic.phpt | 21 'pool' => 'unconfined',
|
H A D | bug80024-socket-reduced-inherit.phpt | 2 FPM: bug80024 - Duplication of info about inherited socket after pool removing
|
H A D | status-listen.phpt | 22 'pool' => 'unconfined',
|
H A D | status.inc | 24 'pool' => '\w+', 234 …$pattern = "(# HELP phpfpm_up Could pool " . $fields['pool'] . " using a " . $fields['process mana… 240 "# HELP phpfpm_accepted_connections The number of requests accepted by the pool\.\n" .
|
/php-src/sapi/apache2handler/ |
H A D | sapi_apache2.c | 159 ctx->r->status_line = apr_pstrdup(ctx->r->pool, sline + 9); in php_apache_sapi_send_headers() 171 ap_set_content_type(ctx->r, apr_pstrdup(ctx->r->pool, ctx->content_type)); in php_apache_sapi_send_headers() 472 apr_pool_userdata_get(&data, userdata_key, s->process->pool); in php_apache_server_startup() 525 SG(request_info).query_string = apr_pstrdup(r->pool, r->args); in php_apache_request_ctor() 528 SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri); in php_apache_request_ctor() 529 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor() 551 ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); in php_apache_request_ctor() 579 apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup); in php_apache_ini_dtor() 607 ctx = SG(server_context) = apr_pcalloc(r->pool, sizeof(*ctx)); in php_handler() 667 brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc); in php_handler() [all …]
|
H A D | apache_config.c | 70 e.value = apr_pstrdup(cmd->pool, value); in real_value_hnd() 118 apache2_php_ini_path_override = ap_server_root_relative(cmd->pool, arg); in php_apache_phpini_set()
|
/php-src/sapi/fpm/ |
H A D | www.conf.in | 1 ; Start a new pool named 'www'. 3 ; pool name ('www' here) 6 ; Per pool prefix 18 ;prefix = /path/to/pools/$pool 163 ; pool - the name of the pool; 183 ; pool: www 295 ;access.log = log/$pool.access.log 327 ; %n: pool name 375 ;slowlog = log/$pool.log.slow 444 ; pool configuration are added. [all …]
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug35336.phpt | 13 $a = new PDO("sqlite::memory:");// pool ("sqlite::memory:");
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_scoreboard.c | 66 strlcpy(wp->scoreboard->pool, wp->config->name, sizeof(wp->scoreboard->pool)); in fpm_scoreboard_init_main() 483 zlog(ZLOG_DEBUG, "[pool %s] the proc->free_slot was not free. Let's search", scoreboard->pool); in fpm_scoreboard_proc_alloc() 493 zlog(ZLOG_ERROR, "[pool %s] no free scoreboard slot", scoreboard->pool); in fpm_scoreboard_proc_alloc()
|
H A D | fpm_status.c | 84 add_assoc_string(status, "pool", scoreboard.pool); in fpm_status_export_to_zval() 205 zlog(ZLOG_ERROR, "[pool %s] invalid status values", scoreboard_p->pool); in fpm_status_handle_request() 497 scoreboard_p->pool, in fpm_status_handle_request() 514 scoreboard_p->pool, in fpm_status_handle_request()
|
H A D | fpm_scoreboard.h | 59 char pool[32]; member
|
H A D | fpm_log.c | 144 …_WARNING, "[pool %s] Unable to acquire shm slot while preparing the access log", scoreboard->pool); in fpm_log_write() 303 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", scoreboard->pool[0] ? scoreboard->pool : "-"); in fpm_log_write()
|