Uwe Ohse wrote:
> The system is running out of memory during the startup of perl.
Is perl being started by one qmail users (qmails, qmaill, etc)?
with ulimit added to .qmail file:
deferral:
time(seconds)_unlimited
/file(blocks)_unlimited
/data(kbytes)_unlimited
/stack(kbytes)_2097148
/coredump(blocks)_unlimited
/nofiles(descriptors)_1024
/memory(kbytes)_2048
/time(seconds)_unlimited
/file(blocks)_unlimited
/data(kbytes)_2097148
/stack(kbytes)_8192
/coredump(blocks)_unlimited
/nofiles(descriptors)_64
/memory(kbytes)_2048
/ld.so.1:_/usr/bin/perl:_fatal:_/usr/lib/libc.so.1:_mmap_failed:
_Not_enough_space/preline:_fatal:_child_crashed/
there is only one limit set in the qmail startup script:
ulimit -v 2048
Should I just change it to unlimited?
thanks
Lidia
>
> Check your administrative limits, perhaps using this .qmail:
> |ulimit -aH ; ulimit -a
> |preline /var/qmail/alias/forums.ezmlm/filter.pl
> and adjust them in your system startup scripts.
>
> You may also use top (or free, if your system knows that
> command) to see how much memory is free. But note that the
> output of top is misleading at times and consult your system
> administrator on how to interpret these values if in doubt,
> and note that the problem is most likely not free memory but
> some adminstrative limit in your system startup scripts
> or in the shell session used to start qmail.
>
> Regards, Uwe