[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OOM Web Stuff

At 10:09 PM 1/20/00 -0700, Jason Gunthorpe wrote:

Hi all,

Masters recent hard crashes have been caused by the Web WML Program
forcing the machine to go OOM and die horribly. I have tracked this down
to the exact wml causing this:

cd . && wml -q -D CUR_YEAR=2000 -o UNDEFuRO:index.ro.html   index.wml \
ePerl:Error: Perl runtime error (interpreter rc=1)

---- Contents of STDERR channel: ---------
Out of memory!
Out of memory!
Out of memory!
** WML:Break: Error in Pass 3 (rc=1).
make: *** [index.ro.html] Error 1

So someone fix it :P

Furthermore - I have put a `ulimit -m 90000 -d 90000 -s 10000 -v 90000' in
Guy's cronjob. I have tested this running the web scripts and it does
properly prevent WML from blowing up - hopefully it will work correctly
when placed in the cron job.

IMPORTANT: Everytime WML does this master *CRASHES HARD* I don't know why
Linux freaks out like this (we will upgrade kernels tomorrow). I STRONGLY
recommend someone take this file and set it aside and *FIX* WML so it
-NEVER- -EVER- does this again!!

This means, don't even *THINK* about running wml on master without having
run the ulimit above first, and if you think wml is going to loose it then
you better run top 'M' in another window and kill it fast in case the
ulimit screws up.


To UNSUBSCRIBE, email to debian-www-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

I will remove the index from the build, but there is nothing special in the index.wml file!

Reply to: