> On Mar 21, 2018, at 5:16 PM, Stephan Bosch <[email protected]> wrote:
> 
> Those knobs depend a on your config. If there is truly some resource
> limit causing this, it could be the vsz_limit of the (parent) process
> invoking your program. Which service is doing that depends on your
> config, either LMTP, the script service (when you're using socket
> programs), or dovecot-lda (so, basically your MTA - not controlled by
> Dovecot obviously).
> 
> https://wiki.dovecot.org/Services#Service_limits
> 
> Regards,
> 
> Stephan.

Indeed it was vsz_limit. I set it to zero (under service lmtp) and now the 
script works.

However I’m noticing a couple things:

1) I previously had the vsz_limit unset, and subsequently set to 256M; neither 
worked.

2) I wrote a test script that just ran in a loop appending to a string and 
printing to stderr how long the string was; it was killed after it reported 
accumulating about 2MB.

Weird? or normal?

--
Dorian Taylor
Make things. Make sense.
https://doriantaylor.com

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to