Try to apply a patch
http://gw.udmsearch.izhnet.ru/~bar/patches/server.c.diff.gz


This fixes strange bug. sprintf(NULL,"bla bla bla")  doesn't crash on
some
operating systems, at least on FreeBSD 4.2 (both RELEASE and STABLE) 
and Linux with 2.2.14 kernel. It looks like memory leak, program
eats more and more memory. Probably a bug in libc sources.



Laurent LEVIER wrote:
> 
> Hi Guys,
> 
> I found a big big bug in indexer.
> 
> Since some days, I launch my indexing script at 09:00 localtime. Around 10:00, this 
>script finished its stuff (MySQL checks/optimisations, splitter of the results of the 
>previous day, ...) and it launches the indexer for the day (days means end at 00:00).
> 
> I discovered that splitter was not started as it should be from 18:00 until the end 
>of the day. Looks weird...
> After investigation, I found that splitter can malloc because my box has no more 
>free mem... Looks very weird...
> 
> So I checked the memory statistics, and then process statistics and I got it !!!!!
> 
> Indexer starts with 40 MB in memory per process. At the end of the day (22:00), each 
>indexer process was using...81 MB !!!
> 
> Indexer memory growth is 10 bytes per second.
> 
> Looks like a free() is missing somewhere :)
> 
> Laurent LEVIER
> IT Systems & Networks, Unix System Engineer
> Security Specialist
> 
> Argosnet Security Server : http://www.Argosnet.com
> "Le Veilleur Technologique", "The Technology Watcher"
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to