[pgpool-hackers: 1063] Re: Patch for optional disablin unix-sockets
Tatsuo Ishii
ishii at postgresql.org
Thu Sep 24 13:24:47 JST 2015
> Ooops, wrong check in first patch.
>
> If socket_dir specified as empty string, we disable unix sockets.
> Same for pcp_socket_dir.
>
> 15.09.2015, 12:38, "Andrew N Golovkov" <andor000 at ya.ru>:
>> In some cases we dont really need listen unix sockets.
I have tested your patch but it didn't work:
2015-09-24 13:19:52: pid 26511: LOG: Backend status file /tmp/bbb/log/pgpool_status discarded
2015-09-24 13:19:52: pid 26511: LOG: Setting up socket for 127.0.0.1:11000
2015-09-24 13:19:52: pid 26511: DEBUG: pool_coninfo_size: num_init_children (32) * max_pool (4) * MAX_NUM_BACKENDS (128) * sizeof(ConnectionInfo) (136) = 2228224 bytes requested for shared memory
2015-09-24 13:19:52: pid 26511: DEBUG: ProcessInfo: num_init_children (32) * sizeof(ProcessInfo) (32) = 1024 bytes requested for shared memory
2015-09-24 13:19:52: pid 26511: DEBUG: Request info are: sizeof(POOL_REQUEST_INFO) 5224 bytes requested for shared memory
2015-09-24 13:19:52: pid 26511: DEBUG: Recovery management area: sizeof(int) 4 bytes requested for shared memory
2015-09-24 13:19:52: pid 26512: FATAL: unable to set options on socket
2015-09-24 13:19:52: pid 26512: DETAIL: fcntl system call failed with error "Bad file descriptor"
2015-09-24 13:19:52: pid 26513: FATAL: unable to set options on socket
2015-09-24 13:19:52: pid 26513: DETAIL: fcntl system call failed with error "Bad file descriptor"
2015-09-24 13:19:52: pid 26514: FATAL: unable to set options on socket
2015-09-24 13:19:52: pid 26514: DETAIL: fcntl system call failed with error "Bad file descriptor"
2015-09-24 13:19:52: pid 26515: FATAL: unable to set options on socket
2015-09-24 13:19:52: pid 26515: DETAIL: fcntl system call failed with error "Bad file descriptor"
:
:
(lots of same error messages continue)
Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp
More information about the pgpool-hackers
mailing list