projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80532e8
)
debug noise to show struct sizes
author
Marko Kreen
<markokr@gmail.com>
Thu, 6 Dec 2007 09:08:04 +0000
(09:08 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Thu, 6 Dec 2007 09:08:04 +0000
(09:08 +0000)
src/main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/main.c
b/src/main.c
index 00319a74c11fb4f103ae007b8853b92336ab1ad3..2a9242345d63fd4c753f36f6e21ad043c1667bba 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-420,6
+420,10
@@
static void check_limits(void)
List *item;
PgDatabase *db;
+ log_noise("event: %d, SBuf: %d, PgSocket: %d, Full PgSocket: %d, buf ofs: %d",
+ sizeof(struct event), sizeof(SBuf), sizeof(PgSocket), PG_SOCKET_SIZE,
+ offsetof(SBuf, buf));
+
/* load limits */
err = getrlimit(RLIMIT_NOFILE, &lim);
if (err < 0) {