You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I removed the other message about my profile names (for privacy) - 10 other message of the same content.
These are firefox profiles which have this file in it:
lrwxrwxrwx 1 ncu1 ncu1 17 2024-07-22 21:58:54 /home/ncu1/.mozilla/firefox/profiles/test/lock -> 192.168.26.160:+2
I changed /etc/default/vmtouch to exclude the file:
VMTOUCH_OPTIONS="-t -w -f -d -l -m 1G -i lock"
But it does not change the messages.
Calling vmtouch without arguments returns this message:
vmtouch: no files or directories specified
BUT the man file says:
"With no options, vmtouch will not read from (touch) any memory pages. It will only use mincore(2) to determine how many pages of each file are actually resident in memory. Before exiting, it will print a summary of the total pages encountered and how many were resident"
This does not work and even the man file does not explain what FILES OR DIRECTORIES really means.
If I invoke it like this (regard the path in my config): $ vmtouch /home/ncu1/.mozilla/firefox/profiles vmtouch: WARNING: symbolic link loop detected: /home/ncu1/.mozilla/firefox/profiles/temp vmtouch: WARNING: symbolic link loop detected: /home/ncu1/.mozilla/firefox/profiles/test Files: 0 Directories: 1 Resident Pages: 0/0 0/0 Elapsed: 0.000691 seconds
It reapeats the link warning and the output indicates, vmtouch is dysfunctional (FILES: 0).
But using: $ vmtouch /home/ncu1/.mozilla/firefox/profiles/* Files: 34302 Directories: 25399 Resident Pages: 358/476925 1M/1G 0.0751% Elapsed: 15.249 seconds
(It repeates the link warning which I removed again).
This indicates it is working, but this is not described in the man file.
The man file is a PITA - see above and is does not explain how to specify a path (see my wildcard above)
and specifying a subdir show also files and directories.
There is no man file for /etc/default/vmtouch and how to specify an exclude - this is vage and it obvious
not working. It is even not clear, if using "-t -w" will work and a difference between calling vmtouch and
looking into man file (which does not mention "-w"). This might mean, the inside the systemd unit
an additional command (PostExec) has to be given probably.
The man file does not describe the output format:
Resident Pages: 74/94942 296K/370M 0.0779%
Any help would be great.
The text was updated successfully, but these errors were encountered:
Using debian11, kernel 5.10, vmtouch
Changed /etc/default/vmtouch, only the following lines:
ENABLE_VMTOUCH=yes
VMTOUCH_USER_GROUP=ncu1:users
VMTOUCH_FILES="/home/ncu1/.mozilla/firefox/profiles"
VMTOUCH_OPTIONS="-t -w -f -d -l -m 1G"
systemctl restart vmtouch
systemctl status vmtouch:
`● vmtouch.service - LSB: Start vmtouch daemon
Loaded: loaded (/etc/init.d/vmtouch; generated)
Active: active (running) since Sun 2024-09-08 22:58:24 CEST; 4s ago
Docs: man:systemd-sysv-generator(8)
Process: 2588530 ExecStart=/etc/init.d/vmtouch start (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 38532)
Memory: 228.0K
CPU: 16ms
CGroup: /system.slice/vmtouch.service
└─2588534 /usr/bin/vmtouch -t -w -f -d -l -m 1 /home/ncu1/.mozilla/firefox/profiles
Sep 08 22:58:24 deb11c1 vmtouch[2588534]: vmtouch: WARNING: symbolic link loop detected: /home/ncu1/.mozilla/firefox/profiles/test
Sep 08 22:58:24 deb11c1 vmtouch[2588534]: LOCKED 0 pages (0)
Sep 08 22:58:24 deb11c1 systemd[1]: Started LSB: Start vmtouch daemon.
Sep 08 22:58:24 deb11c1 vmtouch[2588530]: vmtouch.`
I removed the other message about my profile names (for privacy) - 10 other message of the same content.
These are firefox profiles which have this file in it:
lrwxrwxrwx 1 ncu1 ncu1 17 2024-07-22 21:58:54 /home/ncu1/.mozilla/firefox/profiles/test/lock -> 192.168.26.160:+2
I changed /etc/default/vmtouch to exclude the file:
VMTOUCH_OPTIONS="-t -w -f -d -l -m 1G -i lock"
But it does not change the messages.
Calling vmtouch without arguments returns this message:
vmtouch: no files or directories specified
BUT the man file says:
"With no options, vmtouch will not read from (touch) any memory pages. It will only use mincore(2) to determine how many pages of each file are actually resident in memory. Before exiting, it will print a summary of the total pages encountered and how many were resident"
This does not work and even the man file does not explain what FILES OR DIRECTORIES really means.
If I invoke it like this (regard the path in my config):
$ vmtouch /home/ncu1/.mozilla/firefox/profiles vmtouch: WARNING: symbolic link loop detected: /home/ncu1/.mozilla/firefox/profiles/temp vmtouch: WARNING: symbolic link loop detected: /home/ncu1/.mozilla/firefox/profiles/test Files: 0 Directories: 1 Resident Pages: 0/0 0/0 Elapsed: 0.000691 seconds
It reapeats the link warning and the output indicates, vmtouch is dysfunctional (FILES: 0).
But using:
$ vmtouch /home/ncu1/.mozilla/firefox/profiles/* Files: 34302 Directories: 25399 Resident Pages: 358/476925 1M/1G 0.0751% Elapsed: 15.249 seconds
(It repeates the link warning which I removed again).
This indicates it is working, but this is not described in the man file.
The man file is a PITA - see above and is does not explain how to specify a path (see my wildcard above)
and specifying a subdir show also files and directories.
There is no man file for /etc/default/vmtouch and how to specify an exclude - this is vage and it obvious
not working. It is even not clear, if using "-t -w" will work and a difference between calling vmtouch and
looking into man file (which does not mention "-w"). This might mean, the inside the systemd unit
an additional command (PostExec) has to be given probably.
The man file does not describe the output format:
Resident Pages: 74/94942 296K/370M 0.0779%
Any help would be great.
The text was updated successfully, but these errors were encountered: