Cleanup: removed unused initialVMTop variable from ircd.c and get_maxrss() from restart.c
This commit is contained in:
parent
2b4185469f
commit
4d938eac7d
|
@ -103,7 +103,6 @@ int split_users;
|
||||||
int split_servers;
|
int split_servers;
|
||||||
int eob_count;
|
int eob_count;
|
||||||
|
|
||||||
unsigned long initialVMTop = 0; /* top of virtual memory at init */
|
|
||||||
const char *logFileName = LPATH;
|
const char *logFileName = LPATH;
|
||||||
const char *pidFileName = PPATH;
|
const char *pidFileName = PPATH;
|
||||||
|
|
||||||
|
|
|
@ -45,9 +45,6 @@ restart(const char *mesg)
|
||||||
abort();
|
abort();
|
||||||
was_here = YES;
|
was_here = YES;
|
||||||
|
|
||||||
#if 0
|
|
||||||
ilog(L_MAIN, "Restarting Server because: %s, memory data limit: %ld", mesg, get_maxrss());
|
|
||||||
#endif
|
|
||||||
ilog(L_MAIN, "Restarting Server because: %s", mesg);
|
ilog(L_MAIN, "Restarting Server because: %s", mesg);
|
||||||
|
|
||||||
server_reboot();
|
server_reboot();
|
||||||
|
|
Loading…
Reference in New Issue