Searched refs:process (Results 1 - 25 of 38) sorted by relevance

12

/httpd/server/
H A Dmain.c92 printf("yes (variable process count)\n");
95 printf("yes (fixed process count)\n");
265 static void destroy_and_exit_process(process_rec *process, argument
271 * process their input. Otherwise it is possible that they get killed
279 const char *name = process->short_name ? process->short_name : "httpd";
283 apr_pool_destroy(process->pool); /* and destroy all descendent pools */
300 process_rec *process; local
331 apr_pool_tag(cntx, "process");
336 * of this server process
350 usage(process_rec *process) argument
468 process_rec *process; local
[all...]
H A Dlisten.c292 static int find_systemd_socket(process_rec * process, apr_port_t port) argument
298 ap_log_perror(APLOG_MARK, APLOG_CRIT, sdc, process->pool, APLOGNO(02486)
305 ap_log_perror(APLOG_MARK, APLOG_CRIT, sdc, process->pool, APLOGNO(02487)
320 static apr_status_t alloc_systemd_listener(process_rec * process, argument
337 ap_log_perror(APLOG_MARK, APLOG_CRIT, rv, process->pool, APLOGNO(02489)
348 rec = apr_palloc(process->pool, sizeof(ap_listen_rec));
352 rv = apr_os_sock_make(&rec->sd, &si, process->pool);
354 ap_log_perror(APLOG_MARK, APLOG_CRIT, rv, process->pool, APLOGNO(02490)
361 ap_log_perror(APLOG_MARK, APLOG_CRIT, rv, process->pool, APLOGNO(02491)
366 rec->protocol = apr_pstrdup(process
373 set_systemd_listener(process_rec *process, apr_port_t port, const char *proto) argument
407 alloc_listener(process_rec *process, char *addr, apr_port_t port, const char* proto, void *slave) argument
[all...]
H A Dmpm_unix.c24 * specific to multi-process servers, but NOT to Unix. Which is why it
108 /* we don't know about any such process */
141 "child process %" APR_PID_T_FMT
151 "child process %" APR_PID_T_FMT
166 "could not make child process %" APR_PID_T_FMT
313 * the pid is a member of the current process group; either using
362 "process group", sig, (long)pid);
853 void ap_mpm_rewrite_args(process_rec *process) argument
861 mpm_new_argv = apr_array_make(process->pool, process
[all...]
H A Dconfig.c753 AP_DECLARE(const char *) ap_setup_prelinked_modules(process_rec *process) argument
759 apr_hook_global_pool=process->pconf;
761 rebuild_conf_hash(process->pconf, 0);
776 ap_loaded_modules = (module **)apr_palloc(process->pool,
797 error = ap_add_module(*m, process->pconf, NULL);
1747 rebuild_conf_hash(s->process->pconf, 1);
1924 /* optimisation - if the filename isn't a wildcard, process it directly */
2187 s->process = main_server->process;
2314 static server_rec *init_server_config(process_rec *process, apr_pool_ argument
2391 ap_read_config(process_rec *process, apr_pool_t *ptemp, const char *filename, ap_directive_t **conftree) argument
2463 ap_run_rewrite_args(process_rec *process) argument
[all...]
H A Dlog.c45 #include <process.h> /* for getpid() on Win32 */
104 /* track pipe handles to close in child process */
121 /** The pipe between the server and the logging process */
124 /** The name of the program the logging process is running */
126 /** The pid of the logging process */
143 /* remember to close this handle in the child process
146 * take the parent process's child procs.
241 /* Create a child process running PROGNAME with a pipe connected to
250 /* Child process code for 'ErrorLog "|..."';
328 "Couldn't start ErrorLog process '
1467 process_rec *process = s->process; local
[all...]
H A Dmpm_common.c24 * specific to multi-process servers, but NOT to Unix. Which is why it
498 geninfo = apr_pcalloc(s->process->pool, sizeof *geninfo);
499 unused_geninfo = apr_pcalloc(s->process->pool, sizeof *unused_geninfo);
521 cur = apr_pcalloc(s->process->pool, sizeof *cur);
/httpd/server/mpm/winnt/
H A Dmpm_winnt.c161 * we use "events" instead. The parent apache process goes into a loop
168 * (where PID is the PID of the apache parent process). When one of these
178 * It can be called by any child or parent process, since it does not
310 if ((rv = apr_os_proc_mutex_put(child_start_mutex, &os_start, s->process->pool))
325 if ((rv = apr_os_shm_put(scoreboard_shm, &hScore, s->process->pool))
332 rv = ap_reopen_scoreboard(s->process->pool, scoreboard_shm, 1);
339 * process-local pointer arrays into the shared memory block.
430 * exclusively in the child process, receives them from the parent and
444 lr = apr_palloc(s->process->pool, sizeof(ap_listen_rec));
450 /* Open the pipe to the parent process t
990 winnt_rewrite_args(process_rec *process) argument
[all...]
/httpd/modules/generators/
H A Dmod_suexec.c97 s->process->pool);
104 apr_pool_cleanup_null, s->process->pool);
H A Dmod_cgid.c152 * in the queue while the cgid process slowly forks off a child to process
154 * httpd process will get ECONNREFUSED when trying to connect.
161 * to the cgi daemon from the thread/process handling the cgi request.
205 * process to be cleaned up
229 * Do not process the args if they containing an '=' assignment.
305 "cgid daemon process died, restarting");
315 /* Restart the child cgid daemon process */
767 * pipe between this process and the child being created...
797 "couldn't set child process attribute
[all...]
/httpd/docs/log-message-tags/
H A Dupdate-log-msg-tags17 process($file);
30 sub process subroutine
/httpd/server/mpm/netware/
H A Dmpm_netware.c289 * in the parent process, unless running in ONE_PROCESS mode
321 * Child process main loop.
463 /* If we got a new socket, set it to non-blocking mode and process
882 if (ap_run_pre_mpm(s->process->pool, SB_NOT_SHARED) != OK) {
1109 static void netware_rewrite_args(process_rec *process) argument
1124 /* Rewrite process->argv[];
1131 if (process->argc > 0) {
1132 char *s = apr_pstrdup (process->pconf, process->argv[0]);
1140 APR_FILEPATH_TRUENAME, process
[all...]
/httpd/modules/proxy/examples/
H A Dmod_lbmethod_rr.c59 ctx = apr_pcalloc(r->server->process->pconf, sizeof(rr_data));
/httpd/modules/ssl/
H A Dssl_engine_mutex.c39 * the provider used is not internally multi-process/thread
51 NULL, s, s->process->pool, 0))
H A Dssl_engine_log.c72 ap_server_root_relative(s->process->pool,
/httpd/modules/loggers/
H A Dmod_journald.c73 if (info->s && info->s->process && info->s->process->pool)
74 return info->s->process->pool;
/httpd/modules/lua/
H A Dlua_vmprep.c445 r->server->process->pool) == APR_SUCCESS) {
454 ap_lua_vm_spec* server_spec = copy_vm_spec(r->server->process->pool, spec);
459 server_spec, r->server->process->pool)
462 r->server->process->pool);
/httpd/server/mpm/mpmt_os2/
H A Dmpmt_os2.c17 /* Multi-process, multi-threaded MPM for OS/2
20 * - a main, parent process
23 * The parent process's job is to manage the child processes. This involves
27 * Each child process consists of a a pool of worker threads and a
58 #include <process.h>
65 /* Limit on the total number of threads per process
127 /* Child process */
135 ap_listen_rec *lr = apr_pcalloc(s->process->pool, sizeof(ap_listen_rec));
138 DEFAULT_HTTP_PORT, 0, s->process->pool);
140 SOCK_STREAM, 0, s->process
[all...]
H A Dmpmt_os2_child.c37 #include <process.h>
48 /* Limit on the total number of threads per process
331 /* Shut down process ASAP, it could be quite unhealthy & leaking resources */
363 /* Trap exceptions in this thread so we don't take down the whole process */
/httpd/modules/arch/netware/
H A Dmod_nw_ssl.c498 new = apr_pcalloc(cmd->server->process->pool, sizeof(seclisten_rec));
503 addr = apr_pstrdup(cmd->server->process->pool, "0.0.0.0");
507 addr = apr_pstrdup(cmd->server->process->pool, ips);
697 process all of the sockets normally */
787 sl->fd = make_secure_socket(s->process->pool, &sl->local_addr, sl->key, sl->mutual, s);
798 apr_os_sock_make(&sd, &sock_info, s->process->pool);
800 lr = apr_pcalloc(s->process->pool, sizeof(ap_listen_rec));
805 s->process->pool)) != APR_SUCCESS) {
812 apr_pool_cleanup_register(s->process->pool, lr, nwssl_socket_cleanup, apr_pool_cleanup_null);
834 build_cert_list(s->process
[all...]
/httpd/include/
H A Dhttp_config.h367 * @param The process that the server is running in.
369 void (*rewrite_args) (process_rec *process);
963 * @param process The process that is currently running the server
965 AP_DECLARE(const char *) ap_setup_prelinked_modules(process_rec *process); variable
987 * @param process The process running the server
993 AP_DECLARE(server_rec *) ap_read_config(process_rec *process,
1000 * @param process The process currentl
1002 AP_DECLARE(void) ap_run_rewrite_args(process_rec *process); variable
[all...]
H A Dhttpd.h315 * MPM child process exit status values
316 * The MPM parent process may check the status to see if special
333 * If a child exits with this error, the parent process
746 * given a request_rec r you can write r->connection->server->process
753 /** A structure that represents one process */
771 * @brief A structure that represents one process
1170 /** This points to the current thread being used to process this request,
1264 /** The process this server is running in */
1265 process_rec *process; member in struct:server_rec
1357 /* percentage of process/thread
[all...]
/httpd/modules/session/
H A Dmod_session_crypto.c352 apr_pool_userdata_get((void **)&f, CRYPTO_KEY, r->server->process->pconf);
384 r->server->process->pconf);
460 apr_pool_cleanup_null, s->process->pconf);
/httpd/server/mpm/simple/
H A Dsimple_api.c36 if (ap_run_pre_mpm(s->process->pool, SB_SHARED) != OK) {
/httpd/modules/debugging/
H A Dmod_firehose.c181 * Each packet is marked with the UUID of the connection so that the process that
469 apr_pool_userdata_get(&data, "mod_firehose", s->process->pool);
472 apr_pool_cleanup_null, s->process->pool);
/httpd/modules/examples/
H A Dmod_example_hooks.c432 * with a constant key, since in prefork mode the process will have
752 * this routine will be called twice, once in the startup process (which
753 * exits shortly after this phase) and once in the running server process.
771 * It executes only once, in the startup process, after the check_config
772 * phase and just before the process exits. At this point the module
808 * process. At this point the module may review and adjust its configuration
810 * this routine will be called only once, in the running server process.
827 * All our process-death routine does is add its trace to the log.
840 note = apr_pstrcat(s->process->pool, "x_child_exit(", sname, ")", NULL);
841 trace_startup(s->process
[all...]

Completed in 86 milliseconds

12