Loading delay increasing

If you think that something doesn't work in Aware IM post your message here
Post Reply
ninap
Posts: 186
Joined: Wed Mar 17, 2010 6:45 pm

Loading delay increasing

Post by ninap »

Weird issue;

We have an application which on first setup and import works fine. After we began to add some very small amounts of data to it. The duration between Login to 1st view loaded is up to 2-3 min. From seconds
  • We look at Server Output, Console Logs, and Log to File but nothing is showing during this delay period.
    We look at the Server capacity and there are no issues, or view able bottlenecks...
The network speed is consistent between Server and any test client.

1) our app has 4 user roles and no custom html or anything special in it
2) there are no tours, just some icons which all appear fine in the tool bar
3) there are no hidden menu rules on or access permission rules

any ideas where to look for the main / root cause?


txs, nina ;)
ninap
Posts: 186
Joined: Wed Mar 17, 2010 6:45 pm

Re: Loading delay increasing

Post by ninap »

failed to also mention;

4) we have no Login Notifications or any background or initialization processes running
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Re: Loading delay increasing

Post by RLJB »

check how many old (obsolete) versions you have of the bsv... we found having lots of old versions slowed down login (especially pronounced where the BSV is large e.g we have a 20MB bsv)
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
customaware
Posts: 2400
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Loading delay increasing

Post by customaware »

Following on from this Rod....

I can delete OBSOLETE versions no problem....

However, Somehow I have a few old NEW Versions. I am not quite sure how these where created as I have used all three methods
over time for publishing a new version

- Publish From the Configurator
- Update via AUTO_DEPLOYMENT
- Update via the Publish New Version in the app settings menu

However, these old NEW versions cannot be deleted.

Any idea of, a) how to delete them and b)if there is a way to delete them is it safe to do so?
versions.png
versions.png (60.59 KiB) Viewed 17695 times
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: Loading delay increasing

Post by tford »

Any idea of, a) how to delete them
Can't you just right click and unlock them, then the delete option will be available?
Tom - V8.8 build 3137 - MySql / PostGres
customaware
Posts: 2400
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Loading delay increasing

Post by customaware »

No Tom.

You can Load the version but even then, no Unlock, Lock for Editing or Delete
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
ninap
Posts: 186
Joined: Wed Mar 17, 2010 6:45 pm

Re: Loading delay increasing

Post by ninap »

txs for the tips and replies;

here is the interesting test -
  • we export the slow bsv and create a new BSV and then import
    we then import all of the data and test (and its normal speed/fast)
    it seems to be a bsv which we deployed, make changes, save and test over and over..
    and specifically its only one visual perspective which is laggy..
so the question is - how to wipe the original BSV and create a new one.

probably only to re-install i assume?
customaware
Posts: 2400
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Loading delay increasing

Post by customaware »

If there is only one VP that is a bit slow....... I had this once a fair while ago...

I created a New VP and rebuilt all the Tabs and Queries etc so that it behaved like the original slow one.
It was much faster. So... then I assigned that to the right access level and deleted the old one.

Only every had to do it once and I guessed I have corrupted something in it along the way.

I did not need to change anything else in the BSV
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
ninap
Posts: 186
Joined: Wed Mar 17, 2010 6:45 pm

Re: Loading delay increasing

Post by ninap »

i think you're right

simply re-create it and spend that time to see if it works.

if not I will report back however based on your experience I assume its the same thing.. just some odd corruption along the way..

txs, nina ;)
itdeptcorp
Posts: 171
Joined: Tue Jun 16, 2009 12:18 am

Re: Loading delay increasing

Post by itdeptcorp »

Hi Nina,

We have the same issue from time to time.

Also we did rebuild queries, and remove / recreate the VP however we noticed it always comes back. In our specific case this profiles view opens with a MAIN which contains a Calendar View, a List which shows "icons" based on Status, and a simple Query. Nothing complex.

What we noticed was the errors/issues is in compilation of the view before or after it hits the browser - The data itself is normal so its strangely odd.

We will let you know how it turns out when we figure it out ourselves.
ninap
Posts: 186
Joined: Wed Mar 17, 2010 6:45 pm

Re: Loading delay increasing

Post by ninap »

Problem returns now after N days;

Tested: Recreate the Visual Perspective - worked to some degree
Tested: Wipe data and retest without data (Fast of course)

Looking at the Tomcat logs here is where it is hanging;

Code: Select all

Preparing dynamic locale...
Custom theme path is ext-4.1.0/resources/css/basic-light/basic-ui-all.css
Custom theme Javascript path is aware_ext/basic.js
Style string is <link rel="stylesheet" type="text/css" href="ext-4.1.0/resources/css/basic-light/basic-ui-all.css" id="bas_cur_theme">

Theme JS Path is aware_ext/basic.js
Just before the "Theme JS Path is aware_ext/basc.js" it is about 45-120 seconds
Post Reply