[ please cc the list when responding ]

>       Thanks for your response.
>
> On Tue, 24 Jan 2006, Fred Moyer wrote:
>
>> >    When I link /home/smtpd/qpsmtpd to /service/qpsmtpd, I get the
>> > following in the log file:
>> >
>> > @4000000043d65cf2353dd83c Out of memory!
>> > @4000000043d65cf235423954 Callback called exit at ./qpsmtpd-forkserver
>> > line 13.
>>
>> I ran into the 'Out of memory!' error the first time I setup 0.31.
>> Check
>> to make sure that you have set config/spool_dir to an existing directory
>> or that $HOME/tmp exists.  Also ensure that your qpsmtpd directory is
>> owned by the user you are starting qpsmtpd as and that you have run
>> 'chmod
>> o+t' on that directory.  I can't remember exactly what caused the issue
>> but I think it was a lack of an existing spool_dir.
>
>       Interesting. The 'Changes' document says that if a spool_dir does
> not exist, it will be created. I presume that is a generic name that is
> intended to refer to the $HOME/tmp/ directory. When you refer to "set
> config/spool_dir", are you saying that I should have a file by that name,
> with a single line with a path to the tmp directory?
>
> ls -l /home/smtpd | grep tmp
>
> drwx------   2 smtpd smtpd  48 Jan 14 21:05 tmp/
>
>       Am I not sure where to go from here :-/

Indeed, you have an existing spool directory with the proper permissions. 
When I said 'set config/spool_dir', I meant create a file in the config
directory named spool_dir and put one line in it with the absolute path to
the spool directory.  But you already have an existing spool directory.

There was a previous entry in the archives regarding an out of memory
issue, but it looks like it went unresolved.
http://www.nntp.perl.org/group/perl.qpsmtpd/3595

I'll do another install from scratch tonight to attempt to replicate this.
As I recall it was independent of what mechanism was used to start
qpsmtpd, but I encountered it at least once before I figured out what was
causing it, so there's a good chance I can replicate it.

Reply via email to