Hello,
first of all: sorry for not using code tags. I thought it is not required in this case and frankly, that is not really an improvement in the posts readability when you are using a news reader.
However, when requested, I will comply…
>> Hello,
>> I have a probem on a laptop I use, a MacBook Pro running openSUSE
>> Tumbleweed. I do not see this issue on any other system, also not on a
>> second MacBook. It is not a new problem, have seen that stuff for month
>> now, I never noticed any negative impact. However I cannot find out
>> where those messages come from in the system log file:
>> …]
>> Jul 23 14:45:30 balder pidof[7161]: can't read from 7173/stat
>> Jul 23 14:45:50 balder pidof[7526]: can't read from 7542/stat
>> Jul 23 14:46:42 balder pidof[8477]: can't read from 8415/stat
>> Jul 23 14:46:46 balder pidof[8540]: can't read from 8503/stat
>> Jul 23 14:47:02 balder pidof[8826]: can't read from 8828/stat
>> Jul 23 14:47:50 balder pidof[9667]: can't read from 9673/stat
>> Jul 23 14:47:54 balder pidof[9768]: can't read from 9748/stat
>> Jul 23 14:48:06 balder pidof[9969]: can't read from 9958/stat
>> Jul 23 14:49:54 balder pidof[11908]: can't read from 11902/stat
>> Jul 23 14:50:01 balder pidof[12052]: can't read from 12059/stat
>> ...]
I cannot even find out what type of process causes this, when the
message appears both the reading and the read process have already
gone.
Well, the process that causes that is “pidof”, which is been called by something else 
True, my question was indeed not really precise at that point 
It is not a kernel message. And I think it is trying to read from “/proc/PIDNUMBER/stat”, and
failing for some reason; perhaps the process in question has died by the time pidof is queried.
That is what I assumed.
If you get a lot of those, you can temporarily rename the pidof binary and see what complain
you get. Or block it with AA so that you get a report. If you want to try the AA route I’ll
post more details on that from my notes.
Good point.
I had a try and I am confused again about the result:
I made a trivial bash script meant to dump those calls to ‘pidof’ into a file, appending the name of the parent process of each call. My hope was to learn which application / process is the one actually doing the calls that fail. This would be a good starting point to find out what might be wrong. That script:
#!/bin/bash
parent=`ps -ocommand= -p $PPID | awk -F/ '{print $NF}' | awk '{print $1}'`
echo $parent >> /root/pidof-dump
I tested it by calling it directly from cli and verified that it indeed dumped the name of my calling shell into /root/pidof-dump. Next I checked where pidof is located. On my system it is located at two places: /bin/pidof and /sbin/pidof, both being symlinks to /sbin/killall5, as expected. I replaced the symlinks to point at my script and started tailing on a) the dump file and b) the system log file. As expected no more entries in the system log, however also no entries in the dump file. Hm. The moment I changed the links back again the entries in the system log started appearing again.
So I am just back where I started, unable to tell what process actually causes the entries.
Argh !