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  2019-12-13 20:52:38

  wpalec - Nowy użytkownik

wpalec
Nowy użytkownik
Zarejestrowany: 2019-12-13

Wyciek ramu?

Witam wszystkich. To mój pierwszy post tutaj i dlatego też proszę o wyrozumiałość.
Do rzeczy. Znalazłem stary komputer i z nudów postanowiłem go reanimować. Z racji że jest w nim stara integra Nvidii 6100 wybór padł na Debian Stretch 9.11, ażeby mieć do tego stery 304 w repozytoriach. Zainstalowałem drivery i wszystko jest ok do momentu, gdy loguje się manualnie przez lightdm wpisując login i hasło. Gdy zedytuje configa lightdm pod autologowanie lub zmienię menadżer na jakiś inny np. Slim lub Lxdm to widzę wzrost zużycia ramu szczególnie przez nm-applet. Niby niewiele, jakieś 20-30 mb, ale zastanawiam się w czym jest rzecz?
Pozdrawiam.

Ostatnio edytowany przez wpalec (2019-12-13 20:54:18)

Offline

 

#2  2019-12-13 22:11:39

  urbinek - Dzban Naczelny

urbinek
Dzban Naczelny
Skąd: Sosnowiec
Zarejestrowany: 2009-10-01
Serwis

Re: Wyciek ramu?

Programy mają tendencję do używania pamięci ram w zależności od tego co robią.

Wycieki pamięci są bardziej drastyczne :)


A w wolnym czasie, robię noże :)
http://nginx.urbinek.eu/_photos/signature.png

Offline

 

#3  2019-12-14 05:10:57

  wpalec - Nowy użytkownik

wpalec
Nowy użytkownik
Zarejestrowany: 2019-12-13

Re: Wyciek ramu?

Tylko jaka jest różnica pracy nm-appletu w tych sytuacjach? Gdy loguje się manualnie w lightdm, na starcie jak i później po godzinach działania systemu zużywa mi ok. 20 mb.
Przy autologinie lightdm i innych dm od razu jest ok 50 mb.

Ostatnio edytowany przez wpalec (2019-12-14 08:57:49)

Offline

 

#4  2019-12-14 10:51:21

  urbinek - Dzban Naczelny

urbinek
Dzban Naczelny
Skąd: Sosnowiec
Zarejestrowany: 2009-10-01
Serwis

Re: Wyciek ramu?

Zasadnicza.

Nie jestem developerem tej aplikacji więc ci nie powiem co robi ta aplikacja, musiał byś zgłosić to ba stronę projektu albo samemu zrobić code review tego apletu.


Ciekawi mnie tylko czemu się tym przejmujesz?


A w wolnym czasie, robię noże :)
http://nginx.urbinek.eu/_photos/signature.png

Offline

 

#5  2019-12-14 11:29:36

  wpalec - Nowy użytkownik

wpalec
Nowy użytkownik
Zarejestrowany: 2019-12-13

Re: Wyciek ramu?

Zwyczajnie, nigdy wcześniej nie miałem takiego przypadku, ażeby autologin ingerował w aplikacje. Muszę pogrzebać chyba w konfie lightdm. System był instalowany z XFCE, który to zastąpiłem LXDE. Być może jest gdzieś jeszcze odwołanie ze starego środowiska i podwójnie męczy network-manager-gnome.

Offline

 

#6  2019-12-14 12:18:21

  urbinek - Dzban Naczelny

urbinek
Dzban Naczelny
Skąd: Sosnowiec
Zarejestrowany: 2009-10-01
Serwis

Re: Wyciek ramu?

Wystarczy, że środowisko używa innej wersji tej samej biblioteki ba, wystarczy inaczej skonfigurowany kompilator i masz inaczej ustawione zarządzanie pamięci.


A w wolnym czasie, robię noże :)
http://nginx.urbinek.eu/_photos/signature.png

Offline

 

#7  2019-12-14 13:24:59

  wpalec - Nowy użytkownik

wpalec
Nowy użytkownik
Zarejestrowany: 2019-12-13

Re: Wyciek ramu?

Przy okazji wrzucam log, w którym wyskakuje warning z modem-manager-gui, który tez dostal dodatkowe 20-30mb przy starcie z autologinu.
No tak,  ale jak wyjaśnić to, że wpisując login i hasło z ręki te dwa programy używają normalne ilości pamięci?
Przecież to jest to samo DE. Hmm. Może coś z systemd.

Kod:

** Message: environement.vala:58: Exporting primary_variable
** Message: environement.vala:59: desktop_environnement XDG_CURRENT_DESKTOP
** Message: environement.vala:150: confir_dirs is null, export : /etc/xdg
** Message: environement.vala:184: Exporting XDG_CONFIG_DIRS
** Message: environement.vala:218: custom_data :/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:
** Message: environement.vala:219: data_dirs :/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
** Message: environement.vala:220: data_dirs not null, export : /usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
** Message: environement.vala:225: Exporting XDG_DATA_DIRS
** Message: utils.vala:68: User config used : /home/wstopek/.config/lxsession/LXDE/desktop.conf
** Message: utils.vala:89: Final file used : /home/wstopek/.config/lxsession/LXDE/desktop.conf
** Message: settings.vala:540: Key file does not have key 'iGtk/ColorScheme' in group 'GTK'
** Message: settings.vala:540: Key file does not have key 'windows_manager/session' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'windows_manager/extras' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'panel/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'dock/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'file_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'desktop_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'launcher_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'composite_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'im1/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'im2/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'widget1/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'notification/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'keybindings/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'im_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'screensaver/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'power_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'audio_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'workspace_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'screenshot_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'message_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'upgrade_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'updates_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'updates_manager/timeout' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'crash_manager/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'crash_manager/dev_mode' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'crash_manager/timeout' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'upstart_user_session' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'proxy_manager/http' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'a11y/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'xrandr/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'network_gui/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'webbrowser/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'email/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'pdf_reader/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'video_player/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'audio_player/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'images_display/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'text_editor/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'archive/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'charmap/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'calculator/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'spreadsheet/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'bittorent/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'document/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'webcam/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'burn/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'notes/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'disk_utility/command' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'tasks/command' in group 'Session'
** Message: settings.vala:540: Key file does not have group 'Keymap'
** Message: settings.vala:540: Key file does not have key 'gnome' in group 'Dbus'
** Message: settings.vala:540: Key file does not have key 'type' in group 'Environment'
** Message: settings.vala:540: Key file does not have key 'ubuntu_menuproxy' in group 'Environment'
** Message: settings.vala:540: Key file does not have key 'toolkit_integration' in group 'Environment'
** Message: settings.vala:540: Key file does not have key 'gtk/overlay_scrollbar_disable' in group 'Environment'
** Message: settings.vala:540: Key file does not have key 'qt/force_theme' in group 'Environment'
** Message: settings.vala:540: Key file does not have key 'qt/platform' in group 'Environment'
** Message: settings.vala:462: Monitoring: /home/wstopek/.config/lxsession/LXDE/desktop.conf
** Message: settings.vala:466: Desktop file is already in config home, do nothing
** Message: settings.vala:373: Settings default for Session, launcher_manager, command : lxpanelctl
** Message: environement.vala:79: Exporting variable
** Message: environement.vala:80: desktop_environnement XDG_CURRENT_DESKTOP
** Message: environement.vala:177: custom_config :
** Message: environement.vala:178: config_dirs :/etc/xdg
** Message: environement.vala:179: confir_dirs not null, export : /etc/xdg
** Message: environement.vala:184: Exporting XDG_CONFIG_DIRS
** Message: environement.vala:218: custom_data :
** Message: environement.vala:219: data_dirs :/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
** Message: environement.vala:220: data_dirs not null, export : /usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
** Message: environement.vala:225: Exporting XDG_DATA_DIRS
** Message: utils.vala:68: User config used : /home/wstopek/.config/lxsession/LXDE/desktop.conf
** Message: utils.vala:89: Final file used : /home/wstopek/.config/lxsession/LXDE/desktop.conf
** Message: environement.vala:254: No entry in [Environment_variable]. Key file does not have group 'Environment_variable'
** Message: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
xprop:  no such property "_NET_NUMBER_OF_DESKTOPS"
xprop:  no such property "_NET_DESKTOP_NAMES"
** Message: utils.vala:85: System system path location : /etc/xdg/lxsession/LXDE/conffiles.conf
** Message: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/conffiles.conf
** Message: options.vala:164: Activate xsettings_manager build-in
** Message: utils.vala:68: User config used : /home/wstopek/.config/lxsession/LXDE/desktop.conf
** Message: utils.vala:89: Final file used : /home/wstopek/.config/lxsession/LXDE/desktop.conf
** Message: app.vala:721: polkit separate
** Message: app.vala:721: polkit separate
** Message: app.vala:76: Launching lxpolkit 
** Message: utils.vala:68: User config used : /home/wstopek/.config/lxsession/LXDE/autostart
** Message: utils.vala:89: Final file used : /home/wstopek/.config/lxsession/LXDE/autostart
** Message: autostart.vala:42: Autostart path : /home/wstopek/.config/lxsession/LXDE/autostart
** Message: app.vala:76: Launching lxpanel 
** Message: app.vala:76: Launching pcmanfm 

** (lxsession:420): WARNING **: app.vala:86: Failed to execute child process "xscreensaver" (Nie ma takiego pliku ani katalogu)

** (lxsession:420): WARNING **: app.vala:87: Error when launching xscreensaver
** Message: options.vala:107: Create build-in Clipboard
** Message: main.vala:442: Check keymap_mode (null)
** Message: app.vala:76: Launching /usr/bin/ssh-agent 
SSH_AUTH_SOCK=/tmp/ssh-O4exj2gODPCQ/agent.542; export SSH_AUTH_SOCK;
SSH_AGENT_PID=544; export SSH_AGENT_PID;
echo Agent pid 544;
** Message: app.vala:130: /usr/bin/ssh-agent exit with this type of exit: 0
** Message: x-terminal-emulator has very limited support, consider choose another terminal
** Message: x-terminal-emulator has very limited support, consider choose another terminal
Activating service name='org.a11y.atspi.Registry'
Openbox-Message: Nie można znaleźć prawidłowego pliku menu "/usr/share/lxde/openbox/menu.xml"
Successfully activated service 'org.a11y.atspi.Registry'

** (modem-manager-gui:548): WARNING **: Modem Manager >= 0.7.0: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.17" (uid=1000 pid=548 comm="modem-manager-gui ") interface="org.freedesktop.ModemManager1.Modem.Contacts" member="GetCount" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=330 comm="/usr/sbin/ModemManager ")
lxtask
pcmanfm 
leafpad '/home/wstopek/.cache/lxsession/LXDE/run.log'

EDIT
Zrobiłem reinstall systemu i problem nadal występuje. Odkryłem też, że zniszczenie tych 'pogrubionych' procesów i odpalenie ich z konsoli przydziela normalną ilość pamięci.

Ostatnio edytowany przez wpalec (2019-12-15 12:41:31)

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)