Home
last modified time | relevance | path

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

12

/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_unix.c182 zlog(ZLOG_SYSERROR, "[pool %s] failed to chdir(%s)", wp->config->name, wp->config->chdir); in fpm_unix_init_child()
200 zlog(ZLOG_SYSERROR, "[pool %s] failed to setgid(%d)", wp->config->name, wp->set_gid); in fpm_unix_init_child()
210 zlog(ZLOG_SYSERROR, "[pool %s] failed to setuid(%d)", wp->config->name, wp->set_uid); in fpm_unix_init_child()
218 zlog(ZLOG_SYSERROR, "[pool %s] failed to prctl(PR_SET_DUMPABLE)", wp->config->name); in fpm_unix_init_child()
275 zlog(ZLOG_SYSERROR, "failed to create pipe"); in fpm_unix_init_main()
284 zlog(ZLOG_SYSERROR, "failed to daemonize"); in fpm_unix_init_main()
308 zlog(ZLOG_SYSERROR, "failed to select"); in fpm_unix_init_main()
315 zlog(ZLOG_SYSERROR, "failed to read from pipe"); in fpm_unix_init_main()
320 zlog(ZLOG_ERROR, "no data have been read from pipe"); in fpm_unix_init_main()
328 zlog(ZLOG_DEBUG, "The master process returned an error !"); in fpm_unix_init_main()
[all …]
H A Dfpm_conf.c1132 zlog(ZLOG_SYSERROR, "Unable to write to the PID file."); in fpm_conf_write_pid()
1159 zlog(ZLOG_ERROR, "process_max can't be negative"); in fpm_conf_post_process()
1482 zlog(ZLOG_ERROR, "configuration filename is empty"); in fpm_conf_load_ini_file()
1545 zlog(ZLOG_NOTICE, "[General]"); in fpm_conf_dump()
1558 zlog(ZLOG_NOTICE, "\tprocess.priority = undefined"); in fpm_conf_dump()
1569 zlog(ZLOG_NOTICE, " "); in fpm_conf_dump()
1585 zlog(ZLOG_NOTICE, "\tprocess.priority = undefined"); in fpm_conf_dump()
1613 zlog(ZLOG_NOTICE, "\tenv[%s] = %s", kv->key, kv->value); in fpm_conf_dump()
1617 zlog(ZLOG_NOTICE, "\tphp_value[%s] = %s", kv->key, kv->value); in fpm_conf_dump()
1623 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()
66 zlog(ZLOG_WARNING, "failed to notify start to systemd"); in fpm_systemd_heartbeat()
68 zlog(ZLOG_DEBUG, "have notify start to systemd"); in fpm_systemd_heartbeat()
75 zlog(ZLOG_NOTICE, "systemd monitor interval set to %dms", fpm_global_config.systemd_interval); in fpm_systemd_heartbeat()
77 zlog(ZLOG_NOTICE, "systemd monitor disabled"); in fpm_systemd_heartbeat()
91 zlog(ZLOG_DEBUG, "WATCHDOG_USEC=%s, interval=%d", watchdog, interval); in fpm_systemd_conf()
96 zlog(ZLOG_WARNING, "systemd_interval option ignored"); in fpm_systemd_conf()
98 zlog(ZLOG_NOTICE, "systemd watchdog configured to %.3gsec", (float)interval / 1000.0); in fpm_systemd_conf()
H A Dfpm_events.c76 zlog(ZLOG_DEBUG, "received SIGCHLD"); in fpm_got_signal()
80 zlog(ZLOG_DEBUG, "received SIGINT"); in fpm_got_signal()
81 zlog(ZLOG_NOTICE, "Terminating ..."); in fpm_got_signal()
85 zlog(ZLOG_DEBUG, "received SIGTERM"); in fpm_got_signal()
86 zlog(ZLOG_NOTICE, "Terminating ..."); in fpm_got_signal()
90 zlog(ZLOG_DEBUG, "received SIGQUIT"); in fpm_got_signal()
91 zlog(ZLOG_NOTICE, "Finishing ..."); in fpm_got_signal()
95 zlog(ZLOG_DEBUG, "received SIGUSR1"); in fpm_got_signal()
97 zlog(ZLOG_NOTICE, "error log file re-opened"); in fpm_got_signal()
112 zlog(ZLOG_DEBUG, "received SIGUSR2"); in fpm_got_signal()
[all …]
H A Dfpm_shm.c28 zlog(ZLOG_SYSERROR, "unable to allocate %zu bytes in shared memory: %s", size, strerror(errno)); in fpm_shm_alloc()
34 zlog(ZLOG_SYSERROR, "unable to allocate %zu bytes in shared memory", size); in fpm_shm_alloc()
47 zlog(ZLOG_ERROR, "mem is NULL"); in fpm_shm_free()
52 zlog(ZLOG_SYSERROR, "Unable to free shm"); in fpm_shm_free()
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()
53 zlog(ZLOG_SYSERROR, "failed to init stdio: dup2()"); in fpm_stdio_init_final()
78 zlog(ZLOG_SYSERROR, "failed to init child stdio: dup2()"); in fpm_stdio_init_child()
120 zlog(ZLOG_SYSERROR, "unable to read what child say"); in fpm_stdio_child_said()
166 zlog(ZLOG_WARNING, "[pool %s] child %d said into %s: \"%s\"%s", child->wp->config->name, in fpm_stdio_child_said()
190 zlog(ZLOG_SYSERROR, "failed to prepare the stdout pipe"); in fpm_stdio_prepare_pipes()
195 zlog(ZLOG_SYSERROR, "failed to prepare the stderr pipe"); in fpm_stdio_prepare_pipes()
202 zlog(ZLOG_SYSERROR, "failed to unblock pipes"); in fpm_stdio_prepare_pipes()
284 zlog(ZLOG_SYSERROR, "failed to open error_log (%s)", fpm_global_config.error_log);
[all …]
H A Dfpm_process_ctl.c70 zlog(ZLOG_NOTICE, "exiting, bye-bye!"); in fpm_pctl_exit()
83 zlog(ZLOG_NOTICE, "reloading: execvp(\"%s\", {\"%s\"" in fpm_pctl_exec()
102 zlog(ZLOG_SYSERROR, "failed to reload: execvp() failed"); in fpm_pctl_exec()
157 zlog(ZLOG_DEBUG, "[pool %s] sending signal %d %s to child %d", in fpm_pctl_kill_all()
168 zlog(ZLOG_DEBUG, "%d child(ren) still alive", alive_children); in fpm_pctl_kill_all()
223 zlog(ZLOG_DEBUG, "not switching to '%s' state, because already in '%s' state", in fpm_pctl()
231 zlog(ZLOG_DEBUG, "switching to '%s' state", fpm_state_names[fpm_state]); in fpm_pctl()
362zlog(ZLOG_DEBUG, "[pool %s] currently %d active children, %d spare children", wp->config->name, ac… in fpm_pctl_perform_idle_server_maintenance()
428zlog(ZLOG_DEBUG, "[pool %s] %d child(ren) have been created dynamically", wp->config->name, childr… in fpm_pctl_perform_idle_server_maintenance()
460 zlog(ZLOG_DEBUG, "heartbeat have been set up with a timeout of %dms", fpm_globals.heartbeat); in fpm_pctl_heartbeat()
[all …]
H A Dfpm_trace_ptrace.c32 zlog(ZLOG_SYSERROR, "failed to ptrace(ATTACH) child %d", pid); in fpm_trace_signal()
49 zlog(ZLOG_SYSERROR, "failed to ptrace(DETACH) child %d", pid); in fpm_trace_close()
68 zlog(ZLOG_SYSERROR, "failed to ptrace(PT_IO) pid %d", traced_pid); in fpm_trace_get_long()
75 zlog(ZLOG_SYSERROR, "failed to ptrace(PEEKDATA) pid %d", traced_pid); in fpm_trace_get_long()
H A Dfpm_log.c47 zlog(ZLOG_SYSERROR, "failed to open access log (%s)", wp->config->access_log); in fpm_log_open()
50 zlog(ZLOG_DEBUG, "open access log (%s)", wp->config->access_log); in fpm_log_open()
63 zlog(ZLOG_WARNING, "failed to change attribute of access_log"); in fpm_log_open()
131 zlog(ZLOG_WARNING, "unable to get scoreboard while preparing the access log"); in fpm_log_write()
136zlog(ZLOG_WARNING, "[pool %s] Unable to acquire shm slot while preparing the access log", scoreboa… in fpm_log_write()
155zlog(ZLOG_NOTICE, "the log buffer is full (%d). The access log request has been truncated.", FPM_L… in fpm_log_write()
231zlog(ZLOG_WARNING, "the name of the environment variable must be set between embraces for %%%c", *… in fpm_log_write()
294 zlog(ZLOG_WARNING, "the name of the header must be set between embraces for %%%c", *s); in fpm_log_write()
431 zlog(ZLOG_WARNING, "missing closing embrace in the access.format"); in fpm_log_write()
438 zlog(ZLOG_WARNING, "Invalid token in the access.format (%%%c)", *s); in fpm_log_write()
[all …]
H A Dfpm_clock.c40 zlog(ZLOG_SYSERROR, "clock_gettime() failed"); in fpm_clock_get()
72 zlog(ZLOG_ERROR, "host_get_clock_service() failed: %s", mach_error_string(ret)); in fpm_clock_init()
80 zlog(ZLOG_ERROR, "clock_get_time() failed: %s", mach_error_string(ret)); in fpm_clock_init()
96 zlog(ZLOG_ERROR, "clock_get_time() failed: %s", mach_error_string(ret)); in fpm_clock_get()
H A Dfpm_trace_pread.c29 zlog(ZLOG_SYSERROR, "failed to send SIGSTOP to %d", pid); in fpm_trace_signal()
43 zlog(ZLOG_SYSERROR, "failed to open %s", buf); in fpm_trace_ready()
61 zlog(ZLOG_SYSERROR, "pread() failed"); in fpm_trace_get_long()
H A Dfpm_signals.c149 zlog(ZLOG_WARNING, "failed to create a new socket"); in sig_soft_quit()
187 zlog(ZLOG_SYSERROR, "failed to init signals: socketpair()"); in fpm_signals_init_main()
192 zlog(ZLOG_SYSERROR, "failed to init signals: fd_set_blocked()"); in fpm_signals_init_main()
197 zlog(ZLOG_SYSERROR, "falied to init signals: fcntl(F_SETFD, FD_CLOEXEC)"); in fpm_signals_init_main()
212 zlog(ZLOG_SYSERROR, "failed to init signals: sigaction()"); in fpm_signals_init_main()
241 zlog(ZLOG_SYSERROR, "failed to init child signals: sigaction()"); in fpm_signals_init_child()
H A Dfpm_children.c158 zlog(ZLOG_ERROR, "[pool %s] child failed to initialize", wp->config->name); in fpm_child_init()
227 zlog(ZLOG_NOTICE, "child %d stopped for tracing", (int) pid); in fpm_children_bury()
252zlog(severity, "[pool %s] child %d exited %s after %ld.%06d seconds from start", child->wp->config… in fpm_children_bury()
254zlog(ZLOG_DEBUG, "[pool %s] child %d has been killed by the process management after %ld.%06d seco… in fpm_children_bury()
281zlog(ZLOG_WARNING, "failed processes threshold (%d in %d sec) is reached, initiating reload", fpm_… in fpm_children_bury()
295zlog(ZLOG_ALERT, "oops, unknown child (%d) exited %s. Please open a bug report (https://bugs.php.n… in fpm_children_bury()
308 zlog(ZLOG_ERROR, "[pool %s] unable to malloc new child", wp->config->name); in fpm_resources_prepare()
411 zlog(ZLOG_SYSERROR, "fork() failed"); in fpm_children_make()
421zlog(is_debug ? ZLOG_DEBUG : ZLOG_NOTICE, "[pool %s] child %d started", wp->config->name, (int) pi… in fpm_children_make()
428zlog(ZLOG_WARNING, "The maximum number of processes has been reached. Please review your configura… in fpm_children_make()
[all …]
H A Dfpm_trace_mach.c40 zlog(ZLOG_ERROR, "failed to read vm page: mach_vm_read(): %s (%d)", mach_error_string(kr), kr); in fpm_mach_vm_read_page()
50 zlog(ZLOG_SYSERROR, "failed to send SIGSTOP to %d", pid); in fpm_trace_signal()
68 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()
79 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard"); in fpm_request_reading_headers()
121 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard"); in fpm_request_info()
165 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard"); in fpm_request_executing()
191 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard"); in fpm_request_end()
218 zlog(ZLOG_WARNING, "failed to acquire proc scoreboard"); in fpm_request_finished()
234 zlog(ZLOG_WARNING, "failed to acquire scoreboard"); in fpm_request_check_timed_out()
267zlog(ZLOG_WARNING, "[pool %s] child %d, script '%s' (request: \"%s %s\") executing too slow (%d.%0… in fpm_request_check_timed_out()
277zlog(ZLOG_WARNING, "[pool %s] child %d, script '%s' (request: \"%s %s\") execution timed out (%d.%… in fpm_request_check_timed_out()
H A Dfpm_sockets.c172 zlog(ZLOG_SYSERROR, "failed to create new listening socket: socket()"); in fpm_sockets_new_listening_socket()
177 zlog(ZLOG_WARNING, "failed to change socket attribute"); in fpm_sockets_new_listening_socket()
191zlog(ZLOG_SYSERROR, "unable to bind listening socket for address '%s'", wp->config->listen_address… in fpm_sockets_new_listening_socket()
206 zlog(ZLOG_SYSERROR, "failed to chown() the socket '%s'", wp->config->listen_address); in fpm_sockets_new_listening_socket()
214 zlog(ZLOG_SYSERROR, "failed to listen to address '%s'", wp->config->listen_address); in fpm_sockets_new_listening_socket()
274 zlog(ZLOG_ERROR, "invalid port value '%s'", port_str); in fpm_socket_af_inet_listening_socket()
302 zlog(ZLOG_ERROR, "getaddrinfo: %s\n", gai_strerror(status)); in fpm_socket_af_inet_listening_socket()
310 zlog(ZLOG_DEBUG, "Found address for %s, socket opened on %s", dup_address, tmpbuf); in fpm_socket_af_inet_listening_socket()
313 zlog(ZLOG_WARNING, "Found multiple addresses for %s, %s ignored", dup_address, tmpbuf); in fpm_socket_af_inet_listening_socket()
361 zlog(ZLOG_NOTICE, "using inherited socket fd=%d, \"%s\"", fd_no, inherited); 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.c40 zlog(ZLOG_DEBUG, "got clock tick '%.0f'", fpm_scoreboard_tick); in fpm_scoreboard_init_main()
46zlog(ZLOG_ERROR, "[pool %s] Unable to create scoreboard SHM because max_client is not set", wp->co… in fpm_scoreboard_init_main()
51zlog(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_update()
233 zlog(ZLOG_ERROR, "**scoreboard is NULL"); in fpm_scoreboard_free()
296 zlog(ZLOG_DEBUG, "[pool %s] the proc->free_slot was not free. Let's search", scoreboard->pool); in fpm_scoreboard_proc_alloc()
306 zlog(ZLOG_ERROR, "[pool %s] no free scoreboard slot", scoreboard->pool); in fpm_scoreboard_proc_alloc()
H A Dfpm_php_trace.c144 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid); in fpm_php_trace()
149 zlog(ZLOG_SYSERROR, "unable to open slowlog (%s)", child->wp->config->slowlog); in fpm_php_trace()
172 zlog(ZLOG_NOTICE, "finished trace of %d", (int) child->pid); in fpm_php_trace()
H A Dfpm_status.c28 zlog(ZLOG_ERROR, "unable to init fpm_status because conf structure is NULL"); in fpm_status_init_child()
38zlog(ZLOG_ERROR, "[pool %s] ping is set (%s) but ping.response is not set.", wp->config->name, wp-… in fpm_status_init_child()
86 zlog(ZLOG_ERROR, "status: unable to find or access status shared memory"); in fpm_status_handle_request()
96 zlog(ZLOG_NOTICE, "[pool %s] status: scoreboard already in used.", scoreboard_p->pool); in fpm_status_handle_request()
109 zlog(ZLOG_ERROR, "[pool %s] invalid status values", scoreboard.pool); in fpm_status_handle_request()
/PHP-5.5/sapi/fpm/fpm/events/
H A Dport.c74 zlog(ZLOG_ERROR, "port: unable to initialize port_create()"); in fpm_event_port_init()
85 zlog(ZLOG_ERROR, "port: Unable to allocate %d events", max); in fpm_event_port_init()
133 zlog(ZLOG_WARNING, "poll() returns %d", errno); in fpm_event_port_wait()
164 zlog(ZLOG_ERROR, "port: unable to add the event"); in fpm_event_port_add()
178 zlog(ZLOG_ERROR, "port: unable to add the event"); in fpm_event_port_remove()
H A Ddevpoll.c80 zlog(ZLOG_ERROR, "Unable to open /dev/poll"); in fpm_event_devpoll_init()
91 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_devpoll_init()
105 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_devpoll_init()
166 zlog(ZLOG_WARNING, "/dev/poll: ioctl() returns %d", errno); in fpm_event_devpoll_wait()
212 zlog(ZLOG_ERROR, "/dev/poll: Unable to add the event in the internal queue"); in fpm_event_devpoll_add()
237 zlog(ZLOG_ERROR, "/dev/poll: Unable to remove the event in the internal queue"); in fpm_event_devpoll_remove()
H A Dkqueue.c82 zlog(ZLOG_ERROR, "kqueue: unable to initialize"); in fpm_event_kqueue_init()
88 zlog(ZLOG_ERROR, "epoll: unable to allocate %d events", max); in fpm_event_kqueue_init()
137 zlog(ZLOG_WARNING, "epoll_wait() returns %d", errno); in fpm_event_kqueue_wait()
173 zlog(ZLOG_ERROR, "kevent: unable to add event"); in fpm_event_kqueue_add()
198 zlog(ZLOG_ERROR, "kevent: unable to add event"); in fpm_event_kqueue_remove()
H A Depoll.c77 zlog(ZLOG_ERROR, "epoll: unable to initialize"); in fpm_event_epoll_init()
84 zlog(ZLOG_ERROR, "epoll: unable to allocate %d events", max); in fpm_event_epoll_init()
133 zlog(ZLOG_WARNING, "epoll_wait() returns %d", errno); in fpm_event_epoll_wait()
177 zlog(ZLOG_ERROR, "epoll: unable to add fd %d", ev->fd); in fpm_event_epoll_add()
205 zlog(ZLOG_ERROR, "epoll: unable to remove fd %d", ev->fd); in fpm_event_epoll_remove()
H A Dpoll.c83 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_poll_init()
97 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_poll_init()
149 zlog(ZLOG_WARNING, "poll() returns %d", errno); in fpm_event_poll_wait()
223 zlog(ZLOG_ERROR, "poll: not enought space to add event (fd=%d)", ev->fd); in fpm_event_poll_add()
271 zlog(ZLOG_ERROR, "poll: unable to remove event: not found (fd=%d, index=%d)", ev->fd, ev->index); in fpm_event_poll_remove()

Completed in 196 milliseconds

12