Discussion Feed
09-18-2018
04:08 PM
Issue
This issue is happening when the host's /tmp directory is noexec and the Events Service is not starting, throwing the following error:
[2018-07-13T14:18:55,672+02:00] [ERROR] [main] [c.a.common.framework.AbstractApp] Severe error occurred while starting application [events-service-api-store]. Shutdown procedure will commence soon java.lang.UnsatisfiedLinkError: /tmp/jna-3506402/jna1770418019150735408.tmp: /tmp/jna-3506402/jna1770418019150735408.tmp: failed to map segment from shared object: Operation not permitted
Solution
The solution is to add one of the options below to the events-service.vmoptions prior to initiating startup:
-Djna.tmpdir=/new/tmp/location
OR
-Djava.io.tmpdir=/new/tmp/location
Try running the Events Service manually after this change using the command line to resolve this issue:
<events-service-home>/bin> events-service.sh start -p <path_to_events-service-api-store.properties file>
... View more
- Find more articles tagged with:
- Error
- on-premise
- troubleshooting
Labels:
09-18-2018
03:49 PM
The Mobile app uses the same settings as the Controller. The timeouts mentioned below are the defaults: http.session.inactive.timeout: The amount of time without a client request to the Controller after which the user session times out and the user will need to log in again to continue. The default is 3600 seconds (60 minutes). ui.inactivity.timeout: The amount of time without user activity in the Controller UI after which the user session times out and the user will need to log in again to continue. The default is -1 (disabled).
These values can be modified after logging in to the Administration Console.
... View more
07-31-2018
04:58 PM
We complete the actual data purge by deleting entire indices once all records have expired. For example, an index will rollover either when the average shard size breaches a threshold or when the age of the index exceeds the data retention period for the account/event type. We will wait until all documents in the index have expired, then delete the entire index.
Sometimes, the index doesn't rollover itself. In those cases, you can follow the instructions below to roll it over.
1. Use the rollover index API call:
http://<host:9080>/v1/admin/cluster/{cluster}/index/{index}/rollover
2. Complete the request with headers:
curl -XPOST http://<host:9080>/v1/admin/cluster/{cluster}/index/{index}/rollover -H"Authorization: Basic <Base64 encoded ad.accountmanager.key.controller from events-service-api-store.properties>" -H"Content-Type: application/json" -H"Accept: application/json"
3. Once the command is successfully executed, verify it using the output of the following:
curl http://localhost:9200/_cat/indices?v
4. Later, once the retention period setting comes into effect and all documents in the old index become expired, the entire index will be deleted.
... View more
- Find more articles tagged with:
- data purge
- on-premise
- retention period
- threshold
Labels:
07-31-2018
04:40 PM
1 Kudo
How do I resolve this error: "ERROR: java.security.AccessControlException: access denied while starting events service"
Events Service stack trace error during start-up
While starting, the Events Service fails to start up due to following stack trace error:
[ERROR] [ProcessQueue0] [c.a.a.p.e.e.ElasticSearchExecutor] This message was throttled
[1] times: java.security.AccessControlException: access denied (
"java.lang.RuntimePermission" "getClassLoader")
[ERROR] [ProcessQueue0] [c.a.a.p.e.e.ElasticSearchExecutor]
java.security.AccessControlException:
access denied ("java.lang.RuntimePermission"
"getClassLoader")
[ERROR] [ProcessQueue0] [c.a.a.p.e.e.ElasticSearchExecutor] at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
[ERROR] [ProcessQueue0] [c.a.a.p.e.e.ElasticSearchExecutor]
Solution
To resolve this issue, the classloader permit-list can be customized by tweaking the local Java Security Policy. This can be done in one of the following ways:
system-wide: $JAVA_HOME/lib/security/java.policy
for just the elasticsearch user: /home/elasticsearch/.java.policy
from a file specified in the JAVA_OPTS environment variable with -Djava.security.policy=someURL :
export JAVA_OPTS = " $ { JAVA_OPTS } - Djava . security . policy = file : ///path/to/my.policy`
./ bin / elasticsearch
Once this is complete, the error should be resolved.
Reference
https://www.elastic.co/guide/en/elasticsearch/reference/2.2/modules-scripting-security.html
... View more
- Find more articles tagged with:
- classloader whitelist
- Elastic
- elasticsearch
- Java Security Policy
Labels:
07-18-2018
06:24 AM
1 Kudo
Hi Hanumatha,
Calls per Minutes is described by the average number of incoming or outgoing calls per minute during the specified time from the node to their destination.
A call, as represented by the calls per minute metric, can represent a somewhat different type of event depending on whether it is counted in the context of the application or tier. At the application level (i.e., Overall Application Performance), a call corresponds to a business transaction invocation. At the tier level, a call corresponds to individual invocations of services on that tier. Thus the number of calls per minute at a particular tier can exceed the number of calls per minute that is shown for the same time period at the application level, since a single execution of a business transaction can involve multiple calls to a single tier.
https://docs.appdynamics.com/display/PRO42/Metrics+Reference#MetricsReference-Calls/min,CallsperMinute
Thanks,
Deepanshu
... View more
07-02-2018
09:35 AM
Question
How often does the data purge activity occur for EUM resource snapshots when the retention policy configuration is set?
Answer
For the on-premise EUM Processor, the expiration check happens once every hour.
The data purge that occurs as part of the retention policy also happens with every check. This is due to the fact that if we were to only check once every day, our retention policy of 15 days may become 16 days, which is undesirable.
... View more
- Find more articles tagged with:
- eum processor
- on-premise
- retention policy
Labels:
07-02-2018
09:16 AM
Question
Is it possible to set up multiple Synthetic Private Agents on the same server?
Answer
As per the current model, if you install multiple Synthetic Private Agents tagged under same ID on same machine, it won't work properly since we need to take screenshots of sessions from browsers on the machine. If two agents are running on same machine, it won't give expected results.
The solution to this would be set multiple Private Agent machines and tag them all under same name and ID for the Private Agent. They will form a cluster on their own in this way and you can then execute multiple jobs without any issues.
... View more
- Find more articles tagged with:
- synthetic private agent
Labels:
05-30-2018
09:33 AM
Issue
While creating an EUM app in an on-premise Controller, it fails with the error "internal server error. See server.log"
The Controller UI gives the same error when tried with "Create an Application manually" or "Create an Application using the Getting Started Wizard." This error is even seen when both EUM and Events Service are up.
Diagnosis
When checking the Controller's server.log for the same timeframe, it seems like EUM Processor is not reachable from the browser where the Controller UI is accessed to create this EUM app:
Communication failure with service (http://<EUM-HOST>:7001/v2/application/EUM-AAB-AUB/resource-timing): Unexpected HTTP error 500: {"code":500,"message":"There was an error processing your request. It has been logged (ID ecac6f5d92fddeb5)."}|#]
To further validate this, gather the output (o/p) of the following URL from the same browser where this error is seen inside the Controller UI:
http://<EUM-HOST>7001/eumcollector/get-version
This would fail as from the same browser the EUM is not reachable.
Solution
While creating an EUM app from the Controller UI, the browser validates the communication to the EUM Processor. To resolve this issue, grant access to the EUM Processor (TCP/7001) from the web browser.
Once this is done, you should be able to create an EUM app successfully.
Note: 7001 is default HTTP port for eum processor.
... View more
- Find more articles tagged with:
- eum processor
- HTTP port
- troubleshooting
Labels:
05-29-2018
10:49 PM
Hi Niko,
If you are not able to view data inside Browser Snapshots, sessions and analyze following would be my queries for you:
1) If the tabs are visible but data is not there only in above three data points, then there is some config issue around events service which can cause sessions and analyze not to work.
2) Other query would be if you have an active load and you see data under Browser Overview Dashboard and Pages and Ajax requests.
3) When you check the License Page from Controller UI, do you see Browser Pro with required units present?
We can dig deep further on this once you verify on above points.
Thanks,
Deepanshu
... View more
05-20-2018
11:41 PM
Hi Sumit,
I understand that this a popup and you can't interact with this element as its not a WebElement , so you have to handle it before the browser launches a site.
As Synthetic launches it's own browser session, did you try handling these popups within script itself and also let us know if this is a blocking factor with synthetic usage in your environment?
Thanks,
Deepanshu
... View more
Latest Activity
- Got a Kudo for Custom data reporting throws error: "User event info field userData dropped because it is too long". 03-04-2020 04:20 AM
- Got a Kudo for Re: what is "Calls per Minute" in metric browser?. 10-07-2019 02:30 PM
- Got a Kudo for Getting Error While Provisioning the EUM License. 05-10-2019 11:47 AM
- Got a Kudo for Why is adrum.js loaded synchronously while adrum-ext.js is loaded asynchronously?. 04-03-2019 12:50 AM
- Got a Kudo for Why am I seeing "java.sql.SQLException: Connections could not be acquired from the underlying database!"?. 10-26-2018 01:25 PM
- Got a Kudo for Re: Analytics search - ADQL Query to manipulate values from a header using mathematic experessions. 10-23-2018 11:36 AM
- Got a Kudo for How do I resolve an Events Service stack trace start-up error?. 10-19-2018 02:04 PM
- Got a Kudo for Why is adrum.js loaded synchronously while adrum-ext.js is loaded asynchronously?. 10-05-2018 07:19 AM
- Got a Kudo for How do I resolve the "org.elasticsearch.indices.IndexClosedException" Events Service error?. 09-26-2018 01:18 AM
- Posted Why am I seeing the error "failed to map segment from shared object" during the Events Service startup? on Knowledge Base. 09-18-2018 04:08 PM
- Posted What are the timeouts settings for AppDynamics Mobile app and how do I configure them? on Knowledge Base. 09-18-2018 03:49 PM
- Posted How do I manually rollover an Events Service index that did not happen automatically? on Knowledge Base. 07-31-2018 04:58 PM
- Posted How do I resolve an Events Service stack trace start-up error? on Knowledge Base. 07-31-2018 04:40 PM
- Posted Re: what is "Calls per Minute" in metric browser? on End User Monitoring (EUM). 07-18-2018 06:24 AM
- Posted How often does the data purge activity occur for EUM resource snapshots? on Knowledge Base. 07-02-2018 09:35 AM
- Posted Can I set up multiple Synthetic Private Agents on the same server? on Knowledge Base. 07-02-2018 09:16 AM
- Posted Why does the creation of an EUM app from the Controller UI fail with "internal server error. See server.log"? on Knowledge Base. 05-30-2018 09:33 AM
- Posted Re: Browser Snapshot, sessions and analytics not visible and no entry to support on Licensing (including Trial). 05-29-2018 10:49 PM
- Posted Re: Disabling browser alerts in synthetics scripts on End User Monitoring (EUM). 05-20-2018 11:41 PM
- Posted Re: adrum takes too long to download and causes webpages to be slow on End User Monitoring (EUM). 05-14-2018 11:03 PM
Community Stats
Date Registered | 10-05-2015 01:47 AM |
Date Last Visited | 07-26-2019 09:36 PM |
Total Messages Posted | 58 |
Total Kudos Received | 13 |