public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* 'random' Allocation failed errors
@ 2013-08-30 10:12 corpaul
  2013-08-30 13:42 ` Frank Ch. Eigler
  0 siblings, 1 reply; 2+ messages in thread
From: corpaul @ 2013-08-30 10:12 UTC (permalink / raw)
  To: systemtap

When I run probes, I get allocation errors now and then. They appear to be
fairly random, because I am probing the same task (a unit test suite) so
memory usage should be approximately the same.

example:
ERROR: global variable 'times' allocation failed

Sometimes systemtap gives me a suggestion for which parameter should be
increased (e.g. DMAXMAPENTRIES), sometimes it doesn't. I am running the
probes with the following parameters:
-DMAXMAPENTRIES=120000 -DSTP_NO_OVERLOAD -DMAXSTRINGLEN=4096
-DTRYLOCKDELAY=300 -DMAXSKIPPED=10000 -DMAXACTION=1000 

Are these perhaps exceptionally low/high values? How should I deal with
these allocation errors?

Thanks!




--
View this message in context: http://sourceware-org.1504.n7.nabble.com/random-Allocation-failed-errors-tp242637.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 'random' Allocation failed errors
  2013-08-30 10:12 'random' Allocation failed errors corpaul
@ 2013-08-30 13:42 ` Frank Ch. Eigler
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2013-08-30 13:42 UTC (permalink / raw)
  To: corpaul; +Cc: systemtap


corpaul <c.bezemer@tudelft.nl> writes:

> When I run probes, I get allocation errors now and then. They appear to be
> fairly random, because I am probing the same task (a unit test suite) so
> memory usage should be approximately the same.
> example:
> ERROR: global variable 'times' allocation failed [...]

dsmith's recent change to the systemtap runtime (PR15805, commit
3f873e53) changes the way that large data structures like the script
hash tables are allocated.  Would you mind trying git systemtap a try?

- FChE

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-30 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-30 10:12 'random' Allocation failed errors corpaul
2013-08-30 13:42 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).