Elisamuel Resto Donate
2023-Mar-21 03:29 UTC
Error: /proc/self/status is larger than expected
Hello, Writing to get some insight as to how I might rid myself of a the pesky error message on the subject. Every binary throws out that error, every LMTP delivery... basically every time any dovecot binary is executed. I am unsure if this is configuration related or not, but intuition says it is an issue with a kernel feature or compiler issue. I saw the error message in the source code (file ), but I don't understand enough of the dovecot architecture or what the code itself is doing in this case. Below and excerpt of a few lines of logs. Since I don't know what specifically this would relate to (and I don't quite remember the command to send the "safe" version of the configuration), I am sending this message in hopes that whatever is needed can be asked and I will provide it. Regards, -Sam [... postfix and rspamd output...] Mar 20 22:17:02 gaia postfix/qmgr[21403]: 4PgcGQ33LfzdT4h: from=<list at someml.tld>, size=12064, nrcpt=1 (queue active) Mar 20 22:17:02 gaia postfix/smtpd[18941]: disconnect from some.list.server[1.2.3.4] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7 Mar 20 22:17:02 gaia dovecot: lmtp(18954): Error: /proc/self/status is larger than expected Mar 20 22:17:02 gaia dovecot: lmtp(18954): Connect from local Mar 20 22:17:02 gaia dovecot: lmtp(sam at samresto.dev)<18954><vbRKLa4hGWQKSgAAw1YR2w>: Error: /proc/self/status is larger than expected Mar 20 22:17:02 gaia dovecot: message repeated 2 times: [ lmtp(sam at samresto.dev)<18954><vbRKLa4hGWQKSgAAw1YR2w>: Error: /proc/self/status is larger than expected] Mar 20 22:17:02 gaia dovecot: lmtp(sam at samresto.dev)<18954><vbRKLa4hGWQKSgAAw1YR2w>: sieve: msgid=<84cf4a75-db54-f33c-cea2-f4772cd182d8 at samresto.dev>: fileinto action: stored mail into mailbox 'Lists/Folder' Mar 20 22:17:02 gaia dovecot: lmtp(sam at samresto.dev)<18954><vbRKLa4hGWQKSgAAw1YR2w>: Error: /proc/self/status is larger than expected Mar 20 22:17:02 gaia dovecot: indexer-worker(sam at samresto.dev)<18956><vbRKLa4hGWQKSgAAw1YR2w:RtkiMa4hGWQMSgAAw1YR2w>: Error: /proc/self/status is larger than expected Mar 20 22:17:02 gaia postfix/lmtp[18943]: 4PgcGQ33LfzdT4h: to=<sam at samresto.dev>, relay=wyvern.samresto.dev[private/dovecot-lmtp], delay=0.4, delays=0.31/0/0.01/0.07, dsn=2.0.0, status=sent (250 2.0.0 <sam at samresto.dev> vbRKLa4hGWQKSgAAw1YR2w Saved) Mar 20 22:17:02 gaia dovecot: lmtp(18954): Disconnect from local: Logged out (state=READY) Mar 20 22:17:02 gaia dovecot: lmtp(18954): Error: /proc/self/status is larger than expected Mar 20 22:17:02 gaia postfix/qmgr[21403]: 4PgcGQ33LfzdT4h: removed -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20230320/2c989cf1/attachment-0001.htm>
Citeren Elisamuel Resto Donate <sam at samresto.dev>: [ snip ] It might help to check how large /proc/self/status is on your system: # cat /proc/self/status|wc --bytes Here it shows 1381 bytes.
> On 21/03/2023 05:29 EET Elisamuel Resto Donate <sam at samresto.dev> wrote: > > > Hello, > Writing to get some insight as to how I might rid myself of a the pesky error message on the subject. Every binary throws out that error, every LMTP delivery... basically every time any dovecot binary is executed. I am unsure if this is configuration related or not, but intuition says it is an issue with a kernel feature or compiler issue. > I saw the error message in the source code (file ), but I don't understand enough of the dovecot architecture or what the code itself is doing in this case. Below and excerpt of a few lines of logs. Since I don't know what specifically this would relate to (and I don't quite remember the command to send the "safe" version of the configuration), I am sending this message in hopes that whatever is needed can be asked and I will provide it. > > Regards, > -Sam > > > [... postfix and rspamd output...] > Mar 20 22:17:02 gaia postfix/qmgr[21403]: 4PgcGQ33LfzdT4h: from=<list at someml.tld>, size=12064, nrcpt=1 (queue active) > Mar 20 22:17:02 gaia postfix/smtpd[18941]: disconnect from some.list.server[1.2.3.4] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7 > Mar 20 22:17:02 gaia dovecot: lmtp(18954): Error: /proc/self/status is larger than expected > Mar 20 22:17:02 gaia dovecot: lmtp(18954): Connect from local > Mar 20 22:17:02 gaia dovecot: lmtp(sam at samresto.dev)<18954><vbRKLa4hGWQKSgAAw1YR2w>: Error: /proc/self/status is larger than expected > Mar 20 22:17:02 gaia dovecot: message repeated 2 times: [ lmtp(sam at samresto.dev)<18954><vbRKLa4hGWQKSgAAw1YR2w>: Error: /proc/self/status is larger than expected] > Mar 20 22:17:02 gaia dovecot: lmtp(sam at samresto.dev)<18954><vbRKLa4hGWQKSgAAw1YR2w>: sieve: msgid=<84cf4a75-db54-f33c-cea2-f4772cd182d8 at samresto.dev>: fileinto action: stored mail into mailbox 'Lists/Folder' > Mar 20 22:17:02 gaia dovecot: lmtp(sam at samresto.dev)<18954><vbRKLa4hGWQKSgAAw1YR2w>: Error: /proc/self/status is larger than expected > Mar 20 22:17:02 gaia dovecot: indexer-worker(sam at samresto.dev)<18956><vbRKLa4hGWQKSgAAw1YR2w:RtkiMa4hGWQMSgAAw1YR2w>: Error: /proc/self/status is larger than expected > Mar 20 22:17:02 gaia postfix/lmtp[18943]: 4PgcGQ33LfzdT4h: to=<sam at samresto.dev>, relay=wyvern.samresto.dev[private/dovecot-lmtp], delay=0.4, delays=0.31/0/0.01/0.07, dsn=2.0.0, status=sent (250 2.0.0 <sam at samresto.dev> vbRKLa4hGWQKSgAAw1YR2w Saved) > Mar 20 22:17:02 gaia dovecot: lmtp(18954): Disconnect from local: Logged out (state=READY) > Mar 20 22:17:02 gaia dovecot: lmtp(18954): Error: /proc/self/status is larger than expected > Mar 20 22:17:02 gaia postfix/qmgr[21403]: 4PgcGQ33LfzdT4h: removed >Hi! Which distro is this? Aki
On Mon, Mar 20, 2023 at 10:29:59PM -0500, Elisamuel Resto Donate wrote:> Writing to get some insight as to how I might rid myself of a the pesky > error message on the subject. Every binary throws out that error, every > LMTP delivery... basically every time any dovecot binary is executed. I > am unsure if this is configuration related or not, but intuition says it > is an issue with a kernel feature or compiler issue.I have seen a similar issue with kernel 6.1.0 but not with 6.1.1 and did not investigate further. You might want to try different kernel versions. -- Eray
On 3/20/23 21:29, Elisamuel Resto Donate wrote:> Hello,I don't know what the error means or how to get rid of it. But in the replies, I do see something that might indicate a misunderstanding of how /proc works. Every pid will be getting a different file than another pid when it accesses things in /proc/self. You can't apply anything you learn from accessing /proc/self/status in a shell prompt to dovecot, because dovecot gets a different file when it accesses /proc/self/status. Open up two shells on the same system and then do this command in both: ls -al /proc/self You'll see that one shell has a different symlink target than the other. Instead, find the pid for dovecot and look at /proc/NNNNN/status. This command might work: ls -al /proc/`pgrep dovecot`/status Thanks, Shawn