Searched defs:process (Results 1 - 7 of 7) sorted by relevance

/dovecot/src/master/
H A Dservice-process-notify.c8 #include "service-process.h"
9 #include "service-process-notify.h"
37 struct service_process *const *processes, *process; local
46 process = processes[aqueue_idx(notify->process_queue, i)];
47 service_process_unref(process);
57 struct service_process *const *processes, *process; local
61 process = processes[aqueue_idx(notify->process_queue, 0)];
63 if (notify->write_callback(notify->fd, process) < 0) {
68 service_process_unref(process);
88 struct service_process *process)
87 service_process_notify_add(struct service_process_notify *notify, struct service_process *process) argument
[all...]
H A Dservice-log.c9 #include "service-process.h"
10 #include "service-process-notify.h"
52 service_process_write_log_bye(int fd, struct service_process *process) argument
56 if (process->service->log_process_internal_fd == -1) {
57 /* another log process was just destroyed */
62 process->service->log_process_internal_fd,
63 dec2str(process->pid));
66 i_error("write(log process) failed: %m");
H A Dmaster-client.c10 #include "service-process.h"
52 const struct service_process *process)
54 str_append_tabescaped(str, process->service->set->name);
56 (long)process->pid, process->available_count,
57 process->total_count, (long)process->idle_start,
58 (long)process->last_status_update,
59 (long)process->last_kill_sent);
51 master_client_process_output(string_t *str, const struct service_process *process) argument
H A Dservice-anvil.c7 #include "service-process.h"
8 #include "service-process-notify.h"
78 service_process_write_anvil_kill(int fd, struct service_process *process) argument
82 data = t_strdup_printf("KILL\t%s\n", dec2str(process->pid));
85 i_error("write(anvil process) failed: %m");
103 void service_anvil_process_created(struct service_process *process) argument
108 service_anvil_global->pid = process->pid;
109 service_anvil_global->uid = process->uid;
115 service_error(process->service, "%s", error);
118 void service_anvil_process_destroyed(struct service_process *process) argument
[all...]
H A Dservice-monitor.c12 #include "service-process.h"
13 #include "service-process-notify.h"
30 static void service_status_more(struct service_process *process,
34 static void service_process_kill_idle(struct service_process *process) argument
36 struct service *service = process->service;
39 i_assert(process->available_count == service->client_limit);
43 timeout_remove(&process->to_idle);
44 } else if (process->last_kill_sent > process->last_status_update+1) {
46 dec2str(process
61 service_status_more(struct service_process *process, const struct master_status *status) argument
89 service_status_less(struct service_process *process, const struct master_status *status) argument
123 struct service_process *process; local
590 struct service_process *process = service->processes; local
658 service_process_failure(struct service_process *process, int status) argument
684 struct service_process *process; local
[all...]
H A Dservice-process.c18 #include "restrict-process-size.h"
27 #include "service-process-notify.h"
28 #include "service-process.h"
213 on config process */
271 static void service_process_status_timeout(struct service_process *process) argument
273 service_error(process->service,
275 "seconds, killing the process",
277 if (kill(process->pid, SIGKILL) < 0 && errno != ESRCH) {
278 service_error(process->service, "kill(%s, SIGKILL) failed: %m",
279 dec2str(process
287 struct service_process *process; local
367 service_process_destroy(struct service_process *process) argument
395 service_process_ref(struct service_process *process) argument
402 service_process_unref(struct service_process *process) argument
499 service_process_get_status_error(string_t *str, struct service_process *process, int status, bool *default_fatal_r) argument
534 service_process_log(struct service_process *process, bool default_fatal, const char *str) argument
557 service_process_log_status_error(struct service_process *process, int status) argument
[all...]
H A Dservice.c14 #include "service-process.h"
480 *error_r = "config process not specified";
504 struct service_process *process = service->processes; local
508 for (; process != NULL; process = process->next) {
509 i_assert(process->service == service);
511 if (!SERVICE_PROCESS_IS_INITIALIZED(process) &&
518 if (kill(process->pid, signo) == 0)
522 dec2str(process
741 struct service_process *process; local
[all...]

Completed in 1797 milliseconds