Re: Virtual memory exceeded in 'new'

From: Alex Rousskov (rousskov@ircache.net)
Date: Thu Aug 03 2000 - 07:45:00 MDT


On Thu, 3 Aug 2000 brianok@us.ibm.com wrote:

> I was running a single pair of poly machines, and after a few hours, during
> the fill phase, my polyclt dies with the message:
>
> Virtual memory exceeded in 'new'
>
> I grepped through the polygraph source and didn't see this, so I'm assuming
> that it may be a FreeBSD message, and perhaps occurs when creating a new
> object.

Yes, the message comes from the C++ library when it cannot allocate more
memory. Essentially, it means that the process ran out of memory.

> Any ideas about why this would occur?
> ...
> 077.47| i-fill 465181 107.99 36677 3.96 0 4000
> 077.55| i-fill 465722 108.29 36756 3.22 1 4000

With 36 seconds response time and 0.4 request rate per Robot, you will
need at least 14.4 sockets per robot (14400 total). A robot is
configured to open at most 4. See the URL below for more info
  http://polygraph.ircache.net/cgi-bin/mail2html.cgi?fnames=20000701/862

A rule of thumb: Whenever you see that the number of open sockets
reached and stays at maximum (with a constant request rate workload),
you must check whether you are pushing the bench too hard.

Alex.



This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:14 MDT