You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is some configuration to fix this error? pg_view work by less than 30 seconds, then crash:
[root@server ~]# pg_view -U postgres -p 9999
Traceback (most recent call last):
File "/bin/pg_view", line 3432, in main
loop(collectors, consumer, groups, output_method)
File "/bin/pg_view", line 2748, in loop
curses.wrapper(do_loop, groups, output_method, collectors, consumer)
File "/usr/lib64/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "/bin/pg_view", line 2816, in do_loop
process_single_collector(st)
File "/bin/pg_view", line 2845, in process_single_collector
st.refresh()
File "/bin/pg_view", line 1196, in refresh
proc_data = self._read_proc(pid, is_backend, is_active)
File "/bin/pg_view", line 1253, in _read_proc
result['uss'] = self._get_memory_usage(pid)
File "/bin/pg_view", line 1275, in _get_memory_usage
self.format(pid), e))
AttributeError: 'PgstatCollector' object has no attribute 'format'
@a1exsh I ran into the same bug today in one of our data centers... 😞
postgres@xxxx01:~$ pg_view
Traceback (most recent call last):
File "/data/postgres/bin/pg_view.py", line 3525, in main
loop(collectors, consumer, groups, output_method)
File "/data/postgres/bin/pg_view.py", line 2823, in loop
curses.wrapper(do_loop, groups, output_method, collectors, consumer)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "/data/postgres/bin/pg_view.py", line 2891, in do_loop
process_single_collector(st)
File "/data/postgres/bin/pg_view.py", line 2921, in process_single_collector
st.refresh()
File "/data/postgres/bin/pg_view.py", line 1215, in refresh
proc_data = self._read_proc(pid, is_backend, is_active)
File "/data/postgres/bin/pg_view.py", line 1272, in _read_proc
result['uss'] = self._get_memory_usage(pid)
File "/data/postgres/bin/pg_view.py", line 1294, in _get_memory_usage
self.format(pid), e))
AttributeError: 'PgstatCollector' object has no attribute 'format'
Hi There,
There is some configuration to fix this error? pg_view work by less than 30 seconds, then crash:
About my enviroment:
Any ideias?
The text was updated successfully, but these errors were encountered: