question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[1.7.8] No activities after small load (~80000 messages in 20hours)

See original GitHub issue

See also https://issues.jboss.org/browse/ENTESB-11407

This is a…


[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Documentation issue or request

Description

After putting some small load (~3 messages /s ) for couple of hours no activities are listed in integrations. I hit this also on i-dev cluster and openshift pro. screenshot_20190703_111436 GET https://syndesis-test.b6ff.rh-idev.openshiftapps.com/api/v1/activity/integrations/i-LilthRWl7ZNNJJhTBQNz results in 504 Gateway timeout. Looks like connection to DB is really slow.

There is syndesis-test project on i-dev cluster that can be used for investigation.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:33 (26 by maintainers)

github_iconTop GitHub Comments

1reaction
zregvartcommented, Jul 9, 2019

I think I’m settling on two chages:

  • adding the jsondb_activity_idx index as: CREATE INDEX CONCURRENTLY jsondb_activity_idx ON jsondb (path DESC);
  • changing the query for DELETE to: WITH d AS (SELECT path FROM jsondb WHERE path LIKE '/activity/exchanges/i-LjGDJG5NPX6fkTQoWYHz/%' ORDER BY path DESC FOR KEY SHARE SKIP LOCKED OFFSET 50 ROWS) DELETE FROM jsondb WHERE path IN (SELECT path FROM d)
0reactions
heiko-brauncommented, Sep 7, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

How can you delete large numbers of Emails quickly in 2021 ...
In a few minutes you can delete a large number of emails and gain lots of space on your email account. The method...
Read more >
Chapter 7. Known Issues Red Hat Fuse 7.4
7.2. Fuse Online. The Fuse Online distribution has the following known issues: 6052 [1.7.8] No activities after small load (~80000 messages in 20hours)....
Read more >
Linked Helper 2 Changelog
After opening a chat, no conversation IDs were fould hence Linked Helper failed the process when sending a message or checking for replies....
Read more >
AT Commands Reference Guide
ETSI GSM 07.05 specific AT commands for SMS (Short Message Service) and ... Commands &Y and &P are both used to set the...
Read more >
Oversize/Overweight Vehicle Permit Fee Study
4.2 Consumption Costs Associated with Oversize/Overweight Loads . ... exceeding 30 days, $15 for permits not exceeding 60 days and $20 for permits...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found