Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5

Поиск
Список
Период
Сортировка
От Manfred Spraul
Тема Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5
Дата
Msg-id 3FA3DC05.3060708@colorfullife.com
обсуждение исходный текст
Ответ на Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5  (Manfred Spraul <manfred@colorfullife.com>)
Ответы Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5
Список pgsql-hackers
I've straced
$ pgbench -c 5 -s 6 -t 1000

total 157k syscalls, 70k of them are rt_sigaction(SIGPIPE):

1754  poll([{fd=3, events=POLLOUT|POLLERR, revents=POLLOUT}], 1, -1) = 1
1754  rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
1754  send(3, "\0\0\0%\0\3\0\0user\0postgres\0database\0t"..., 37, 0) = 37
1754  rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
1754  poll([{fd=3, events=POLLIN|POLLERR, revents=POLLIN}], 1, -1) = 1
1754  recv(3, "R\0\0\0\10\0\0\0\0S\0\0\0\36client_encoding\0SQ"..., 
16384, 0) = 169
1754  rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
1754  send(3, "Q\0\0\0\35SET search_path = public\0", 30, 0) = 30
1754  rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
1754  poll([{fd=3, events=POLLIN|POLLERR, revents=POLLIN}], 1, -1) = 1
1754  recv(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0) = 15
1754  rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0

and so on. Is that really necessary?

Mark: could you strace your dbt2 app? I guess your app creates a similar 
streams of rt_sigaction calls.

--   Manfred



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Problems with whitespace-ignoring diff options
Следующее
От: Tom Lane
Дата:
Сообщение: Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5