86 static void master_avail_event(
int event,
void *context)
92 msg_panic(
"master_avail_event: null event");
126 const char *myname =
"master_avail_listen";
143 msg_info(
"%s: %s avail %d total %d max %d", myname, serv->
name,
155 msg_warn(
"service \"%s\" (%s) has reached its process limit \"%d\": "
156 "new clients may experience noticeable delays",
158 msg_warn(
"to avoid this condition, increase the process count "
159 "in master.cf or reduce the service time per client");
160 msg_warn(
"see http://www.postfix.org/STRESS_README.html for "
161 "examples of stress-adapting configuration settings");
207 const char *myname =
"master_avail_more";
222 msg_panic(
"%s: process already available", myname);
232 const char *myname =
"master_avail_less";
247 msg_panic(
"%s: process not available", myname);
void event_enable_read(int fd, EVENT_NOTIFY_RDWR_FN callback, void *context)
#define MASTER_LIMIT_OK(limit, count)
NORETURN msg_panic(const char *fmt,...)
#define MASTER_LISTENING(f)
#define MASTER_FLAG_LISTEN
#define MASTER_STAT_AVAIL
void master_avail_more(MASTER_SERV *serv, MASTER_PROC *proc)
void master_restart_service(MASTER_SERV *, int)
void master_avail_listen(MASTER_SERV *serv)
#define MASTER_THROTTLED(f)
#define MASTER_STAT_TAKEN
void msg_warn(const char *fmt,...)
void master_avail_less(MASTER_SERV *serv, MASTER_PROC *proc)
time_t stress_expire_time
void master_delete_children(MASTER_SERV *)
void master_avail_cleanup(MASTER_SERV *serv)
void master_spawn(MASTER_SERV *)
void event_disable_readwrite(int fd)
void msg_info(const char *fmt,...)