Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2016-11-17 14:32:46

  Novi-cjusz - Użytkownik

Novi-cjusz
Użytkownik
Zarejestrowany: 2013-03-05

cgred.service (cgroups v.1) - nie odpala.

Cwicze cgroups i pojawil sie problem.
W lokalizacji:

Kod:

/etc/systemd/system

mam plik cgstart.service,

Kod:

[Unit]
DefaultDependencies=no
Description="CGSTART - Zakładam strukturę grup do cgroup ;)"
Before=cgred.service

[Service]
Type=oneshot
ExecStart=/usr/local/sbin/cgstart
TimeoutSec=0
RemainAfterExit=yes

[Install]
RequiredBy=local-fs.target

ktory pieknie odpala usluge:

Kod:

root@debian:~# systemctl status cgstart.service
● cgstart.service - "CGSTART - Zakładam strukturę grup do cgroup ;)"
   Loaded: loaded (/etc/systemd/system/cgstart.service; enabled)
   Active: active (exited) since Thu 2016-11-17 11:46:43 GMT; 1h 29min ago
  Process: 213 ExecStart=/usr/local/sbin/cgstart (code=exited, status=0/SUCCESS)
 Main PID: 213 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/cgstart.service
           └─432 /usr/sbin/cgrulesengd --nodaemon --nolog

Nov 17 11:46:43 debian cgstart[213]: cgrulesengd: no process found
Nov 17 11:46:43 debian systemd[1]: Started "CGSTART - Zakładam strukturę gr…;)".
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Hint: Some lines were ellipsized, use -l to show in full.

oraz mam plik:

Kod:

[Unit]
Description="CGRULESENGD - zaczynam robotę ;)"
 
# The service should be able to start as soon as possible,
# before any 'normal' services:
DefaultDependencies=no
Conflicts=shutdown.target
Before=basic.target shutdown.target
After=cgstart.service
 
[Service]
Type=simple
ExecStart=/usr/bin/cgrulesengd -n -f -
 
[Install]
WantedBy=sysinit.target

ktory niestety

Kod:

root@debian:~# systemctl status cgred.service
● cgred.service - "CGRULESENGD - zaczynam robotę ;)"
   Loaded: loaded (/etc/systemd/system/cgred.service; enabled)
   Active: failed (Result: exit-code) since Thu 2016-11-17 11:46:43 GMT; 1h 45min ago
  Process: 433 ExecStart=/usr/bin/cgrulesengd -n -f - (code=exited, status=203/EXEC)
 Main PID: 433 (code=exited, status=203/EXEC)

Nov 17 11:46:43 debian systemd[1]: Started "CGRULESENGD - zaczynam robotę ;)".
Nov 17 11:46:43 debian systemd[1]: cgred.service: main process exited, code...EC
Nov 17 11:46:43 debian systemd[1]: Unit cgred.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

Odpalilem cgrulesngd:

Kod:

cgrulesengd -v -f /var/log/cgrulesengd

efekt taki:

Kod:

Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002

Pomozecie naprawic?
Doczytalem,ze aby uruchomic skrypt startowy (xxxx) na Debianie 8 z systemd nalezy:
- najpierw umiescic skrypt startowy w lokalizacji /usr/sbin/xxxx
- nadac mu prawa wykonywania np: chmod 750 xxxx
- nastepnie umiescic "unit file" w lokalizacji /etc/systemd/system/xxxx.service
Jezeli cos nie tak to prosze o korekte.

Ostatnio edytowany przez Novi-cjusz (2016-11-17 18:26:09)


------------------------------------------------------------------------------------
"Inveniam viam aut faciam" : I will either find a way, or I shall make one
"Złoto to pieniądz królów, srebro to pieniądz dżentelmenów, barter to pieniądz chłopów ale dług to pieniądz niewolników."

Offline

 

#2  2016-11-17 20:20:18

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
Zarejestrowany: 2008-01-07

Re: cgred.service (cgroups v.1) - nie odpala.

Gdzieś już te skrypty startowe widziałem i nawet działały,  u Ciebie.

Kiedy dokładnie i na której wersji Debiana i SystemD to przestało działać?

EDIT:

Kod:

Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002

Masz jakiś błąd (może literówkę) w konfiguracji /etc/cgrules.conf.

Jaka jest nazwa procesu który się krył pod pidem 50002.

Ostatnio edytowany przez Jacekalex (2016-11-17 20:23:15)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#3  2016-11-17 20:49:02

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: cgred.service (cgroups v.1) - nie odpala.

Mi działało, przynajmniej w chwili [url=https://morfitronik.pl/ograniczanie-zasobow-procesom-przez-cgroups/]pisania tego artykułu[/url]. xD

Offline

 

#4  2016-11-17 20:54:42

  Novi-cjusz - Użytkownik

Novi-cjusz
Użytkownik
Zarejestrowany: 2013-03-05

Re: cgred.service (cgroups v.1) - nie odpala.

Mam dzisiaj szczesliwy dzien.

Kod:

cat /proc/version
Linux version 4.5.0-0.slh.1-aptosid-amd64 (s.l-h@gmx.de) (gcc version 5.3.1 20160307 (Debian 5.3.1-11) ) #1 SMP PREEMPT aptosid 4.5-1 (2016-03-14)

Systemd v15.
Procesy

Kod:

ps -e
  PID TTY          TIME CMD
    1 ?        00:00:01 systemd
    2 ?        00:00:00 kthreadd
    3 ?        00:00:00 ksoftirqd/0
    5 ?        00:00:00 kworker/0:0H
    7 ?        00:00:49 rcu_preempt
    8 ?        00:00:00 rcu_sched
    9 ?        00:00:00 rcu_bh
   10 ?        00:00:00 migration/0
   11 ?        00:00:00 migration/1
   12 ?        00:00:00 ksoftirqd/1
   14 ?        00:00:00 kworker/1:0H
   15 ?        00:00:00 migration/2
   16 ?        00:00:00 ksoftirqd/2
   18 ?        00:00:00 kworker/2:0H
   19 ?        00:00:00 migration/3
   20 ?        00:00:00 ksoftirqd/3
   22 ?        00:00:00 kworker/3:0H
   23 ?        00:00:00 migration/4
   24 ?        00:00:00 ksoftirqd/4
   26 ?        00:00:00 kworker/4:0H
   27 ?        00:00:00 migration/5
   28 ?        00:00:00 ksoftirqd/5
   30 ?        00:00:00 kworker/5:0H
   31 ?        00:00:00 migration/6
   32 ?        00:00:00 ksoftirqd/6
   34 ?        00:00:00 kworker/6:0H
   35 ?        00:00:00 migration/7
   36 ?        00:00:00 ksoftirqd/7
   38 ?        00:00:00 kworker/7:0H
   39 ?        00:00:00 kdevtmpfs
   40 ?        00:00:00 netns
   41 ?        00:00:00 writeback
   42 ?        00:00:00 ksmd
   43 ?        00:00:01 khugepaged
   44 ?        00:00:00 crypto
   45 ?        00:00:00 kintegrityd
   46 ?        00:00:00 bioset
   47 ?        00:00:00 kblockd
   48 ?        00:00:00 devfreq_wq
   49 ?        00:00:07 kworker/0:1
   50 ?        00:00:00 kswapd0
   51 ?        00:00:00 vmstat
   61 ?        00:00:00 kthrotld
   63 ?        00:00:00 ipv6_addrconf
   64 ?        00:00:00 kworker/0:2
   65 ?        00:00:00 deferwq
  108 ?        00:00:00 ata_sff
  110 ?        00:00:00 kpsmoused
  112 ?        00:00:02 kworker/7:1
  113 ?        00:00:02 kworker/1:1
  116 ?        00:00:00 scsi_eh_0
  117 ?        00:00:00 scsi_tmf_0
  118 ?        00:00:00 scsi_eh_1
  119 ?        00:00:00 scsi_tmf_1
  122 ?        00:00:00 scsi_eh_2
  123 ?        00:00:00 scsi_tmf_2
  124 ?        00:00:00 scsi_eh_3
  125 ?        00:00:00 scsi_tmf_3
  126 ?        00:00:00 kworker/u16:4
  128 ?        00:00:00 scsi_eh_4
  129 ?        00:00:00 scsi_tmf_4
  130 ?        00:00:00 scsi_eh_5
  131 ?        00:00:00 scsi_tmf_5
  134 ?        00:00:00 bioset
  138 ?        00:00:00 bioset
  140 ?        00:00:00 kworker/7:2
  145 ?        00:00:00 kworker/7:1H
  146 ?        00:00:00 kworker/0:1H
  147 ?        00:00:00 kworker/1:1H
  148 ?        00:00:00 kworker/2:1H
  149 ?        00:00:00 kworker/3:1H
  150 ?        00:00:00 kworker/4:1H
  151 ?        00:00:00 kworker/5:1H
  152 ?        00:00:00 kworker/6:1H
  153 ?        00:00:00 kworker/3:2
  175 ?        00:00:00 jbd2/sda2-8
  176 ?        00:00:00 ext4-rsv-conver
  211 ?        00:00:00 kauditd
  222 ?        00:00:02 systemd-journal
  225 ?        00:00:00 systemd-udevd
  432 ?        00:00:03 cgrulesengd
  477 ?        00:00:00 edac-poller
  636 ?        00:00:00 led_workqueue
  681 ?        00:00:00 kvm-irqfd-clean
  779 ?        00:00:00 ttm_swap
 1001 ?        00:00:00 dhclient
 1092 ?        00:00:00 dhclient
 1186 ?        00:00:00 rpcbind
 1195 ?        00:00:00 rpc.statd
 1200 ?        00:00:00 rpciod
 1204 ?        00:00:00 nfsiod
 1212 ?        00:00:00 rpc.idmapd
 1214 ?        00:00:00 accounts-daemon
 1216 ?        00:00:00 smartd
 1217 ?        00:00:00 NetworkManager
 1218 ?        00:00:00 conntrackd
 1220 ?        00:00:01 vnstatd
 1226 ?        00:00:00 ModemManager
 1230 ?        00:00:00 cron
 1231 ?        00:00:00 atd
 1233 ?        00:00:00 systemd-logind
 1245 ?        00:00:00 avahi-daemon
 1247 ?        00:00:06 dbus-daemon
 1276 ?        00:00:00 ulogd
 1299 ?        00:00:01 irqbalance
 1300 ?        00:00:11 redis-server
 1329 ?        00:00:00 minissdpd
 1414 ?        00:00:00 hddtemp
 1590 ?        00:00:00 avahi-daemon
 1600 ?        00:00:00 cfg80211
 1608 ?        00:00:00 libvirtd
 1609 ?        00:00:00 rsyslogd
 1610 ?        00:00:00 acpid
 1611 ?        00:00:00 cupsd
 1612 ?        00:00:00 cups-browsed
 1617 ?        00:00:00 polkitd
 1625 tty1     00:00:00 agetty
 1642 ?        00:00:00 gdm3
 1658 ?        00:00:00 colord
 1667 tty7     00:10:18 Xorg
 1669 ?        00:00:11 wicd
 1765 ?        00:00:00 dnsmasq
 1766 ?        00:00:00 dnsmasq
 1883 ?        00:00:04 wicd-monitor
 1909 ?        00:00:00 upowerd
 1955 ?        00:00:00 rtkit-daemon
 2006 ?        00:00:00 wpa_supplicant
 2008 ?        00:00:00 packagekitd
 2150 ?        00:00:00 gdm-session-wor
 2155 ?        00:00:00 systemd
 2156 ?        00:00:00 (sd-pam)
 2161 ?        00:00:00 gnome-keyring-d
 2165 ?        00:00:00 x-session-manag
 2205 ?        00:00:00 ssh-agent
 2208 ?        00:00:00 dbus-launch
 2209 ?        00:00:00 dbus-daemon
 2212 ?        00:00:00 at-spi-bus-laun
 2216 ?        00:00:00 dbus-daemon
 2219 ?        00:00:01 at-spi2-registr
 2226 ?        00:00:00 gvfsd
 2230 ?        00:00:00 gvfsd-fuse
 2244 ?        00:00:01 gnome-settings-
 2257 ?        00:01:09 pulseaudio
 2267 ?        00:00:00 start-pulseaudi
 2268 ?        00:00:00 xprop
 2270 ?        00:00:00 gvfs-udisks2-vo
 2272 ?        00:00:02 udisksd
 2282 ?        00:00:00 gvfs-gphoto2-vo
 2286 ?        00:00:00 gvfs-mtp-volume
 2290 ?        00:00:00 gvfs-afc-volume
 2295 ?        00:00:00 gvfs-goa-volume
 2298 ?        00:00:01 goa-daemon
 2304 ?        00:00:00 mission-control
 2306 ?        00:07:51 gnome-shell
 2318 ?        00:00:00 gsd-locate-poin
 2320 ?        00:00:00 gsd-printer
 2334 ?        00:00:00 gnome-shell-cal
 2341 ?        00:00:00 evolution-sourc
 2350 ?        00:00:01 gvfsd-metadata
 2354 ?        00:00:00 tracker-miner-u
 2358 ?        00:00:00 evolution-calen
 2359 ?        00:00:00 evolution-alarm
 2361 ?        00:00:00 deja-dup-monito
 2364 ?        00:00:01 tracker-store
 2371 ?        00:00:00 wicd-client
 2375 ?        00:00:02 tracker-miner-f
 2391 ?        00:00:00 tracker-extract
 2392 ?        00:00:00 nm-applet
 2399 ?        00:00:05 zeitgeist-datah
 2400 ?        00:00:00 tracker-miner-a
 2407 ?        00:00:00 zeitgeist-daemo
 2413 ?        00:00:00 gconfd-2
 2416 ?        00:01:18 nautilus
 2423 ?        00:00:00 zeitgeist-fts
 2449 ?        00:00:00 applet.py
 2460 ?        00:00:00 cat
 2485 ?        00:00:00 gvfsd-trash
 2511 ?        00:00:00 gvfsd-burn
 2537 ?        01:28:51 iceweasel
 2666 ?        00:00:00 dconf-service
 2729 ?        00:00:00 gvfsd-http
 3413 ?        00:00:00 dbus-launch
 3414 ?        00:00:00 dbus-daemon
 3417 ?        00:00:03 gnome-terminal-
 3420 ?        00:00:00 gvfsd
 3426 ?        00:00:00 gnome-pty-helpe
 3427 pts/1    00:00:00 bash
 3634 ?        00:00:06 kworker/6:1
 3641 ?        00:00:00 kworker/u16:1
 3656 ?        00:00:00 kworker/4:0
 3823 ?        00:00:00 kworker/1:3
 3853 ?        00:00:02 kworker/3:3
 5366 ?        00:00:21 gedit
 6895 ?        00:00:00 kworker/6:2
 6971 ?        00:00:00 kworker/2:1
 6986 ?        00:00:05 kworker/4:1
 7785 ?        00:00:01 cgrulesengd
 8364 ?        00:00:04 kworker/2:0
11498 ?        00:00:00 kworker/5:1
12967 ?        00:00:00 kworker/5:2
13134 ?        00:00:00 kworker/5:0
13279 pts/1    00:00:00 ps
root@debian:~/robin# ps -ejH
  PID  PGID   SID TTY          TIME CMD
    2     0     0 ?        00:00:00 kthreadd
    3     0     0 ?        00:00:00   ksoftirqd/0
    5     0     0 ?        00:00:00   kworker/0:0H
    7     0     0 ?        00:00:49   rcu_preempt
    8     0     0 ?        00:00:00   rcu_sched
    9     0     0 ?        00:00:00   rcu_bh
   10     0     0 ?        00:00:00   migration/0
   11     0     0 ?        00:00:00   migration/1
   12     0     0 ?        00:00:00   ksoftirqd/1
   14     0     0 ?        00:00:00   kworker/1:0H
   15     0     0 ?        00:00:00   migration/2
   16     0     0 ?        00:00:00   ksoftirqd/2
   18     0     0 ?        00:00:00   kworker/2:0H
   19     0     0 ?        00:00:00   migration/3
   20     0     0 ?        00:00:00   ksoftirqd/3
   22     0     0 ?        00:00:00   kworker/3:0H
   23     0     0 ?        00:00:00   migration/4
   24     0     0 ?        00:00:00   ksoftirqd/4
   26     0     0 ?        00:00:00   kworker/4:0H
   27     0     0 ?        00:00:00   migration/5
   28     0     0 ?        00:00:00   ksoftirqd/5
   30     0     0 ?        00:00:00   kworker/5:0H
   31     0     0 ?        00:00:00   migration/6
   32     0     0 ?        00:00:00   ksoftirqd/6
   34     0     0 ?        00:00:00   kworker/6:0H
   35     0     0 ?        00:00:00   migration/7
   36     0     0 ?        00:00:00   ksoftirqd/7
   38     0     0 ?        00:00:00   kworker/7:0H
   39     0     0 ?        00:00:00   kdevtmpfs
   40     0     0 ?        00:00:00   netns
   41     0     0 ?        00:00:00   writeback
   42     0     0 ?        00:00:00   ksmd
   43     0     0 ?        00:00:01   khugepaged
   44     0     0 ?        00:00:00   crypto
   45     0     0 ?        00:00:00   kintegrityd
   46     0     0 ?        00:00:00   bioset
   47     0     0 ?        00:00:00   kblockd
   48     0     0 ?        00:00:00   devfreq_wq
   49     0     0 ?        00:00:07   kworker/0:1
   50     0     0 ?        00:00:00   kswapd0
   51     0     0 ?        00:00:00   vmstat
   61     0     0 ?        00:00:00   kthrotld
   63     0     0 ?        00:00:00   ipv6_addrconf
   64     0     0 ?        00:00:00   kworker/0:2
   65     0     0 ?        00:00:00   deferwq
  108     0     0 ?        00:00:00   ata_sff
  110     0     0 ?        00:00:00   kpsmoused
  112     0     0 ?        00:00:02   kworker/7:1
  113     0     0 ?        00:00:02   kworker/1:1
  116     0     0 ?        00:00:00   scsi_eh_0
  117     0     0 ?        00:00:00   scsi_tmf_0
  118     0     0 ?        00:00:00   scsi_eh_1
  119     0     0 ?        00:00:00   scsi_tmf_1
  122     0     0 ?        00:00:00   scsi_eh_2
  123     0     0 ?        00:00:00   scsi_tmf_2
  124     0     0 ?        00:00:00   scsi_eh_3
  125     0     0 ?        00:00:00   scsi_tmf_3
  126     0     0 ?        00:00:00   kworker/u16:4
  128     0     0 ?        00:00:00   scsi_eh_4
  129     0     0 ?        00:00:00   scsi_tmf_4
  130     0     0 ?        00:00:00   scsi_eh_5
  131     0     0 ?        00:00:00   scsi_tmf_5
  134     0     0 ?        00:00:00   bioset
  138     0     0 ?        00:00:00   bioset
  140     0     0 ?        00:00:00   kworker/7:2
  145     0     0 ?        00:00:00   kworker/7:1H
  146     0     0 ?        00:00:00   kworker/0:1H
  147     0     0 ?        00:00:00   kworker/1:1H
  148     0     0 ?        00:00:00   kworker/2:1H
  149     0     0 ?        00:00:00   kworker/3:1H
  150     0     0 ?        00:00:00   kworker/4:1H
  151     0     0 ?        00:00:00   kworker/5:1H
  152     0     0 ?        00:00:00   kworker/6:1H
  153     0     0 ?        00:00:00   kworker/3:2
  175     0     0 ?        00:00:00   jbd2/sda2-8
  176     0     0 ?        00:00:00   ext4-rsv-conver
  211     0     0 ?        00:00:00   kauditd
  477     0     0 ?        00:00:00   edac-poller
  636     0     0 ?        00:00:00   led_workqueue
  681     0     0 ?        00:00:00   kvm-irqfd-clean
  779     0     0 ?        00:00:00   ttm_swap
 1200     0     0 ?        00:00:00   rpciod
 1204     0     0 ?        00:00:00   nfsiod
 1600     0     0 ?        00:00:00   cfg80211
 3634     0     0 ?        00:00:06   kworker/6:1
 3641     0     0 ?        00:00:00   kworker/u16:1
 3656     0     0 ?        00:00:00   kworker/4:0
 3823     0     0 ?        00:00:00   kworker/1:3
 3853     0     0 ?        00:00:02   kworker/3:3
 6895     0     0 ?        00:00:00   kworker/6:2
 6971     0     0 ?        00:00:00   kworker/2:1
 6986     0     0 ?        00:00:05   kworker/4:1
 8364     0     0 ?        00:00:04   kworker/2:0
11498     0     0 ?        00:00:00   kworker/5:1
13134     0     0 ?        00:00:00   kworker/5:0
13302     0     0 ?        00:00:00   kworker/5:2
    1     1     1 ?        00:00:01 systemd
  222   222   222 ?        00:00:02   systemd-journal
  225   225   225 ?        00:00:00   systemd-udevd
  432   207   207 ?        00:00:03   cgrulesengd
 1001  1001  1001 ?        00:00:00   dhclient
 1092  1092  1092 ?        00:00:00   dhclient
 1186  1186  1186 ?        00:00:00   rpcbind
 1195  1195  1195 ?        00:00:00   rpc.statd
 1212  1212  1212 ?        00:00:00   rpc.idmapd
 1214  1214  1214 ?        00:00:00   accounts-daemon
 1216  1216  1216 ?        00:00:00   smartd
 1217  1217  1217 ?        00:00:00   NetworkManager
 1218  1218  1218 ?        00:00:00   conntrackd
 1220  1220  1220 ?        00:00:01   vnstatd
 1226  1226  1226 ?        00:00:00   ModemManager
 1230  1230  1230 ?        00:00:00   cron
 1231  1231  1231 ?        00:00:00   atd
 1233  1233  1233 ?        00:00:00   systemd-logind
 1245  1245  1245 ?        00:00:00   avahi-daemon
 1590  1245  1245 ?        00:00:00     avahi-daemon
 1247  1247  1247 ?        00:00:06   dbus-daemon
 1276  1276  1276 ?        00:00:00   ulogd
 1299  1299  1299 ?        00:00:01   irqbalance
 1300  1300  1300 ?        00:00:11   redis-server
 1329  1329  1329 ?        00:00:00   minissdpd
 1414  1413  1413 ?        00:00:00   hddtemp
 1608  1608  1608 ?        00:00:00   libvirtd
 1609  1609  1609 ?        00:00:00   rsyslogd
 1610  1610  1610 ?        00:00:00   acpid
 1611  1611  1611 ?        00:00:00   cupsd
 1612  1612  1612 ?        00:00:00   cups-browsed
 1617  1617  1617 ?        00:00:00   polkitd
 1625  1625  1625 tty1     00:00:00   agetty
 1642  1642  1642 ?        00:00:00   gdm3
 1667  1667  1667 tty7     00:10:20     Xorg
 2150  1642  1642 ?        00:00:00     gdm-session-wor
 2165  2165  2165 ?        00:00:00       x-session-manag
 2205  2205  2205 ?        00:00:00         ssh-agent
 2244  2165  2165 ?        00:00:01         gnome-settings-
 2306  2165  2165 ?        00:07:54         gnome-shell
 2537  2165  2165 ?        01:29:22           iceweasel
 2354  2165  2165 ?        00:00:00         tracker-miner-u
 2359  2165  2165 ?        00:00:00         evolution-alarm
 2361  2165  2165 ?        00:00:00         deja-dup-monito
 2371  2165  2165 ?        00:00:00         wicd-client
 2375  2165  2165 ?        00:00:02         tracker-miner-f
 2391  2165  2165 ?        00:00:00         tracker-extract
 2392  2165  2165 ?        00:00:00         nm-applet
 2399  2165  2165 ?        00:00:05         zeitgeist-datah
 2400  2165  2165 ?        00:00:00         tracker-miner-a
 2416  2165  2165 ?        00:01:19         nautilus
 2449  2165  2165 ?        00:00:00         applet.py
 1658  1658  1658 ?        00:00:00   colord
 1669  1668  1668 ?        00:00:11   wicd
 1883  1668  1668 ?        00:00:04     wicd-monitor
 1765  1764  1764 ?        00:00:00   dnsmasq
 1766  1764  1764 ?        00:00:00     dnsmasq
 1909  1909  1909 ?        00:00:00   upowerd
 1955  1955  1955 ?        00:00:00   rtkit-daemon
 2006  2006  2006 ?        00:00:00   wpa_supplicant
 2008  2008  2008 ?        00:00:00   packagekitd
 2155  2155  2155 ?        00:00:00   systemd
 2156  2155  2155 ?        00:00:00     (sd-pam)
 2161  2160  2160 ?        00:00:00   gnome-keyring-d
 2208  2165  2165 ?        00:00:00   dbus-launch
 2209  2209  2209 ?        00:00:00   dbus-daemon
 2212  2209  2209 ?        00:00:00   at-spi-bus-laun
 2216  2209  2209 ?        00:00:00     dbus-daemon
 2219  2209  2209 ?        00:00:01   at-spi2-registr
 2226  2209  2209 ?        00:00:00   gvfsd
 2230  2209  2209 ?        00:00:00   gvfsd-fuse
 2257  2256  2256 ?        00:01:09   pulseaudio
 2267  2165  2165 ?        00:00:00   start-pulseaudi
 2268  2165  2165 ?        00:00:00     xprop
 2270  2209  2209 ?        00:00:00   gvfs-udisks2-vo
 2272  2272  2272 ?        00:00:02   udisksd
 2282  2209  2209 ?        00:00:00   gvfs-gphoto2-vo
 2286  2209  2209 ?        00:00:00   gvfs-mtp-volume
 2290  2209  2209 ?        00:00:00   gvfs-afc-volume
 2295  2209  2209 ?        00:00:00   gvfs-goa-volume
 2298  2209  2209 ?        00:00:01   goa-daemon
 2304  2209  2209 ?        00:00:00   mission-control
 2318  2165  2165 ?        00:00:00   gsd-locate-poin
 2320  2165  2165 ?        00:00:00   gsd-printer
 2334  2209  2209 ?        00:00:00   gnome-shell-cal
 2341  2209  2209 ?        00:00:00   evolution-sourc
 2350  2209  2209 ?        00:00:01   gvfsd-metadata
 2358  2209  2209 ?        00:00:00   evolution-calen
 2364  2209  2209 ?        00:00:01   tracker-store
 2407  2209  2209 ?        00:00:00   zeitgeist-daemo
 2413  2209  2209 ?        00:00:00   gconfd-2
 2423  2209  2209 ?        00:00:00   zeitgeist-fts
 2460  2209  2209 ?        00:00:00     cat
 2485  2209  2209 ?        00:00:00   gvfsd-trash
 2511  2209  2209 ?        00:00:00   gvfsd-burn
 2666  2209  2209 ?        00:00:00   dconf-service
 2729  2209  2209 ?        00:00:00   gvfsd-http
 3413  3401  3401 ?        00:00:00   dbus-launch
 3414  3414  3414 ?        00:00:00   dbus-daemon
 3417  3414  3414 ?        00:00:04   gnome-terminal-
 3426  3414  3414 ?        00:00:00     gnome-pty-helpe
 3427  3427  3427 pts/1    00:00:00     bash
13311 13311  3427 pts/1    00:00:00       ps
 3420  3414  3414 ?        00:00:00   gvfsd
 5366  2209  2209 ?        00:00:21   gedit
 7785  7785  7785 ?        00:00:01   cgrulesengd

Plik cgrules.conf

Kod:

*:Xorg                                     cpu,memory            users/xorg/
*:X                                        cpu,memory            users/xorg/
*:firefox                                  cpu,memory,net_cls,blkio    users/firefox/
*:plugin-container                         cpu,memory,net_cls,blkio    users/firefox/
*:opera                                    cpu,memory,net_cls,blkio    users/opera/
*:opera-developer                          cpu,memory,net_cls,blkio    users/opera/
*:webperl                                  cpu,memory,net_cls,blkio    users/opera/
*:gweather-applet-2                        net_cls               users/netout/
*:mateweather-applet-2                     cpu,memory,net-cls    users/mate/
*:qbittorrent                              cpu,memory,net_cls    users/qbittorrent/
*:quiterss                                 cpu,memory,net_cls   users/quiterss/
*:rtmpdump                                 cpu,memory,net_cls   users/rtmpdump/
*:cclive                                   cpu,memory,net_cls   users/cclive/
*:clive                                    cpu,memory,net_cls   users/clive/
*:linphone                                 cpu,memory,blkio,net_cls  users/linphone/
*:pidgin                                   cpu,memory,blkio,net_cls   users/pidgin/
*:psi                                      cpu,memory,blkio,net_cls   users/psi/
*:kopete                                   cpu,memory,blkio,net_cls   users/kopete/
*:kadu                                     cpu,memory,blkio,net_cls     users/kadu/
*:konversation                             cpu,memory,net_cls   users/konversation/
*:akregator                                cpu,memory,net_cls   users/akregator/
*:kdeinit4                                 cpu,memory,net_cls   users/kde/
*:startkde                                 cpu,memory,net_cls   users/kde/
*:krunner                                  cpu,memory,net_cls   users/kde/
*:aria2c                                   cpu,memory,net_cls   users/wget/
*:aria                                     cpu,memory,net_cls   users/wget/
*:liferea                                  cpu,memory,net_cls   users/liferea/
*:vlc                                      cpu,memory,net_cls   users/vlc/
*:mplayer                                  cpu,memory,net_cls   users/mplayer/
*:smplayer                                 cpu,memory,net_cls   users/mplayer/
*:mpv                                      cpu,memory,net_cls   users/mplayer/
*:minitube                                 cpu,memory,net_cls   users/minitube/
*:chrome                                   cpu,memory,blkio,net_cls   users/chrome/
*:google-chrome-beta                       cpu,memory,blkio,net_cls   users/chrome/
*:google-chrome                            cpu,memory,blkio,net_cls   users/chrome/
*:opera                                    cpu,memory,net_cls   users/opera/
*:totem                                    cpu,memory,net_cls   users/totem/
*:tvtime                                   cpu,memory           users/tvtime/
*:kaffeine                                 cpu,memory,net_cls   users/kaffeine/
*:cat                                      cpu,memory            system/cat/
*:thunderbird-bin                          cpu,memory,net_cls,blkio   users/thunderbird/
*:thunderbird                              cpu,memory,net_cls,blkio   users/thunderbird/
*:gajim                                    cpu,memory,net_cls   users/gajim/
*:choqok                                   cpu,memory,net_cls    users/choqok/
*:nethogs                                  cpu,memory,net_cls   system/nethogs/
*:mtr                                      net_cls              system/netmonit/
*:tcpdump                                  net_cls              system/netmonit/
*:snort                                    net_cls              system/netmonit/
*:tracepath                                net_cls              users/netout/
*:tracepath6                               net_cls              users/netout/
*:traceroute-nanog                         net_cls              users/netout/
*:mate-terminal                            cpu,memory,blkio      users/xterm/
*:nc                                       net_cls              users/netout/
*:iptstate                                 cpu,memory           system/iptstate/
*:ssh                                      net_cls              users/netout/
*:ssh-copy-id                              net_cls              users/netout/
*:rsync                                    net_cls              users/netout/
*:freshclam                                net_cls              users/netout/
*:layman                                   net_cls              users/netout/
*:tracepath                                net_cls              users/netout/
*:whois                                    net_cls              users/netout/
*:traceroute                               net_cls              users/netout/
*:wp                                       net_cls              users/netout/
*:lft                                      net_cls              users/netout/
*:nc                                       net_cls              users/netout/
*:lynx                                     net_cls              users/netout/
*:ncsl                                     net_cls              users/netout/
*:openssl                                  net_cls              users/netout/
*:youtube-dl                               net_cls              users/netout/
*:mutt                                     net_cls              users/netout/
*:gpg                                      net_cls              users/netout/
*:nmap                                     net_cls              users/netout/
*:swaks                                    net_cls              users/netout/
*:pilnujdns                                net_cls              users/netout/
*:host                                     net_cls              users/netout/
*:dig                                      net_cls              users/netout/
*:ntpdate                                  net_cls              users/netout/
*:speedtest                                net_cls              users/netout/
*:telnet                                   net_cls              users/netout/
*:gnutls-cli                               net_cls              users/netout/
*:git                                      net_cls              users/netout/
*:hg                                       net_cls              users/netout/
*:svn                                      net_cls              users/netout/
*:freshclam                                net_cls              users/netout/
*:sa-update                                net_cls              users/netout/
*:clamav-unofficial-sigs.sh                net_cls              users/netout/
*:sendxmpp                                 net_cls              users/netout/
*:updatedns                                net_cls              users/netout/
*:freedns                                  net_cls              users/netout/
*:bzr                                      net_cls              users/netout/
*:cvs                                      net_cls              users/netout/
*:g-cpan                                   net_cls              users/netout/
*:cpan                                     net_cls              users/netout/
*:rssperl                                  net_cls              users/netout/
*:youtube-dl                               net_cls              users/netout/
*:ytd                                      net_cls              users/netout/
*:superkaramba                             net_cls              users/netout/
*:debroot                                  net_cls              users/netout/
*:genroot                                  net_cls              users/netout/
*:links                                    net_cls              users/netout/
*:skype                                    cpu,memory,net_cls    voip/skype/
*:skypepulse                               cpu,memory,net_cls    voip/skype/
*:kb2kskype                                cpu,memory            voip/skype/
*:skype-call-recorder                      cpu,memory            voip/skype/
*:pulseaudio                               cpu,memory            voip/skype/
*:mate-doc-prepare                             cpu,memory          users/mate/
*:mate-doc-tool                                cpu,memory          users/mate/
*:caja                                         cpu,memory          users/mate/
*:caja-connect-server                          cpu,memory          users/mate/
*:caja-autorun-software                        cpu,memory          users/mate/
*:caja-file-management-properties              cpu,memory          users/mate/
*:mate-cpufreq-selector                        cpu,memory          users/mate/
*:mate-invest-chart                            cpu,memory          users/mate/
*:mate-doc-common                              cpu,memory          users/mate/
*:mate-autogen                                 cpu,memory          users/mate/
*:mate-default-applications-properties         cpu,memory          users/mate/
*:mate-at-properties                           cpu,memory          users/mate/
*:mate-appearance-properties                   cpu,memory          users/mate/
*:mate-keybinding-properties                   cpu,memory          users/mate/
*:mate-display-properties                      cpu,memory          users/mate/
*:mate-keyboard-properties                     cpu,memory          users/mate/
*:mate-mouse-properties                        cpu,memory          users/mate/
*:mate-window-properties                       cpu,memory          users/mate/
*:mate-network-properties                      cpu,memory          users/mate/
*:mate-thumbnail-font                          cpu,memory          users/mate/
*:mate-font-viewer                             cpu,memory          users/mate/
*:mate-about-me                                cpu,memory          users/mate/
*:mate-typing-monitor                          cpu,memory          users/mate/
*:mate-control-center                          cpu,memory          users/mate/
*:mate-display-properties-install-systemwide   cpu,memory          users/mate/
*:mate-about                                   cpu,memory          users/mate/
*:mate-gsettings-toggle                        cpu,memory          users/mate/
*:mate-conf-import                             cpu,memory          users/mate/
*:mate-panel-test-applets                      cpu,memory          users/mate/
*:mate-desktop-item-edit                       cpu,memory          users/mate/
*:mate-panel                                   cpu,memory          users/mate/
*:mate-session-properties                      cpu,memory          users/mate/
*:mate-session                                 cpu,memory          users/mate/
*:mate-session-save                            cpu,memory          users/mate/
*:mate-wm                                      cpu,memory          users/mate/
*:caja-sendto                                  cpu,memory          users/mate/
*:matedialog                                   cpu,memory          users/mate/
*:mate-volume-control                          cpu,memory          users/mate/
*:mate-system-monitor                          cpu,memory          users/mate/
*:mate-system-log                              cpu,memory          users/mate/
*:mate-search-tool                             cpu,memory          users/mate/
*:mate-dictionary                              cpu,memory          users/mate/
*:mate-screenshot                              cpu,memory          users/mate/
*:mate-disk-usage-analyzer                     cpu,memory          users/mate/
*:mate-panel-screenshot                        cpu,memory          users/mate/
*:mate-settings-daemon                         cpu,memory          users/mate/
*:mate-cpufreq-applet                          cpu,memory          users/mate/
*:wnck-applet                                  cpu,memory          users/mate/
*:multiload-applet-2                           cpu,memory          users/mate/
*:geyes_applet2                                cpu,memory          users/mate/
*:fish-applet                                  cpu,memory          users/mate/
*:notification-area-applet                     cpu,memory          users/mate/
*:clock-applet                                 cpu,memory          users/mate/
*:drivemount_applet2                           cpu,memory          users/mate/
*:trashapplet                                  cpu,memory          users/mate/
*:skartkde                                     cpu,memory          users/kde/
*:startplasmacompositor                        cpu,memory          users/kde/   
*:filezilla                                 cpu,memory,blkio,net_cls      users/firefox/
*:wget                                      cpu,memory,net_cls      users/wget/
*:axel                                      cpu,memory,net_cls      users/axel/
*:aria2c                                    cpu,memory,net_cls      users/aria2/
*:curl                                      cpu,memory,net_cls      users/curl/

Kiedy dokładnie i na której wersji Debiana i SystemD to przestało działać?[/quote]
Od poczatku nic nie zmienialem.


[quote=morfik]Mi działało, przynajmniej w chwili [url=https://morfitronik.pl/ograniczanie-zasobow-procesom-przez-cgroups/]pisania tego artykułu[/url]. xD[/quote]
Jak zwykle u Ciebie swietnie napisane, ja ten artykul czytalem chyba juz 2 lata temu jeszcze na forum.
Przegladanie forum zawsze zaczynam od wpisow Jacekalex albo Twoich.

Ostatnio edytowany przez Novi-cjusz (2016-11-17 20:59:41)


------------------------------------------------------------------------------------
"Inveniam viam aut faciam" : I will either find a way, or I shall make one
"Złoto to pieniądz królów, srebro to pieniądz dżentelmenów, barter to pieniądz chłopów ale dług to pieniądz niewolników."

Offline

 

#5  2016-11-17 21:11:34

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: cgred.service (cgroups v.1) - nie odpala.

Jak dwa lata temu, jak on został przepisany niecały rok temu? xD

Offline

 

#6  2016-11-17 21:13:51

  Novi-cjusz - Użytkownik

Novi-cjusz
Użytkownik
Zarejestrowany: 2013-03-05

Re: cgred.service (cgroups v.1) - nie odpala.

Podalem date "na oko"
Jak dobrze pamietam to na forum byl wczesniej.


------------------------------------------------------------------------------------
"Inveniam viam aut faciam" : I will either find a way, or I shall make one
"Złoto to pieniądz królów, srebro to pieniądz dżentelmenów, barter to pieniądz chłopów ale dług to pieniądz niewolników."

Offline

 

#7  2016-11-17 21:15:13

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: cgred.service (cgroups v.1) - nie odpala.

To nie jest ten sam artykuł. Mówię, że został przepisany od początku.

Offline

 

#8  2016-11-17 21:23:49

  Novi-cjusz - Użytkownik

Novi-cjusz
Użytkownik
Zarejestrowany: 2013-03-05

Re: cgred.service (cgroups v.1) - nie odpala.

[quote=morfik]To nie jest ten sam artykuł. Mówię, że został przepisany od początku.[/quote]
To prawda, tamten byl o ograniczaniu zasobow zarlocznym procesom.
Tak w ogole to napisales kilka artykulow o cgroups (mam je w moim archiwum, na wszelki wypadek)
Cale zycie uczylem sie z kims, tak latwiej, jak musze sam drazyc temat to "boli"

Kod:

 pstree
systemd─┬─ModemManager─┬─{gdbus}
        │              └─{gmain}
        ├─NetworkManager─┬─{NetworkManager}
        │                ├─{gdbus}
        │                └─{gmain}
        ├─accounts-daemon─┬─{gdbus}
        │                 └─{gmain}
        ├─acpid
        ├─agetty
        ├─at-spi-bus-laun─┬─dbus-daemon
        │                 ├─{dconf worker}
        │                 ├─{gdbus}
        │                 └─{gmain}
        ├─at-spi2-registr───{gdbus}
        ├─atd
        ├─avahi-daemon───avahi-daemon
        ├─2*[cgrulesengd]
        ├─colord─┬─{gdbus}
        │        └─{gmain}
        ├─conntrackd
        ├─cron
        ├─cups-browsed
        ├─cupsd
        ├─3*[dbus-daemon]
        ├─2*[dbus-launch]
        ├─dconf-service─┬─{gdbus}
        │               └─{gmain}
        ├─2*[dhclient]
        ├─dnsmasq───dnsmasq
        ├─evolution-calen─┬─{dconf worker}
        │                 ├─{evolution-calen}
        │                 ├─{gdbus}
        │                 ├─{gmain}
        │                 └─3*[{pool}]
        ├─evolution-sourc─┬─{gdbus}
        │                 └─{gmain}
        ├─gconfd-2
        ├─gdm3─┬─Xorg
        │      ├─gdm-session-wor─┬─x-session-manag─┬─applet.py───{gmain}
        │      │                 │                 ├─deja-dup-monito─┬─{dconf w+
        │      │                 │                 │                 └─{gdbus}
        │      │                 │                 ├─evolution-alarm─┬─{cal-cli+
        │      │                 │                 │                 ├─{dconf w+
        │      │                 │                 │                 ├─{evoluti+
        │      │                 │                 │                 └─{gdbus}
        │      │                 │                 ├─gnome-settings-─┬─{dconf w+
        │      │                 │                 │                 ├─{gdbus}
        │      │                 │                 │                 ├─{gmain}
        │      │                 │                 │                 ├─{pool}
        │      │                 │                 │                 └─{threade+
        │      │                 │                 ├─gnome-shell─┬─iceweasel─┬─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           ├─+
        │      │                 │                 │             │           └─+
        │      │                 │                 │             ├─{JS GC Helpe+
        │      │                 │                 │             ├─{JS Sour~ Th+
        │      │                 │                 │             ├─{dconf worke+
        │      │                 │                 │             ├─{gdbus}
        │      │                 │                 │             ├─{gmain}
        │      │                 │                 │             └─{threaded-ml+
        │      │                 │                 ├─nautilus─┬─{dconf worker}
        │      │                 │                 │          ├─{gdbus}
        │      │                 │                 │          └─{gmain}
        │      │                 │                 ├─nm-applet─┬─{dconf worker}
        │      │                 │                 │           └─{gdbus}
        │      │                 │                 ├─ssh-agent
        │      │                 │                 ├─tracker-extract─┬─{dconf w+
        │      │                 │                 │                 ├─{gdbus}
        │      │                 │                 │                 ├─{gmain}
        │      │                 │                 │                 └─10*[{poo+
        │      │                 │                 ├─tracker-miner-a─┬─{gdbus}
        │      │                 │                 │                 └─{gmain}
        │      │                 │                 ├─tracker-miner-f─┬─{dconf w+
        │      │                 │                 │                 ├─{gdbus}
        │      │                 │                 │                 └─{gmain}
        │      │                 │                 ├─tracker-miner-u─┬─{gdbus}
        │      │                 │                 │                 └─{gmain}
        │      │                 │                 ├─wicd-client
        │      │                 │                 ├─zeitgeist-datah─┬─{gdbus}
        │      │                 │                 │                 ├─{gmain}
        │      │                 │                 │                 └─8*[{pool+
        │      │                 │                 ├─{dconf worker}
        │      │                 │                 ├─{gdbus}
        │      │                 │                 └─{gmain}
        │      │                 ├─{gdbus}
        │      │                 └─{gmain}
        │      ├─{gdbus}
        │      ├─{gdm SIGUSR1 cat}
        │      └─{gmain}
        ├─gedit─┬─{dconf worker}
        │       ├─{gdbus}
        │       └─{gmain}
        ├─gnome-keyring-d─┬─{dconf worker}
        │                 ├─{gdbus}
        │                 ├─{gmain}
        │                 └─{timer}
        ├─gnome-shell-cal─┬─{cal-client-dbus}
        │                 ├─{dconf worker}
        │                 ├─{gdbus}
        │                 └─{gnome-shell-cal}
        ├─gnome-terminal-─┬─bash───pstree
        │                 ├─gnome-pty-helpe
        │                 ├─{dconf worker}
        │                 ├─{gdbus}
        │                 └─{gmain}
        ├─goa-daemon─┬─{gdbus}
        │            ├─{gmain}
        │            └─{pool}
        ├─gsd-locate-poin───{gdbus}
        ├─gsd-printer───{gdbus}
        ├─gvfs-afc-volume─┬─{gdbus}
        │                 └─{gvfs-afc-volume}
        ├─gvfs-goa-volume───{gdbus}
        ├─gvfs-gphoto2-vo───{gdbus}
        ├─gvfs-mtp-volume───{gdbus}
        ├─gvfs-udisks2-vo─┬─{gdbus}
        │                 └─{gmain}
        ├─2*[gvfsd───{gdbus}]
        ├─gvfsd-burn───{gdbus}
        ├─gvfsd-fuse─┬─{gdbus}
        │            ├─{gvfs-fuse-sub}
        │            └─2*[{gvfsd-fuse}]
        ├─gvfsd-http─┬─{dconf worker}
        │            └─{gdbus}
        ├─gvfsd-metadata───{gdbus}
        ├─gvfsd-trash─┬─{gdbus}
        │             ├─{gmain}
        │             └─{pool}
        ├─hddtemp
        ├─irqbalance
        ├─libvirtd───10*[{libvirtd}]
        ├─minissdpd
        ├─mission-control─┬─{dconf worker}
        │                 └─{gdbus}
        ├─packagekitd─┬─{gdbus}
        │             └─{gmain}
        ├─polkitd─┬─{gdbus}
        │         └─{gmain}
        ├─pulseaudio─┬─{alsa-sink-ALC89}
        │            ├─{alsa-sink-emu10}
        │            ├─{alsa-source-ALC}
        │            └─{alsa-source-emu}
        ├─redis-server───2*[{redis-server}]
        ├─rpc.idmapd
        ├─rpc.statd
        ├─rpcbind
        ├─rsyslogd─┬─{in:imklog}
        │          ├─{in:imuxsock}
        │          └─{rs:main Q:Reg}
        ├─rtkit-daemon───2*[{rtkit-daemon}]
        ├─smartd
        ├─start-pulseaudi───xprop
        ├─systemd───(sd-pam)
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-udevd
        ├─tracker-store─┬─{dconf worker}
        │               ├─{gdbus}
        │               ├─{gmain}
        │               └─4*[{pool}]
        ├─udisksd─┬─{cleanup}
        │         ├─{gdbus}
        │         ├─{gmain}
        │         └─{probing-thread}
        ├─ulogd
        ├─upowerd─┬─{gdbus}
        │         └─{gmain}
        ├─vnstatd
        ├─wicd───wicd-monitor
        ├─wpa_supplicant
        ├─zeitgeist-daemo───{gdbus}
        └─zeitgeist-fts─┬─cat
                        ├─{gdbus}
                        └─{gmain}

Nie rozumiem:
- dlaczego sa az 2 procesy cgrulesngd?
- jak to mozliwe, ze usluga nie wystartowala a proces jest?

Ostatnio edytowany przez Novi-cjusz (2016-11-17 21:26:48)


------------------------------------------------------------------------------------
"Inveniam viam aut faciam" : I will either find a way, or I shall make one
"Złoto to pieniądz królów, srebro to pieniądz dżentelmenów, barter to pieniądz chłopów ale dług to pieniądz niewolników."

Offline

 

#9  2016-11-17 21:40:31

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: cgred.service (cgroups v.1) - nie odpala.

Może zobacz co w logu pisze, a nie dajesz jakieś bliżej nieoznaczone drzewo procesów. Masz systemctl status i journalctl, to ich używaj.

Offline

 

#10  2016-11-17 21:42:49

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
Zarejestrowany: 2008-01-07

Re: cgred.service (cgroups v.1) - nie odpala.

Kod:

- dlaczego sa az 2 procesy cgrulesngd?
- jak to mozliwe, ze usluga nie wystartowala a proces jest?

Nie wykluczam, że to może być  wynik legendarnej jakości i stabilności SystemD.
Na tym drzewku pisze, że oba procesy popełnił SystemD, ale mogło się to zdarzyć z różnych skryptów startowych.
Może przy instalacji cgroup zainstalował się oryginalny skrypt startowy cgred i te dwa się gryzą.

Zobacz, czy w skrypcie cgstart albo np w /etc/rc.local lub gdzie indziej nie masz wpisu o podniesieniu cgrulesengd.

Ostatnio edytowany przez Jacekalex (2016-11-17 21:44:59)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#11  2016-11-17 22:12:40

  Novi-cjusz - Użytkownik

Novi-cjusz
Użytkownik
Zarejestrowany: 2013-03-05

Re: cgred.service (cgroups v.1) - nie odpala.

Zobacz, czy w skrypcie cgstart[/quote]

Kod:

Unit]
DefaultDependencies=no
Description="CGSTART - Zakładam strukturę grup do cgroup ;)"
Before=cgred.service

[Service]
Type=oneshot
ExecStart=/usr/local/sbin/cgstart
TimeoutSec=0
RemainAfterExit=yes

[Install]
RequiredBy=local-fs.target

albo np w /etc/rc.local lub gdzie indziej nie masz wpisu o podniesieniu cgrulesengd[/quote]

Kod:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
sysctl -p >/dev/null 2>&1
exit 0
/etc/init.d/hddtemp start
/nsm/bro/bin/broctl start

Nic na temat cgrulesngd.
Cgroups bez demona cgroulesngd to jak lysy bez grzebienia (;-)

Ostatnio edytowany przez Novi-cjusz (2016-11-17 22:16:50)


------------------------------------------------------------------------------------
"Inveniam viam aut faciam" : I will either find a way, or I shall make one
"Złoto to pieniądz królów, srebro to pieniądz dżentelmenów, barter to pieniądz chłopów ale dług to pieniądz niewolników."

Offline

 

#12  2016-11-17 23:07:03

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
Zarejestrowany: 2008-01-07

Re: cgred.service (cgroups v.1) - nie odpala.

Kod:

grep cgrules /usr/local/sbin/cgstart

W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#13  2016-11-18 09:15:15

  Novi-cjusz - Użytkownik

Novi-cjusz
Użytkownik
Zarejestrowany: 2013-03-05

Re: cgred.service (cgroups v.1) - nie odpala.

Kod:

root@debian:/home/robin# grep cgrules /usr/local/sbin/cgstart
killall cgrulesengd;
/usr/sbin/cgrulesengd --nodaemon --nolog &

Kod:

grep cgrules /usr/local/sbin/cgstart
killall cgrulesengd;
/usr/sbin/cgrulesengd --nodaemon --nolog &
root@debian:/home/robin# systemctl status cgstart.service
● cgstart.service - "CGSTART - Zakładam strukturę grup do cgroup ;)"
   Loaded: loaded (/etc/systemd/system/cgstart.service; enabled)
   Active: active (exited) since Fri 2016-11-18 07:39:35 GMT; 37min ago
  Process: 208 ExecStart=/usr/local/sbin/cgstart (code=exited, status=0/SUCCESS)
 Main PID: 208 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/cgstart.service
           └─444 /usr/sbin/cgrulesengd --nodaemon --nolog

Nov 18 07:39:35 debian cgstart[208]: /usr/local/sbin/cgstart: line 654: /sy...ry
Nov 18 07:39:35 debian cgstart[208]: cgrulesengd: no process found
Nov 18 07:39:35 debian systemd[1]: Started "CGSTART - Zakładam strukturę gr…;)".
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Hint: Some lines were ellipsized, use -l to show in full.

Kod:

systemctl status cgred.service
● cgred.service - "CGRULESENGD - zaczynam robotę ;)"
   Loaded: loaded (/etc/systemd/system/cgred.service; enabled)
   Active: failed (Result: exit-code) since Fri 2016-11-18 07:39:35 GMT; 39min ago
  Process: 445 ExecStart=/usr/bin/cgrulesengd -n -f - (code=exited, status=203/EXEC)
 Main PID: 445 (code=exited, status=203/EXEC)

Nov 18 07:39:35 debian systemd[1]: Started "CGRULESENGD - zaczynam robotę ;)".
Nov 18 07:39:35 debian systemd[1]: cgred.service: main process exited, code...EC
Nov 18 07:39:35 debian systemd[1]: Unit cgred.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

[quote=morfik]Może zobacz co w logu pisze, a nie dajesz jakieś bliżej nieoznaczone drzewo procesów. Masz systemctl status i journalctl, to ich używaj.[/quote]

Kod:

root@debian:/home/robin#  systemctl status
● debian
    State: degraded
     Jobs: 0 queued
   Failed: 1 units
    Since: Fri 2016-11-18 07:39:31 GMT; 59min ago
   CGroup: /
           ├─1 /sbin/init
           ├─system.slice
           │ ├─avahi-daemon.service
           │ │ ├─1246 avahi-daemon: running [debian.local
           │ │ └─1329 avahi-daemon: chroot helpe
           │ ├─dbus.service
           │ │ └─1250 /usr/bin/dbus-daemon --system --address=systemd: --nofork 
           │ ├─ModemManager.service
           │ │ └─1225 /usr/sbin/ModemManager
           │ ├─cron.service
           │ │ └─1229 /usr/sbin/cron -f
           │ ├─hddtemp.service
           │ │ └─1461 /usr/sbin/hddtemp -d -l 127.0.0.1 -p 7634 -s | /dev/sda
           │ ├─nfs-common.service
           │ │ ├─1193 /sbin/rpc.statd
           │ │ └─1211 /usr/sbin/rpc.idmapd
           │ ├─wpa_supplicant.service
           │ │ └─2112 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
           │ ├─networking.service
           │ │ ├─ 999 dhclient -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/d
           │ │ └─1090 dhclient -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/d
           │ ├─accounts-daemon.service
           │ │ └─1213 /usr/lib/accountsservice/accounts-daemon
           │ ├─conntrackd.service
           │ │ └─1217 /usr/sbin/conntrackd -C /etc/conntrackd/conntrackd.conf
           │ ├─colord.service
           │ │ └─1662 /usr/lib/colord/colord
           │ ├─atd.service
           │ │ └─1232 /usr/sbin/atd -f
           │ ├─systemd-journald.service
           │ │ └─229 /lib/systemd/systemd-journald
           │ ├─minissdpd.service
           │ │ └─1299 /usr/sbin/minissdpd -i 0.0.0.0
           │ ├─udisks2.service
           │ │ └─2308 /usr/lib/udisks2/udisksd --no-debug
           │ ├─upower.service
           │ │ └─1923 /usr/lib/upower/upowerd
           │ ├─cups.service
           │ │ └─3438 /usr/sbin/cupsd -f
           │ ├─packagekit.service
           │ │ └─2114 /usr/lib/packagekit/packagekitd
           │ ├─systemd-logind.service
           │ │ └─1234 /lib/systemd/systemd-logind
           │ ├─libvirtd.service
           │ │ ├─1603 /usr/sbin/libvirtd
           │ │ ├─1765 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/sie
           │ │ └─1766 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/sie
           │ ├─system-getty.slice
           │ │ └─getty@tty1.service
           │ │   └─1625 /sbin/agetty --noclear tty1 linux
           │ ├─wicd.service
           │ │ ├─1671 /usr/bin/python -O /usr/share/wicd/daemon/wicd-daemon.py
           │ │ └─1894 /usr/bin/python -O /usr/share/wicd/daemon/monitor.py
           │ ├─systemd-udevd.service
           │ │ └─219 /lib/systemd/systemd-udevd
           │ ├─polkitd.service
           │ │ └─1617 /usr/lib/policykit-1/polkitd --no-debug
           │ ├─vnstat.service
           │ │ └─1219 /usr/sbin/vnstatd -n
           │ ├─rpcbind.service
           │ │ └─1184 /sbin/rpcbind -w
           │ ├─cups-browsed.service
           │ │ └─1608 /usr/sbin/cups-browsed
           │ ├─NetworkManager.service
           │ │ └─1215 /usr/sbin/NetworkManager --no-daemon
           │ ├─irqbalance.service
           │ │ └─1300 /usr/sbin/irqbalance --pid=/var/run/irqbalance.pid
           │ ├─redis-server.service
           │ │ └─1542 /usr/bin/redis-server 127.0.0.1:6379       
           │ ├─cgstart.service
           │ │ └─444 /usr/sbin/cgrulesengd --nodaemon --nolog
           │ ├─rsyslog.service
           │ │ └─1604 /usr/sbin/rsyslogd -n
           │ ├─smartd.service
           │ │ └─1214 /usr/sbin/smartd -n --interval=1800
           │ ├─gdm.service
           │ │ ├─1633 /usr/sbin/gdm3
           │ │ └─1659 /usr/bin/Xorg :0 -novtswitch -background none -noreset -ve
           │ ├─acpid.service
           │ │ └─1605 /usr/sbin/acpid
           │ ├─rtkit-daemon.service
           │ │ └─1970 /usr/lib/rtkit/rtkit-daemon
           │ └─ulogd2.service
           │   └─1260 /usr/sbin/ulogd --daemon --uid ulog --pidfile /run/ulog/ul
           └─user.slice
             └─user-1000.slice
               ├─user@1000.service
               │ ├─2192 /lib/systemd/systemd --user
               │ └─2194 (sd-pam)  
               └─session-2.scope
                 ├─2184 gdm-session-worker [pam/gdm-password]
                 ├─2199 /usr/bin/gnome-keyring-daemon --daemonize --login
                 ├─2202 x-session-manager
                 ├─2241 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-sess
                 ├─2244 /usr/bin/dbus-launch --exit-with-session x-session-manag
                 ├─2245 /usr/bin/dbus-daemon --fork --print-pid 5 --print-addres
                 ├─2248 /usr/lib/at-spi2-core/at-spi-bus-launcher
                 ├─2252 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessib
                 ├─2255 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-sess
                 ├─2262 /usr/lib/gvfs/gvfsd
                 ├─2266 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_w
                 ├─2280 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
                 ├─2293 /usr/bin/pulseaudio --start
                 ├─2303 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
                 ├─2306 /bin/sh /usr/bin/start-pulseaudio-x11
                 ├─2307 /usr/bin/xprop -root -spy
                 ├─2319 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
                 ├─2323 /usr/lib/gvfs/gvfs-mtp-volume-monitor
                 ├─2327 /usr/lib/gvfs/gvfs-afc-volume-monitor
                 ├─2332 /usr/lib/gvfs/gvfs-goa-volume-monitor
                 ├─2335 /usr/lib/gnome-online-accounts/goa-daemon
                 ├─2341 /usr/lib/telepathy/mission-control-5
                 ├─2343 /usr/bin/gnome-shell
                 ├─2356 /usr/lib/gnome-settings-daemon/gsd-locate-pointer
                 ├─2358 /usr/lib/gnome-settings-daemon/gsd-printer
                 ├─2374 /usr/lib/gnome-shell/gnome-shell-calendar-server
                 ├─2378 /usr/lib/evolution/evolution-source-registry
                 ├─2389 /usr/lib/tracker/tracker-miner-user-guides
                 ├─2390 /usr/lib/evolution/3.12/evolution-alarm-notify
                 ├─2393 /usr/lib/gvfs/gvfsd-metadata
                 ├─2395 /usr/lib/deja-dup/deja-dup-monitor
                 ├─2400 /usr/lib/tracker/tracker-store
                 ├─2403 /usr/lib/evolution/evolution-calendar-factory
                 ├─2404 /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py --
                 ├─2415 /usr/lib/tracker/tracker-miner-fs
                 ├─2420 /usr/lib/tracker/tracker-extract
                 ├─2427 nm-applet
                 ├─2432 zeitgeist-datahub
                 ├─2433 /usr/lib/tracker/tracker-miner-apps
                 ├─2437 /usr/bin/zeitgeist-daemon
                 ├─2447 nautilus -n
                 ├─2453 /usr/lib/x86_64-linux-gnu/zeitgeist-fts
                 ├─2482 /usr/bin/python /usr/share/system-config-printer/applet.
                 ├─2485 /usr/lib/x86_64-linux-gnu/gconf/gconfd-2
                 ├─2505 /bin/cat
                 ├─2540 /usr/lib/gvfs/gvfsd-trash --spawner :1.5 /org/gtk/gvfs/e
                 ├─2571 iceweasel
                 ├─2628 /usr/lib/gvfs/gvfsd-burn --spawner :1.5 /org/gtk/gvfs/ex
                 ├─3563 /usr/lib/dconf/dconf-service
                 ├─4867 dbus-launch --autolaunch=183ae609419249eda1877174200d4df
                 ├─4868 /usr/bin/dbus-daemon --fork --print-pid 5 --print-addres
                 ├─4871 /usr/lib/gnome-terminal/gnome-terminal-server
                 ├─4874 /usr/lib/gvfs/gvfsd
                 ├─4880 gnome-pty-helper
                 ├─4881 bash
                 ├─5635 systemctl status
                 └─5636 systemctl status

W syslogu nic na temat cgred.service lub cgroulesngd daemon nie ma.
Nieprawda, po sprawdzeniu 3000 lini znalazlem:

Kod:

Nov 18 07:39:35 debian kernel: cgroup: cgroup: disabling cgroup2 socket matching due to net_prio or net_cls activation
Nov 18 07:39:35 debian hdparm[231]: Setting parameters of disc: (none).
Nov 18 07:39:35 debian systemd[1]: Started LSB: Tune IDE hard disks.
Nov 18 07:39:35 debian cgstart[208]: /usr/local/sbin/cgstart: line 654: /sys/fs/cgroup//systemd/system.slice/hdparm.service/cgroup.clone_children: No such file or directory
Nov 18 07:39:35 debian cgstart[208]: cgrulesengd: no process found
Nov 18 07:39:35 debian systemd[1]: Started "CGSTART - Zakładam strukturę grup do cgroup ;)".
Nov 18 07:39:35 debian systemd[1]: Starting "CGRULESENGD - zaczynam robotę ;)"...
Nov 18 07:39:35 debian systemd[1]: Started "CGRULESENGD - zaczynam robotę ;)".
Nov 18 07:39:35 debian systemd[445]: Failed at step EXEC spawning /usr/bin/cgrulesengd: No such file or directory
Nov 18 07:39:35 debian systemd[1]: cgred.service: main process exited, code=exited, status=203/EXEC
Nov 18 07:39:35 debian systemd[1]: Unit cgred.service entered failed state.

Przydaloby sie jakies polecenie na konsole, ktore "wylapuje" potrzebne stringi z pliku logow jak "cgred" czy "cgroulesngd"

Ostatnio edytowany przez Novi-cjusz (2016-11-18 09:18:57)


------------------------------------------------------------------------------------
"Inveniam viam aut faciam" : I will either find a way, or I shall make one
"Złoto to pieniądz królów, srebro to pieniądz dżentelmenów, barter to pieniądz chłopów ale dług to pieniądz niewolników."

Offline

 

#14  2016-11-18 10:16:32

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: cgred.service (cgroups v.1) - nie odpala.

Zajrzyj do manuala tych poleceń, które ci dałem, bo tak to nic z tego nie będzie...

Offline

 

#15  2016-11-18 20:07:42

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
Zarejestrowany: 2008-01-07

Re: cgred.service (cgroups v.1) - nie odpala.

No i masz sprawcę:

Kod:

root@debian:/home/robin# grep cgrules 
killall cgrulesengd;
/usr/sbin/cgrulesengd --nodaemon --nolog &

[/quote]
Cgstart po stworzeniu struktury katalogów cgroup i ustawieniu wszystkich wartości dla poszczególnych programów sam odpala demona cgrules.

Albo wywal z usług startowych demona [b]cgred.service[/b], albo zahaszuj w skrypcie [b]/usr/local/sbin/cgstart[/b]

te linie:

Kod:

killall cgrulesengd;
/usr/sbin/cgrulesengd --nodaemon --nolog &

żeby wyglądały tak:

Kod:

###  killall cgrulesengd;
### /usr/sbin/cgrulesengd --nodaemon --nolog &

każde z tych wyjść powinno samodzielnie rozwiązać problem, ale nie oba na raz.

Zrób co napisałem i zrestartuj kompa.

Ostatnio edytowany przez Jacekalex (2016-11-18 20:08:42)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#16  2016-11-18 20:21:38

  Novi-cjusz - Użytkownik

Novi-cjusz
Użytkownik
Zarejestrowany: 2013-03-05

Re: cgred.service (cgroups v.1) - nie odpala.

Zrobilem

Kod:

root@debian:/home/robin# grep cgrules

i po restarcie:

Kod:

root@debian:/home/robin# systemctl enable cgred.service
root@debian:/home/robin# systemctl start cgred.service
root@debian:/home/robin# systemctl status cgred.service
● cgred.service - "CGRULESENGD - zaczynam robotę ;)"
   Loaded: loaded (/etc/systemd/system/cgred.service; enabled)
   Active: failed (Result: exit-code) since Fri 2016-11-18 19:21:28 GMT; 25s ago
  Process: 2711 ExecStart=/usr/bin/cgrulesengd -n -f - (code=exited, status=203/EXEC)
 Main PID: 2711 (code=exited, status=203/EXEC)

Nov 18 19:21:28 debian systemd[1]: Started "CGRULESENGD - zaczynam robotę ;)".
Nov 18 19:21:28 debian systemd[1]: cgred.service: main process exited, code...EC
Nov 18 19:21:28 debian systemd[1]: Unit cgred.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

Tak sobie mysle, ze moga byc tylko 2 glowne przyczyny:
- bledna lokalizacja pliku skryptu startowego albo pliku konfigu.
- bledna tresc pliku skryptu startowego albo pliku konfigu.
Mam teraz:
w folderze .etc
                      - cgconfig.conf - 0 bytes. Dlaczego pusty?
                      - cgrules.conf   - 13.4 kB
w folderze /etc/systemd/system
                      - cgred.service  - 372 bytes
                      - cgstart.service - 254 bytes.

Koncowka pliku .cgstart tak wyglada teraz:

Kod:

chmod 660 $CGDIR/*/*/*/tasks

for release in `ls $CGDIR/*/*/*/notify_on_release`;
do echo 1 >$release; done;

for clone in `ls $CGDIR/*/*/*/cgroup.clone_children`;
do echo 1 >$clone; done;

for hierarchy in `ls $CGDIR/memory/*/*/memory.use_hierarchy`;
do echo 1 >$hierarchy; done;
### killall cgrulesengd;
### /usr/sbin/cgrulesengd --nodaemon --nolog &

Journalctl pokazuje:

Kod:

Nov 18 19:17:27 debian kernel: cgroup: cgroup: disabling cgroup2 socket matching due to net_prio or net_cls activation
Nov 18 19:17:27 debian systemd[1]: Started "CGSTART - Zakładam strukturę grup do cgroup ;)".
Nov 18 19:17:27 debian systemd[1]: Starting "CGRULESENGD - zaczynam robotę ;)"...
Nov 18 19:17:27 debian systemd[1]: Started "CGRULESENGD - zaczynam robotę ;)".
Nov 18 19:17:27 debian systemd[433]: Failed at step EXEC spawning /usr/bin/cgrulesengd: No such file or directory
Nov 18 19:17:27 debian systemd[1]: cgred.service: main process exited, code=exited, status=203/EXEC
Nov 18 19:17:27 debian systemd[1]: Unit cgred.service entered failed state.

Czegos tu brakuje:

Kod:

root@debian:/home/robin# cat /usr/bin/cgrulesengd
cat: /usr/bin/cgrulesengd: No such file or directory

Komenda:

Kod:

cgrulesengd -v -f /var/log/cgrulesengd

przynosi taki log:

Kod:

Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 14820, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 14821, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 15009, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 15010, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 15011, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 15178, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 15179, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 15180, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 3511, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 3512, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 3513, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 3708, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 3709, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 3710, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Cgroup change for PID: 3773, UID: 0, GID: 0, PROCNAME: /bin/cat FAILED! (Error Code: 50002)
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002
Warning: cgroup_attach_task_pid failed: 50002
Warning: failed to apply the rule. Error was: 50002

Jeszcze takie komunikaty:

Kod:

root@debian:/home/robin# systemctl status cgconfig.service
● cgconfig.service - Control Group configuration service
   Loaded: loaded (/etc/systemd/system/cgconfig.service; disabled)
   Active: failed (Result: exit-code) since Sat 2016-11-19 10:30:32 GMT; 49s ago
     Docs: man:cgconfigparser
           man:cgclear
  Process: 7262 ExecStop=/usr/sbin/cgclear -l /etc/cgconfig.conf (code=exited, status=3)
  Process: 7268 ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf (code=exited, status=101)
 Main PID: 7268 (code=exited, status=101)

Nov 19 10:30:32 debian cgconfigparser[7268]: /usr/sbin/cgconfigparser; error loading /etc/cgconfig.conf: Cgroup mounting failed
Nov 19 10:30:32 debian cgconfigparser[7268]: Error: cannot mount cpuset to /cgroup/cpuset: Device or resource busy
Nov 19 10:30:32 debian systemd[1]: cgconfig.service: main process exited, code=exited, status=101/n/a
Nov 19 10:30:32 debian systemd[1]: Failed to start Control Group configuration service.
Nov 19 10:30:32 debian systemd[1]: Unit cgconfig.service entered failed state.
root@debian:/home/robin# journalctl -xn
-- Logs begin at Sat 2016-11-19 08:17:50 GMT, end at Sat 2016-11-19 10:30:32 GMT. --
Nov 19 10:30:32 debian systemd[1]: cgconfig.service: control process exited, code=exited status=3
Nov 19 10:30:32 debian systemd[1]: Unit cgconfig.service entered failed state.
Nov 19 10:30:32 debian systemd[1]: Starting Control Group configuration service...
-- Subject: Unit cgconfig.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cgconfig.service has begun starting up.
Nov 19 10:30:32 debian cgconfigparser[7268]: /usr/sbin/cgconfigparser; error loading /etc/cgconfig.conf: Cgroup mounting failed
Nov 19 10:30:32 debian cgconfigparser[7268]: Error: cannot mount cpuset to /cgroup/cpuset: Device or resource busy
Nov 19 10:30:32 debian systemd[1]: cgconfig.service: main process exited, code=exited, status=101/n/a
Nov 19 10:30:32 debian systemd[1]: Failed to start Control Group configuration service.
-- Subject: Unit cgconfig.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cgconfig.service has failed.
-- 
-- The result is failed.
Nov 19 10:30:32 debian systemd[1]: Dependency failed for CGroup Rules Engine.
-- Subject: Unit cgrulesengd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cgrulesengd.service has failed.
-- 
-- The result is dependency.
Nov 19 10:30:32 debian systemd[1]: Unit cgconfig.service entered failed state.

Mam tylko nadzieje, ze w Debianie 9 takich problemow nie bedzie i cgroups .v2 bedzie smigac.

Ostatnio edytowany przez Novi-cjusz (2016-11-19 12:04:39)


------------------------------------------------------------------------------------
"Inveniam viam aut faciam" : I will either find a way, or I shall make one
"Złoto to pieniądz królów, srebro to pieniądz dżentelmenów, barter to pieniądz chłopów ale dług to pieniądz niewolników."

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.014 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00009 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00091 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.189.182.31' WHERE u.id=1
0.00078 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.189.182.31', 1731780882)
0.00096 SELECT * FROM punbb_online WHERE logged<1731780582
0.00079 SELECT topic_id FROM punbb_posts WHERE id=306937
0.00013 SELECT id FROM punbb_posts WHERE topic_id=29148 ORDER BY posted
0.00078 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=29148 AND t.moved_to IS NULL
0.00006 SELECT search_for, replace_with FROM punbb_censoring
0.00418 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=29148 ORDER BY p.id LIMIT 0,25
0.00134 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=29148
Total query time: 0.01006 s