public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "marko@kevac.org" <marko@kevac.org>
To: systemtap@sourceware.org
Subject: JSON construction error: buffer size exceeded
Date: Thu, 16 Jun 2016 11:51:00 -0000	[thread overview]
Message-ID: <CA+RAKy4zpakupzmb9EU6HCYmUBrAh11TSTacNCjms8Ceb0LF9Q@mail.gmail.com> (raw)

Hello.

I am looking into monitor with sudo stap --monitor -o result.log
my4.stap meetmaker, but I get these errors:

WARNING: JSON construction error: buffer size exceeded, consider .maxsize(2325).
WARNING: JSON construction error: buffer size exceeded, consider .maxsize(2336).
WARNING: JSON construction error: buffer size exceeded, consider .maxsize(2337).

I've read about maxsize in man stap and tried to increase limits with

sudo stap -D MAXSTRINGLEN=5000 --monitor -o result.log my4.stap meetmaker

and with

sudo stap -D STP_PROCFS_BUFSIZE=5000 --monitor -o result.log my4.stap meetmaker

but still get these errors.

$ stap --version
Systemtap translator/driver (version 3.0/0.166/0.165, rpm 3.0-2.fc23)
Copyright (C) 2005-2015 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI BOOST_SHARED_PTR BOOST_STRING_REF DYNINST JAVA
LIBRPM LIBSQLITE3 LIBVIRT LIBXML2 NLS NSS TR1_UNORDERED_MAP READLINE

$ uname -a
Linux fedora 4.5.6-200.fc23.x86_64 #1 SMP Wed Jun 1 21:28:20 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux

Thanks!

             reply	other threads:[~2016-06-16 11:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-16 11:51 marko [this message]
2016-06-16 13:43 ` Felix Lu
2016-06-16 13:55   ` marko
2016-06-16 14:27     ` marko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+RAKy4zpakupzmb9EU6HCYmUBrAh11TSTacNCjms8Ceb0LF9Q@mail.gmail.com \
    --to=marko@kevac.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).