Re: warning: disabling connection caching

2022-12-21 Thread Wietse Venema
Demi Marie Obenour:

Checking application/pgp-signature: FAILURE
-- Start of PGP signed section.
> On 12/20/22 06:13, Wietse Venema wrote:
> > Fourhundred Thecat:
> >> Hello,
> >>
> >> I had this in my logs:
> >>
> >>postfix/master:  warning: process /usr/lib/postfix/sbin/scache pid
> >> 1215 killed by signal 11
> >>postfix/master:  warning: /usr/lib/postfix/sbin/scache: bad command
> >> startup -- throttling
> >>postfix/smtp:  warning: problem talking to service
> >> private/scache: Connection timed out
> >>postfix/smtp:      warning: problem talking to service
> >> private/scache: Connection timed out
> >>postfix/smtp:  warning: disabling connection caching
> >>
> >> as the last line says, connection caching was disabled.
> >>
> >> Is this permanently, or until next restart of thew master process?
> > 
> > Until the smtp client process terminates.
> > 
> >> Also, if I wanted to test scache, how can I trigger it?
> >>
> >> If I send one email to multiple email addresses on same domain, will
> >> this trigger scache? (ie, deliver multiple emails in one connection to
> >> the server?)
> >  
> > Did you build Postfix?
> > 
> > Is this one of those container-optimized libc implementations?
> 
> Should Postfix use an alternate DNS library, instead of the one provided
> by libc?

That is not a requirement. Providing a completent implementation
of a stub resolver, ANSI C, POSIX, etc., is a requirement.

Wietse


Re: warning: disabling connection caching

2022-12-21 Thread Demi Marie Obenour
On 12/20/22 06:13, Wietse Venema wrote:
> Fourhundred Thecat:
>> Hello,
>>
>> I had this in my logs:
>>
>>postfix/master:  warning: process /usr/lib/postfix/sbin/scache pid
>> 1215 killed by signal 11
>>postfix/master:  warning: /usr/lib/postfix/sbin/scache: bad command
>> startup -- throttling
>>postfix/smtp:  warning: problem talking to service
>> private/scache: Connection timed out
>>postfix/smtp:  warning: problem talking to service
>> private/scache: Connection timed out
>>postfix/smtp:  warning: disabling connection caching
>>
>> as the last line says, connection caching was disabled.
>>
>> Is this permanently, or until next restart of thew master process?
> 
> Until the smtp client process terminates.
> 
>> Also, if I wanted to test scache, how can I trigger it?
>>
>> If I send one email to multiple email addresses on same domain, will
>> this trigger scache? (ie, deliver multiple emails in one connection to
>> the server?)
>  
> Did you build Postfix?
> 
> Is this one of those container-optimized libc implementations?

Should Postfix use an alternate DNS library, instead of the one provided
by libc?
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)



OpenPGP_0xB288B55FFF9C22C1.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: warning: disabling connection caching

2022-12-20 Thread Viktor Dukhovni
On Tue, Dec 20, 2022 at 06:28:21AM +0100, Fourhundred Thecat wrote:

> I had this in my logs:
> 
>postfix/master:  warning: process /usr/lib/postfix/sbin/scache pid 1215 
> killed by signal 11

This is the problem, not lack of connection caching.  Perhaps you've
replaced the OpenSSL or other shared libraries that scache was compiled
against, and the ABI changed.

>postfix/master:  warning: /usr/lib/postfix/sbin/scache: bad command 
> startup -- throttling
>postfix/smtp:  warning: problem talking to service private/scache: 
> Connection timed out
>postfix/smtp:  warning: problem talking to service private/scache: 
> Connection timed out
>postfix/smtp:      warning: disabling connection caching

> as the last line says, connection caching was disabled.

This is not a problem, but a good defensive measure to keep going.

> Is this permanently, or until next restart of thew master process?

Neither, because master(8) will eventually unthrottle the service, but
it would likely crash again, so sort of permanently, because
unthrottling won't help.  You have a broken system, or a very unusual
one, which managed to find a bug in scache(8) that nobody else is
running into.

-- 
Viktor.


Re: warning: disabling connection caching

2022-12-20 Thread Matus UHLAR - fantomas

On 20.12.22 06:28, Fourhundred Thecat wrote:

 postfix/master:  warning: process /usr/lib/postfix/sbin/scache pid
1215 killed by signal 11


is this HW machine? Signal 11 indicates HW (usually memory) problems if it 
repeats.

Maybe corrupt filesystem data.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
It's now safe to throw off your computer.


Re: warning: disabling connection caching

2022-12-20 Thread Scott Kitterman



On December 20, 2022 11:40:02 AM UTC, Fourhundred Thecat <400the...@gmx.ch> 
wrote:
>> On 2022-12-20 12:13, Wietse Venema wrote:
>> Fourhundred Thecat:
>> 
>>> Also, if I wanted to test scache, how can I trigger it?
>>> 
>>> If I send one email to multiple email addresses on same domain, will
>>> this trigger scache? (ie, deliver multiple emails in one connection to
>>> the server?)
>> 
>> Did you build Postfix?
>> 
>> Is this one of those container-optimized libc implementations?
>
>no, I am using standard postfix package (3.4.14) on Debian 10
>
>I don't suspect anything wrong with the build, I think something
>unrelated on my system might have been wrong. I have restarted the
>server, and I thought I would trigger scache, to make sure it is working now

You ought to consider installing the available updates.  3.4.23 is available in 
the archive for Debian 10.  Also, if your Postfix is out of date, there are 
probably other things too.  Who knows, maybe even an update that fixes the 
unrelated thing that went wrong.

Scott K


Re: warning: disabling connection caching

2022-12-20 Thread Fourhundred Thecat

> On 2022-12-20 12:13, Wietse Venema wrote:

Fourhundred Thecat:


Also, if I wanted to test scache, how can I trigger it?

If I send one email to multiple email addresses on same domain, will
this trigger scache? (ie, deliver multiple emails in one connection to
the server?)


Did you build Postfix?

Is this one of those container-optimized libc implementations?


no, I am using standard postfix package (3.4.14) on Debian 10

I don't suspect anything wrong with the build, I think something
unrelated on my system might have been wrong. I have restarted the
server, and I thought I would trigger scache, to make sure it is working now


Re: warning: disabling connection caching

2022-12-20 Thread Wietse Venema
Fourhundred Thecat:
> Hello,
> 
> I had this in my logs:
> 
>postfix/master:  warning: process /usr/lib/postfix/sbin/scache pid
> 1215 killed by signal 11
>postfix/master:  warning: /usr/lib/postfix/sbin/scache: bad command
> startup -- throttling
>postfix/smtp:  warning: problem talking to service
> private/scache: Connection timed out
>postfix/smtp:  warning: problem talking to service
> private/scache: Connection timed out
>    postfix/smtp:  warning: disabling connection caching
> 
> as the last line says, connection caching was disabled.
> 
> Is this permanently, or until next restart of thew master process?

Until the smtp client process terminates.

> Also, if I wanted to test scache, how can I trigger it?
> 
> If I send one email to multiple email addresses on same domain, will
> this trigger scache? (ie, deliver multiple emails in one connection to
> the server?)
 
Did you build Postfix?

Is this one of those container-optimized libc implementations?

Wietse


warning: disabling connection caching

2022-12-19 Thread Fourhundred Thecat

Hello,

I had this in my logs:

  postfix/master:  warning: process /usr/lib/postfix/sbin/scache pid
1215 killed by signal 11
  postfix/master:  warning: /usr/lib/postfix/sbin/scache: bad command
startup -- throttling
  postfix/smtp:  warning: problem talking to service
private/scache: Connection timed out
  postfix/smtp:  warning: problem talking to service
private/scache: Connection timed out
  postfix/smtp:  warning: disabling connection caching

as the last line says, connection caching was disabled.

Is this permanently, or until next restart of thew master process?

Also, if I wanted to test scache, how can I trigger it?

If I send one email to multiple email addresses on same domain, will
this trigger scache? (ie, deliver multiple emails in one connection to
the server?)


thank you