Home
last modified time | relevance | path

Searched refs:zlog (Results 1 – 25 of 31) sorted by relevance

12

/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_unix.c84 zlog(ZLOG_SYSERROR, "[pool %s] cannot allocate ACL", wp->config->name); in fpm_unix_resolve_socket_premissions()
100 zlog(ZLOG_SYSERROR, "[pool %s] cannot get uid for user '%s'", wp->config->name, p); in fpm_unix_resolve_socket_premissions()
233 zlog(ZLOG_DEBUG, "[pool %s] ACL of the socket '%s' is set", wp->config->name, path); in fpm_unix_set_socket_premissions()
375 zlog(ZLOG_WARNING, "[pool %s] failed to chdir(/)", wp->config->name); in fpm_unix_init_child()
501 zlog(ZLOG_SYSERROR, "failed to create pipe"); in fpm_unix_init_main()
510 zlog(ZLOG_SYSERROR, "failed to daemonize"); in fpm_unix_init_main()
534 zlog(ZLOG_SYSERROR, "failed to select"); in fpm_unix_init_main()
541 zlog(ZLOG_SYSERROR, "failed to read from pipe"); in fpm_unix_init_main()
546 zlog(ZLOG_ERROR, "no data have been read from pipe"); in fpm_unix_init_main()
554 zlog(ZLOG_DEBUG, "The master process returned an error !"); in fpm_unix_init_main()
[all …]
H A Dfpm_conf.c1219 zlog(ZLOG_SYSERROR, "Unable to write to the PID file."); in fpm_conf_write_pid()
1251 zlog(ZLOG_ERROR, "process_max can't be negative"); in fpm_conf_post_process()
1580 zlog(ZLOG_ERROR, "configuration filename is empty"); in fpm_conf_load_ini_file()
1664 zlog(ZLOG_NOTICE, "[global]"); in fpm_conf_dump()
1679 zlog(ZLOG_NOTICE, "\tprocess.priority = undefined"); in fpm_conf_dump()
1690 zlog(ZLOG_NOTICE, " "); in fpm_conf_dump()
1714 zlog(ZLOG_NOTICE, "\tprocess.priority = undefined"); in fpm_conf_dump()
1747 zlog(ZLOG_NOTICE, "\tenv[%s] = %s", kv->key, kv->value); in fpm_conf_dump()
1751 zlog(ZLOG_NOTICE, "\tphp_value[%s] = %s", kv->key, kv->value); in fpm_conf_dump()
1757 zlog(ZLOG_NOTICE, " "); in fpm_conf_dump()
[all …]
H A Dfpm_systemd.c41 zlog(ZLOG_NOTICE, "failed to notify status to systemd"); in fpm_systemd()
65 zlog(ZLOG_WARNING, "failed to notify start to systemd"); in fpm_systemd_heartbeat()
67 zlog(ZLOG_DEBUG, "have notify start to systemd"); in fpm_systemd_heartbeat()
74 zlog(ZLOG_NOTICE, "systemd monitor interval set to %dms", fpm_global_config.systemd_interval); in fpm_systemd_heartbeat()
76 zlog(ZLOG_NOTICE, "systemd monitor disabled"); in fpm_systemd_heartbeat()
90 zlog(ZLOG_DEBUG, "WATCHDOG_USEC=%s, interval=%d", watchdog, interval); in fpm_systemd_conf()
95 zlog(ZLOG_WARNING, "systemd_interval option ignored"); in fpm_systemd_conf()
97 zlog(ZLOG_NOTICE, "systemd watchdog configured to %.3gsec", (float)interval / 1000.0); in fpm_systemd_conf()
H A Dfpm_signals.c149 zlog(ZLOG_WARNING, "failed to create a new socket"); in sig_soft_quit()
190 zlog(ZLOG_SYSERROR, "failed to init signals: socketpair()"); in fpm_signals_init_main()
195 zlog(ZLOG_SYSERROR, "failed to init signals: fd_set_blocked()"); in fpm_signals_init_main()
200 zlog(ZLOG_SYSERROR, "failed to init signals: fcntl(F_SETFD, FD_CLOEXEC)"); in fpm_signals_init_main()
215 zlog(ZLOG_SYSERROR, "failed to init signals: sigaction()"); in fpm_signals_init_main()
219 zlog(ZLOG_DEBUG, "Unblocking all signals"); in fpm_signals_init_main()
248 zlog(ZLOG_SYSERROR, "failed to init child signals: sigaction()"); in fpm_signals_init_child()
275 zlog(ZLOG_SYSERROR, "failed to prepare signal block mask: sigemptyset()"); in fpm_signals_init_mask()
302 zlog(ZLOG_SYSERROR, "failed to block signals"); in fpm_signals_block()
311 zlog(ZLOG_SYSERROR, "failed to block child signals"); in fpm_signals_child_block()
[all …]
H A Dfpm_events.c82 zlog(ZLOG_DEBUG, "received SIGCHLD"); in fpm_got_signal()
91 zlog(ZLOG_DEBUG, "received SIGINT"); in fpm_got_signal()
92 zlog(ZLOG_NOTICE, "Terminating ..."); in fpm_got_signal()
96 zlog(ZLOG_DEBUG, "received SIGTERM"); in fpm_got_signal()
97 zlog(ZLOG_NOTICE, "Terminating ..."); in fpm_got_signal()
101 zlog(ZLOG_DEBUG, "received SIGQUIT"); in fpm_got_signal()
102 zlog(ZLOG_NOTICE, "Finishing ..."); in fpm_got_signal()
106 zlog(ZLOG_DEBUG, "received SIGUSR1"); in fpm_got_signal()
113 zlog(ZLOG_NOTICE, "error log file re-opened"); in fpm_got_signal()
131 zlog(ZLOG_DEBUG, "received SIGUSR2"); in fpm_got_signal()
[all …]
H A Dfpm_shm.c26 zlog(ZLOG_SYSERROR, "unable to allocate %zu bytes in shared memory: %s", size, strerror(errno)); in fpm_shm_alloc()
32 zlog(ZLOG_SYSERROR, "unable to allocate %zu bytes in shared memory", size); in fpm_shm_alloc()
44 zlog(ZLOG_ERROR, "mem is NULL"); in fpm_shm_free()
49 zlog(ZLOG_SYSERROR, "Unable to free shm"); in fpm_shm_free()
H A Dfpm_trace_ptrace.c30 zlog(ZLOG_SYSERROR, "failed to ptrace(ATTACH) child %d", pid); in fpm_trace_signal()
47 zlog(ZLOG_SYSERROR, "failed to ptrace(DETACH) child %d", pid); in fpm_trace_close()
66 zlog(ZLOG_SYSERROR, "failed to ptrace(PT_IO) pid %d", traced_pid); in fpm_trace_get_long()
73 zlog(ZLOG_SYSERROR, "failed to ptrace(PEEKDATA) pid %d", traced_pid); in fpm_trace_get_long()
H A Dfpm_process_ctl.c69 zlog(ZLOG_NOTICE, "exiting, bye-bye!"); in fpm_pctl_exit()
80 zlog(ZLOG_DEBUG, "Blocking some signals before reexec"); in fpm_pctl_exec()
82 zlog(ZLOG_WARNING, "concurrent reloads may be unstable"); in fpm_pctl_exec()
85 zlog(ZLOG_NOTICE, "reloading: execvp(\"%s\", {\"%s\"" in fpm_pctl_exec()
107 zlog(ZLOG_SYSERROR, "failed to reload: execvp() failed"); in fpm_pctl_exec()
163 zlog(ZLOG_DEBUG, "[pool %s] sending signal %d %s to child %d", in fpm_pctl_kill_all()
174 zlog(ZLOG_DEBUG, "%d child(ren) still alive", alive_children); in fpm_pctl_kill_all()
228 zlog(ZLOG_DEBUG, "not switching to '%s' state, because already in '%s' state", in fpm_pctl()
236 zlog(ZLOG_DEBUG, "switching to '%s' state", fpm_state_names[fpm_state]); in fpm_pctl()
475 zlog(ZLOG_DEBUG, "heartbeat have been set up with a timeout of %dms", fpm_globals.heartbeat); in fpm_pctl_heartbeat()
[all …]
H A Dfpm_clock.c37 zlog(ZLOG_SYSERROR, "clock_gettime() failed"); in fpm_clock_get()
69 zlog(ZLOG_ERROR, "host_get_clock_service() failed: %s", mach_error_string(ret)); in fpm_clock_init()
77 zlog(ZLOG_ERROR, "clock_get_time() failed: %s", mach_error_string(ret)); in fpm_clock_init()
92 zlog(ZLOG_ERROR, "clock_get_time() failed: %s", mach_error_string(ret)); in fpm_clock_get()
H A Dfpm_trace_pread.c23 zlog(ZLOG_SYSERROR, "failed to send SIGSTOP to %d", pid); in fpm_trace_signal()
37 zlog(ZLOG_SYSERROR, "failed to open %s", buf); in fpm_trace_ready()
55 zlog(ZLOG_SYSERROR, "pread() failed"); in fpm_trace_get_long()
H A Dfpm_stdio.c31 zlog(ZLOG_SYSERROR, "failed to init stdio: open(\"/dev/null\")"); in fpm_stdio_init_main()
36 zlog(ZLOG_SYSERROR, "failed to init stdio: dup2()"); in fpm_stdio_init_main()
80 zlog(ZLOG_DEBUG, "saving original STDERR fd: dup()");
94 zlog(ZLOG_DEBUG, "restoring original STDERR fd: dup2()");
116 zlog(ZLOG_SYSERROR, "failed to tie stderr fd with error_log fd: dup2()");
271 zlog(ZLOG_SYSERROR, "unable to read what child say");
294 zlog(ZLOG_SYSERROR, "failed to prepare the stdout pipe");
299 zlog(ZLOG_SYSERROR, "failed to prepare the stderr pipe");
306 zlog(ZLOG_SYSERROR, "failed to unblock pipes");
384 zlog(ZLOG_SYSERROR, "failed to open error_log (%s)", fpm_global_config.error_log);
[all …]
H A Dfpm_log.c45 zlog(ZLOG_SYSERROR, "failed to open access log (%s)", wp->config->access_log); in fpm_log_open()
48 zlog(ZLOG_DEBUG, "open access log (%s)", wp->config->access_log); in fpm_log_open()
61 zlog(ZLOG_WARNING, "failed to change attribute of access_log"); in fpm_log_open()
129 zlog(ZLOG_WARNING, "unable to get scoreboard while preparing the access log"); in fpm_log_write()
134zlog(ZLOG_WARNING, "[pool %s] Unable to acquire shm slot while preparing the access log", scoreboa… in fpm_log_write()
153zlog(ZLOG_NOTICE, "the log buffer is full (%d). The access log request has been truncated.", FPM_L… in fpm_log_write()
229zlog(ZLOG_WARNING, "the name of the environment variable must be set between embraces for %%%c", *… in fpm_log_write()
292 zlog(ZLOG_WARNING, "the name of the header must be set between embraces for %%%c", *s); in fpm_log_write()
429 zlog(ZLOG_WARNING, "missing closing embrace in the access.format"); in fpm_log_write()
436 zlog(ZLOG_WARNING, "Invalid token in the access.format (%%%c)", *s); in fpm_log_write()
[all …]
H A Dfpm_children.c160 zlog(ZLOG_ERROR, "[pool %s] child failed to initialize", wp->config->name); in fpm_child_init()
233 zlog(ZLOG_NOTICE, "child %d stopped for tracing", (int) pid); in fpm_children_bury()
301zlog(ZLOG_ALERT, "oops, unknown child (%d) exited %s. Please open a bug report (https://github.com… in fpm_children_bury()
313 zlog(ZLOG_ERROR, "[pool %s] unable to malloc new child", wp->config->name); in fpm_resources_prepare()
405 zlog(ZLOG_DEBUG, "blocking signals before child birth"); in fpm_children_make()
407 zlog(ZLOG_WARNING, "child may miss signals"); in fpm_children_make()
421 zlog(ZLOG_DEBUG, "unblocking signals"); in fpm_children_make()
423 zlog(ZLOG_SYSERROR, "fork() failed"); in fpm_children_make()
429 zlog(ZLOG_DEBUG, "unblocking signals, child born"); in fpm_children_make()
435zlog(is_debug ? ZLOG_DEBUG : ZLOG_NOTICE, "[pool %s] child %d started", wp->config->name, (int) pi… in fpm_children_make()
[all …]
H A Dfpm_trace_mach.c37 zlog(ZLOG_ERROR, "failed to read vm page: mach_vm_read(): %s (%d)", mach_error_string(kr), kr); in fpm_mach_vm_read_page()
47 zlog(ZLOG_SYSERROR, "failed to send SIGSTOP to %d", pid); in fpm_trace_signal()
65 zlog(ZLOG_ERROR, "task_for_pid() failed: %s (%d)%s", mach_error_string(kr), kr, msg); in fpm_trace_ready()
H A Dfpm_request.c48 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard"); in fpm_request_accepting()
80 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard"); in fpm_request_reading_headers()
119 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard"); in fpm_request_info()
162 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard"); in fpm_request_executing()
187 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard"); in fpm_request_end()
213 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard"); in fpm_request_finished()
228 zlog(ZLOG_WARNING, "failed to acquire scoreboard"); in fpm_request_check_timed_out()
261zlog(ZLOG_WARNING, "[pool %s] child %d, script '%s' (request: \"%s %s%s%s\") executing too slow (%… in fpm_request_check_timed_out()
272zlog(ZLOG_WARNING, "[pool %s] child %d, script '%s' (request: \"%s %s%s%s\") execution timed out (… in fpm_request_check_timed_out()
H A Dfpm_sockets.c209 zlog(ZLOG_SYSERROR, "failed to create new listening socket: socket()"); in fpm_sockets_new_listening_socket()
214 zlog(ZLOG_WARNING, "failed to change socket attribute"); in fpm_sockets_new_listening_socket()
228zlog(ZLOG_SYSERROR, "unable to bind listening socket for address '%s'", wp->config->listen_address… in fpm_sockets_new_listening_socket()
248 zlog(ZLOG_SYSERROR, "failed to listen to address '%s'", wp->config->listen_address); in fpm_sockets_new_listening_socket()
298 zlog(ZLOG_ERROR, "getaddrinfo: %s\n", gai_strerror(status)); in fpm_socket_af_inet_socket_by_addr()
306 zlog(ZLOG_DEBUG, "Found address for %s, socket opened on %s", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr()
309 zlog(ZLOG_WARNING, "Found multiple addresses for %s, %s ignored", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr()
346 zlog(ZLOG_ERROR, "invalid port value '%s'", port_str); in fpm_socket_af_inet_listening_socket()
367 zlog(ZLOG_NOTICE, "Failed implicitly binding to ::, retrying with 0.0.0.0"); in fpm_socket_af_inet_listening_socket()
430 zlog(ZLOG_NOTICE, "using inherited socket fd=%d, \"%s\"", fd_no, sockpath); in fpm_sockets_init_main()
[all …]
H A Dfpm.c72 zlog(ZLOG_ERROR, "FPM initialization failed"); in fpm_init()
78 zlog(ZLOG_ERROR, "FPM initialization failed"); in fpm_init()
83 zlog(ZLOG_NOTICE, "fpm is running, pid %d", (int) fpm_globals.parent_pid); in fpm_init()
H A Dfpm_scoreboard.c38 zlog(ZLOG_DEBUG, "got clock tick '%.0f'", fpm_scoreboard_tick); in fpm_scoreboard_init_main()
47zlog(ZLOG_ERROR, "[pool %s] Unable to create scoreboard SHM because max_client is not set", wp->co… in fpm_scoreboard_init_main()
52zlog(ZLOG_ERROR, "[pool %s] Unable to create scoreboard SHM because it already exists", wp->config… in fpm_scoreboard_init_main()
82 zlog(ZLOG_WARNING, "Unable to update scoreboard: the SHM has not been found"); in fpm_scoreboard_get_for_update()
281 zlog(ZLOG_ERROR, "scoreboard: failed to allocate memory for copy"); in fpm_scoreboard_copy()
290 zlog(ZLOG_ERROR, "scoreboard: failed to lock (already locked)"); in fpm_scoreboard_copy()
348 zlog(ZLOG_ERROR, "**scoreboard is NULL"); in fpm_scoreboard_free()
414 zlog(ZLOG_DEBUG, "[pool %s] the proc->free_slot was not free. Let's search", scoreboard->pool); in fpm_scoreboard_proc_alloc()
424 zlog(ZLOG_ERROR, "[pool %s] no free scoreboard slot", scoreboard->pool); in fpm_scoreboard_proc_alloc()
H A Dfpm_php_trace.c196 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid); in fpm_php_trace()
201 zlog(ZLOG_SYSERROR, "unable to open slowlog (%s)", child->wp->config->slowlog); in fpm_php_trace()
224 zlog(ZLOG_NOTICE, "finished trace of %d", (int) child->pid); in fpm_php_trace()
/PHP-8.0/sapi/fpm/fpm/events/
H A Dport.c70 zlog(ZLOG_ERROR, "port: unable to initialize port_create()"); in fpm_event_port_init()
81 zlog(ZLOG_ERROR, "port: Unable to allocate %d events", max); in fpm_event_port_init()
131 zlog(ZLOG_WARNING, "poll() returns %d", errno); in fpm_event_port_wait()
178 zlog(ZLOG_ERROR, "port: unable to add the event"); in fpm_event_port_add()
192 zlog(ZLOG_ERROR, "port: unable to add the event"); in fpm_event_port_remove()
H A Ddevpoll.c75 zlog(ZLOG_ERROR, "Unable to open /dev/poll"); in fpm_event_devpoll_init()
86 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_devpoll_init()
100 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_devpoll_init()
160 zlog(ZLOG_WARNING, "/dev/poll: ioctl() returns %d", errno); in fpm_event_devpoll_wait()
206 zlog(ZLOG_ERROR, "/dev/poll: Unable to add the event in the internal queue"); in fpm_event_devpoll_add()
231 zlog(ZLOG_ERROR, "/dev/poll: Unable to remove the event in the internal queue"); in fpm_event_devpoll_remove()
H A Dkqueue.c78 zlog(ZLOG_ERROR, "kqueue: unable to initialize"); in fpm_event_kqueue_init()
84 zlog(ZLOG_ERROR, "epoll: unable to allocate %d events", max); in fpm_event_kqueue_init()
133 zlog(ZLOG_WARNING, "epoll_wait() returns %d", errno); in fpm_event_kqueue_wait()
169 zlog(ZLOG_ERROR, "kevent: unable to add event"); in fpm_event_kqueue_add()
194 zlog(ZLOG_ERROR, "kevent: unable to delete event"); in fpm_event_kqueue_remove()
H A Depoll.c72 zlog(ZLOG_ERROR, "epoll: unable to initialize"); in fpm_event_epoll_init()
79 zlog(ZLOG_ERROR, "epoll: unable to allocate %d events", max); in fpm_event_epoll_init()
127 zlog(ZLOG_WARNING, "epoll_wait() returns %d", errno); in fpm_event_epoll_wait()
175 zlog(ZLOG_ERROR, "epoll: unable to add fd %d", ev->fd); in fpm_event_epoll_add()
203 zlog(ZLOG_ERROR, "epoll: unable to remove fd %d", ev->fd); in fpm_event_epoll_remove()
H A Dpoll.c78 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_poll_init()
92 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_poll_init()
142 zlog(ZLOG_WARNING, "poll() returns %d", errno); in fpm_event_poll_wait()
216 zlog(ZLOG_ERROR, "poll: not enough space to add event (fd=%d)", ev->fd); in fpm_event_poll_add()
264 zlog(ZLOG_ERROR, "poll: unable to remove event: not found (fd=%d, index=%d)", ev->fd, ev->index); in fpm_event_poll_remove()
H A Dselect.c101 zlog(ZLOG_WARNING, "poll() returns %d", errno); in fpm_event_select_wait()
141zlog(ZLOG_ERROR, "select: not enough space in the select fd list (max = %d). Please consider using… in fpm_event_select_add()

Completed in 51 milliseconds

12