Changes between Initial Version and Version 1 of User/6aFAQ


Ignore:
Timestamp:
Feb 18, 2019, 6:53:43 PM (5 years ago)
Author:
seskar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • User/6aFAQ

    v1 v1  
     1= Frequently Asked Questions =
     2
     3[[TOC(heading=OML Documentation, OML/*, depth=1)]]
     4
     5This page lists and answer common questions that have been seen on mailing list or elsewhere.
     6
     7== What are the operating system and hardware requirements? ==
     8
     9We develop OML for GNU/Linux systems on x86 hardware, because that's what we use for our other work. We release both x86 and amd64 packages for Ubuntu/Debian/Fedora/CentOS/ArchLinux. OML is known to build and run on other platforms, including Mac OS X on Intel and PPC hardware, and ARM processors running Linux. It's not as well tested on those platforms though. If you've had success running OML on another combination of OS and hardware, we'd love to know about it (tell us on the mailing list)!
     10
     11We maintain a list of systems for which OML has been reported to build successfully. Please let us know if you know others.
     12
     13== How to accomodate a lot of clients applications reporting to the same server? ==
     14
     15If you plan to have several hundreds of OML client applications, which will connect to the OML server to send measurements to it, then you may consider increasing the maximum open file descriptor limit for the system user which will run the oml2-server daemon. This can be done by editing /etc/security/limits.conf and adding the line:
     16{{{
     17your_oml2_user_here   -    nofile     100000
     18}}}
     19
     20This allows a maximum of 100K open sockets/files per process for the user your_oml2_user_here. The default in Ubuntu is 1024. If this is not increased you may run into a problem where the oml2-server does not accept any more incoming TCP connections after its 1024th connected client.
     21
     22== I'm seeing lots of zeroes in my measurement database! ==
     23The OML client library has two ways of generating outputs from its filters: sample-based output and interval-based output. If you use interval-based filtering, the client library generates a measurement from every filter at the interval you specify. If there were no samples injected into a measurement point during that interval, any filters attached to that measurement point will still generate a "null" measurement output. For numeric types this is always a zero value. Check if you are using interval filtering and check how often your application is calling omlc_inject(3).
     24
     25== What are these oml_ts_client and oml_ts_server I see in the database? ==
     26The meaning of oml_ts_client and oml_ts_server is documented in the Doxygen documentation.
     27
     28== My application segfaults (or, alternatively, reports garbage) ==
     29One possible reason is that you have used instrumentation code from 2.8 or earlier with liboml 2.9 or later. There has been some changes in the memory management code which requires a few lines added here and there for your code to work smoothly (particularly if you are reporting strings or blobs). See this page on porting pre-2.9 applications for details.
     30
     31This might be your occasion to port old instrumentation to using oml2-scaffold, which would hide these API changes in the future (if any).