[CentOS] iotop :: OSError: Netlink error: Invalid argument (22)

Fri Mar 9 12:52:44 UTC 2012
Markus Falb <markus.falb at fasel.at>

On 9.3.2012 08:17, Adrian Sevcenco wrote:
> Hi! i have a problem with iotop :
> 
> root at alien: ~ # iotop
> Traceback (most recent call last):
>   File "/usr/bin/iotop", line 16, in ?
>     main()
>   File "/usr/lib/python2.4/site-packages/iotop/ui.py", line 567, in main
>     main_loop()
>   File "/usr/lib/python2.4/site-packages/iotop/ui.py", line 557, in <lambda>
>     main_loop = lambda: run_iotop(options)
>   File "/usr/lib/python2.4/site-packages/iotop/ui.py", line 465, in
> run_iotop
>     return curses.wrapper(run_iotop_window, options)
>   File "/usr/lib64/python2.4/curses/wrapper.py", line 44, in wrapper
>     return func(stdscr, *args, **kwds)
>   File "/usr/lib/python2.4/site-packages/iotop/ui.py", line 457, in
> run_iotop_window
>     process_list = ProcessList(taskstats_connection, options)
>   File "/usr/lib/python2.4/site-packages/iotop/data.py", line 375, in
> __init__
>     self.update_process_counts()
>   File "/usr/lib/python2.4/site-packages/iotop/data.py", line 431, in
> update_process_counts
>     stats = self.taskstats_connection.get_single_task_stats(thread)
>   File "/usr/lib/python2.4/site-packages/iotop/data.py", line 158, in
> get_single_task_stats
>     reply = self.connection.recv()
>   File "/usr/lib/python2.4/site-packages/iotop/netlink.py", line 229, in
> recv
>     raise err
> OSError: Netlink error: Invalid argument (22)
> 
> 
> CentOS release 5.5 (Final)

Your kernel is too old. You need at least 2.6.18-238.el5 (This was the
first 5.6 kernel)

> iotop-0.4.3-4.el5
> 
> python-2.4.3-46.el5

It seems you have a partially updated system. These Packages are from 5.8



-- 
Kind Regards, Markus Falb

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20120309/76244e1d/attachment-0005.sig>