landscape-client consumes too much memory and CPU time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
New
|
Low
|
Unassigned | ||
landscape-client (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
A customer complained that, compared to MySQL and Apache, landscape-client consumes too much resources, particularly memory. Here is the "top" output the customer sent:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6253 landscap 20 0 33780 12m 3780 S 0 1.3 380:10.31 landscape-monit
6246 root 20 0 13960 3648 1312 S 1 0.4 272:38.24 landscape-clien
6251 landscap 20 0 124m 53m 4408 S 0 5.2 266:37.10 landscape-broke
6256 root 20 0 30796 6816 3700 S 0 0.7 171:29.33 landscape-manag
3403 root 15 -5 0 0 0 S 0 0.0 102:56.88 kjournald
5705 messageb 20 0 2968 1536 912 S 0 0.1 69:50.66 dbus-daemon
5964 mysql 20 0 124m 5056 4064 S 0 0.5 53:37.92 mysqld
6068 snmp 20 0 8584 2452 1684 S 0 0.2 31:40.23 snmpd
6137 haldaemo 20 0 30588 22m 2580 S 0 2.3 19:32.14 hald
6140 root 20 0 8784 2768 1388 S 0 0.3 6:25.22 console-kit-dae
5665 syslog 20 0 2036 796 648 S 0 0.1 3:54.30 syslogd
1751 root 15 -5 0 0 0 S 0 0.0 3:49.43 scsi_eh_1
6231 root 20 0 3304 924 844 S 0 0.1 3:29.79 hald-addon-stor
5327 ntp 20 0 4124 868 756 S 0 0.1 3:24.69 ntpd
6 root RT -5 0 0 0 S 0 0.0 2:58.15 migration/1
3 root RT -5 0 0 0 S 0 0.0 2:55.40 migration/0
9678 root 20 0 29156 14m 5868 S 0 1.5 2:27.08 apache2
This is on a hardy system.
Changed in landscape-client: | |
importance: | Undecided → Low |
summary: |
- landscape-client consumes too much memory + landscape-client consumes too much memory and CPU time |
I wonder what memory use is like 4h into operation compared to after
many days of operation. In other words, could we improve the
situation by restarting the client every 6h. One thing that will
affect the broker is message size.