Closed artemklevtsov closed 13 years ago
fixed it. you seem to have started the gui befor the daemon, right ?
daemon is running during start ulatency --gui. I specially restart daemon after first fail.
thats strange. could you give me a cat /proc/mounts please. I fixed the bug, but it should only happened when the cgroup mountpoints are empty.
Sorry, I not update ulatencyd after you fix it.
the gui should start up now, but i still don't understand why it has problems in the first place, thats why i would like to have your cat /proc/mounts
.
I update ulatencyd. Now I get following output:
adi-bear@unikum-laptop ~ $ ulatency --gui
error: tree does not exist
blkio
memory
gui started.
^C
and gui dos not appears.
adi-bear@unikum-laptop ~ $ cat /proc/mounts
rootfs / rootfs rw 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=217007,mode=755 0 0
/dev/sda2 / ext4 rw,noatime,nodiratime,user_xattr,acl,barrier=1,data=writeback 0 0
devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,relatime,size=2097152k 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=10240k 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
/dev/sda3 /home ext4 rw,noatime,nodiratime,user_xattr,acl,barrier=1,data=writeback 0 0
none /sys/fs/cgroup tmpfs rw,relatime 0 0
none /sys/fs/cgroup/memory cgroup rw,relatime,memory,release_agent=/usr/lib/ulatencyd/ulatencyd_cleanup.lua 0 0
none /sys/fs/cgroup/blkio cgroup rw,relatime,blkio,release_agent=/usr/lib/ulatencyd/ulatencyd_cleanup.lua 0 0
unikum:/mnt/data/ /mnt/unikum/data nfs4 rw,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.3,minorversion=0,local_lock=none,addr=192.168.1.2 0 0
unikum:/home/xxx /mnt/unikum/xxx nfs4 rw,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.3,minorversion=0,local_lock=none,addr=192.168.1.2 0 0
unikum:/mnt/data1/ /mnt/unikum/data1 nfs4 rw,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.3,minorversion=0,local_lock=none,addr=192.168.1.2 0 0
indeed, I was not careful. gui work. tell me, please, how called option in the kernel config.
see the FAQ for the options required.
thanks for your reolys. in default archlinux kernel missing PROC_EVENTS and is not set CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED options. seems I need compile custom kernel. thank again for your attention.
are you sure you have: CONFIG_FAIR_GROUP_SCHED=y CONFIG_RT_GROUP_SCHED=y
enabled ?, because you are missing the cpu subsystem. Would be nice if you could open a bugreport on arch so the important stuff gets enabled on the default kernel.
adi-bear@unikum-laptop ~ $ zcat /proc/config.gz | grep CONFIG_FAIR_GROUP_SCHED CONFIG_FAIR_GROUP_SCHED=y adi-bear@unikum-laptop ~ $ zcat /proc/config.gz | grep CONFIG_RT_GROUP_SCHED CONFIG_RT_GROUP_SCHED=y
$ ulatency --gui
Traceback (most recent call last): File "/usr/bin/ulatency", line 868, in
main()
File "/usr/bin/ulatency", line 795, in main
sys.exit(QtGui().run())
File "/usr/bin/ulatency", line 545, in init
self.tree = Tree(show_all = False)
File "/usr/bin/ulatency", line 334, in init
path = self.get_path()
File "/usr/bin/ulatency", line 383, in get_path
if not os.path.exists(path):
File "/usr/lib/python2.7/genericpath.py", line 18, in exists
os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
Output "strace ulatency --gui" - http://paste.pocoo.org/show/346177/