• Slow JBoss response on login

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #22537  by noxious
 
I'm using 5.1.11 version on Windows Server HyperV with 6GB RAM of which 3GB are assigned on JBoss. Every time I login I experience a very slow response on creating the application mainframe. I used an http monitoring tool and it seems as if JBoss takes a lot of time before starting to send the images and the other objects. Could it be something that slows down JBoss on responsing or is it just a caching issue? I don't think that it's an ldap authentication issue, because I have already tried your advice for inserting DNS addresses in hosts file. I attach the loading page where I get stacked for about 30 seconds and an image from the monitoring tool...
stacked in loading page.jpg
stacked in loading page.jpg (56.24 KiB) Viewed 5074 times
http sniffer(grey bars mean 'no response from the server yet').jpg
http sniffer(grey bars mean 'no response from the server yet').jpg (186.71 KiB) Viewed 5074 times
Please do not tell me to upgrade in version 6, I will do it some time eventually :)
 #22549  by pavila
 
OpenKM is configured with LDAP? Anyway 5.1 branch support is deprecated and you should upgrade.
 #22556  by jllort
 
How much users do you list in openkm from ldap ? which browser are you using ? how much memory do you got on computer which you're using browser ?
 #22565  by noxious
 
Browser -> firefox(v.18)
PC -> dual core, 2GB RAM.
Network-> 100Mb LAN
When I press the login button I am immediately transfered in the loading page (so I have a quite fast authentication). In the loading page is where the delay is observed and as you can see in the picture, it's before even starting loading user parameters.I'ts like server having a delay before starting serving the objects to my browser.
OpenKM is configured with active directory but this is not the case because when I press the user's button from administration console it takes me just 5 seconds to get all the user list from the server(on the other hand, the delay in loading page is more than 30 secs).
user.item.cache is enabled.
I will upgrade in version 6 but it's not the easies thing, because the repository is not totally compatible as I can see from the migration guide.
 #22590  by jllort
 
Basically from 5.x to 6.x are able to migrate all information except imported mails. Do you have a lot of keywords ?
 #22762  by noxious
 
No I do not have any keywords. I was talking about the changes at the metadata of the files:
"If you got metadata date values then you should change from older 5.1.x format to new 6.x date format values, otherside you will get some error. The 5.1.x format to store data is "yyyy-MM-ddTHH:mm:ss.SSSZZZ", new 6.x format is "yyyyMMddHHmmss". In version 6.x values are stored in table OKM_NODE_PROPERTY, simply update older values format to new values format in this database"
 #22772  by jllort
 
I'm not sure if that problem has already solved in importing documents automtically, should be needed after migration. Anyway if the format into version 6.x is not correctly stored ( case you see with simple query table OKM_NODE_PROPERTIES ) -> Can be easilly tranformed with sql query. As you see really new storage value are several substring from 5.x value substring(0,2) + substring(3,5) etc... ( I think you can easilly understand the idea, simply make a select for each row and the result of it be the update query).

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.