This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

JSON construction error: buffer size exceeded


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]