RunDeck UI seems very slow

3,121 views
Skip to first unread message

Paul Stack

unread,
Jul 16, 2014, 6:50:12 PM7/16/14
to rundeck...@googlegroups.com
Hi

So i have just created a rundeck server to start to test a new patching flow. When creating the box, I have provisioned a VM with 8GB RAM and 8 CPUs. The JVM settings of the box are as follows:

/etc/rundeck/profile

RDECK_JVM="$RDECK_JVM -Xmx1024m -Xms256m -server"

We have 1 project and 0 jobs and the page response is about 10 - 12 seconds

We are using rundeck 2.1.3-1

Has anyone seen any issues with this version?

Thanks

Paul

Yusuf

unread,
Jul 17, 2014, 12:50:17 PM7/17/14
to rundeck...@googlegroups.com
Hi Paul,

I have a VM with 4GB ram 4 vCPU on centos 6.5 with Java 7, rundeck 2.1.3, 8 projects and 80+ jobs. All runs fine, am using nginx to reverse proxy to rundeck/jetty.

Yus

Greg Schueler

unread,
Jul 17, 2014, 3:44:34 PM7/17/14
to Paul Stack, rundeck...@googlegroups.com
Hi Paul,

Are you using an external DB? Are there any messages in the service log file?

--
Greg Schueler
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

n8mo...@gmail.com

unread,
Jul 18, 2014, 1:46:35 PM7/18/14
to rundeck...@googlegroups.com
Check the CPU load on your client, there is a bug related to javascript that needs to be optimized.

Paul Stack

unread,
Jul 21, 2014, 10:49:36 AM7/21/14
to rundeck...@googlegroups.com, pst...@opentable.com
Hi Greg

We are using a local PostgreSql server.

Our service.log is over 600mb. On blowing it away and restarting the app, before I even log into rundeck UI, I get the following:

root@rundeck-01:/var/log/rundeck# cat service.log
WARNING: HTTPS is not enabled, specify -Drundeck.ssl.config=/var/lib/rundeck/server/config/ssl.properties to enable.
2014-07-21 14:34:27.844:INFO:oejs.Server:jetty-7.6.0.v20120127
2014-07-21 14:34:31.013:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
2014-07-21 14:34:32.658:INFO:/:Initializing Spring root WebApplicationContext
2014-07-21 14:34:44,809 [main] ERROR hbm2ddl.SchemaUpdate  - Unsuccessful: create table storage (id int8 not null, version int8 not null, data longblob, date_created timestamp not null, dir text, json_data text, last_updated timestamp not null, name text not null, namespace varchar(255), path_sha varchar(40) not null unique, primary key (id))
2014-07-21 14:34:44,810 [main] ERROR hbm2ddl.SchemaUpdate  - ERROR: type "longblob" does not exist
  Position: 69
INFO  BootStrap: Starting Rundeck 2.1.3-0...
INFO  BootStrap: using rdeck.base config property: /var/lib/rundeck
INFO  BootStrap: loaded configuration: /etc/rundeck/framework.properties
INFO  BootStrap: RSS feeds disabled
2014-07-21 14:34:50.742:INFO:oejsh.ContextHandler:started o.e.j.w.WebAppContext{/,file:/var/lib/rundeck/exp/webapp/},/var/lib/rundeck/exp/webapp
2014-07-21 14:34:50.850:INFO:/:Initializing Spring FrameworkServlet 'grails'
2014-07-21 14:34:50.910:INFO:oejs.AbstractConnector:Started SelectChann...@0.0.0.0:4440


The login page is still taking an extraordinary time to load at this stage. 
 
Looking at the load of the server gives me this detail

root@rundeck-01:/var/rundeck/projects/Infrastructure/etc# uptime
 14:42:03 up 7 days,  3:30,  2 users,  load average: 0.03, 0.04, 0.05

Alex Honor

unread,
Jul 21, 2014, 11:02:34 AM7/21/14
to rundeck...@googlegroups.com, pst...@opentable.com
Hi Paul,

Looks like a startup error due to a schema problem. This might be a problem similar to the one we saw with Oracle.

2014-07-21 14:34:44,809 [main] ERROR hbm2ddl.SchemaUpdate  - Unsuccessful: create table storage (id int8 not null, version int8 not null, data longblob, date_created timestamp not null, dir text, json_data text, last_updated timestamp not null, name text not null, namespace varchar(255), path_sha varchar(40) not null unique, primary key (id))
2014-07-21 14:34:44,810 [main] ERROR hbm2ddl.SchemaUpdate  - ERROR: type "longblob" does not exist
  Position: 69

Not sure if you can try using Mysql but perhaps just to see if you still see CPU related issues.

Thanks

--

Alex Honor

[SimplifyOps, Inc | a...@simplifyops.com ]

Be sure to comment and vote on Rundeck Feature Development!

Paul Stack

unread,
Jul 21, 2014, 12:40:26 PM7/21/14
to rundeck...@googlegroups.com

Hi Alex


Thanks for the tip here. The system is a bit better now but still runs about 5 - 6 seconds for a page load - even with 2 projects and no jobs in it.


The contents of the /var/log/rundeck/service.log now look much better:


WARNING: HTTPS is not enabled, specify -Drundeck.ssl.config=/var/lib/rundeck/server/config/ssl.properties to enable.
2014-07-21 16:29:22.542:INFO:/:Closing Spring root WebApplicationContext
2014-07-21 16:29:22.550:INFO:oejsh.ContextHandler:stopped o.e.j.w.WebAppContext{/,file:/var/lib/rundeck/exp/webapp/},/var/lib/rundeck/exp/webapp
2014-07-21 16:29:22.572:INFO:oejs.Server:jetty-7.6.0.v20120127
 ...terminated.
2014-07-21 16:29:25.814:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
2014-07-21 16:29:27.516:INFO:/:Initializing Spring root WebApplicationContext
INFO  BootStrap: Starting Rundeck 2.1.3-0...
INFO  BootStrap: using rdeck.base config property: /var/lib/rundeck
INFO  BootStrap: loaded configuration: /etc/rundeck/framework.properties
INFO  BootStrap: RSS feeds disabled
2014-07-21 16:29:46.824:INFO:oejsh.ContextHandler:started o.e.j.w.WebAppContext{/,file:/var/lib/rundeck/exp/webapp/},/var/lib/rundeck/exp/webapp
2014-07-21 16:29:46.924:INFO:/:Initializing Spring FrameworkServlet 'grails'
2014-07-21 16:29:46.987:INFO:oejs.AbstractConnector:Started SelectChann...@0.0.0.0:4440​

Maybe I just need to start tweaking JVM settings now that it is running a bit better

Thanks

Paul



From: Alex Honor <al...@simplifyops.com>
Sent: 21 July 2014 16:02
To: rundeck...@googlegroups.com
Cc: Paul Stack
Subject: Re: [rundeck] RunDeck UI seems very slow
 

Alex Honor

unread,
Jul 21, 2014, 12:45:33 PM7/21/14
to rundeck...@googlegroups.com
Hi Paul,

With empty projects, you should see immediate page load. The RPM/DEB packages need to be updated to also increase permgen size. Change your /etc/rundeck/profile to include MaxPermSize:

RDECK_JVM="$RDECK_JVM -Xmx1024m -Xms256m -server -XX:MaxPermSize=256M"
Thanks

Sorin Ionuț Sbârnea

unread,
Aug 17, 2015, 1:56:06 PM8/17/15
to rundeck-discuss
It seems that I do encounter a similar behaviour.

I am just testing RunDeck with a configuration of 2 projects from which one has one sample job and I do get the same weird slow page responses.

I do use LDAP/AD to login and I configured to use an external PostgreSQL database, Nginx in front of it, which provides the SSL layer. 

The logs do not present any errors or warnings but most UI operations do take ~10 seconds, very weird and unpleasant indeed. 

Obviously, there is nothing wrong with the memory or CPU on the JVM or the host. Running with JVM-8

Alex Honor

unread,
Aug 17, 2015, 2:07:24 PM8/17/15
to rundeck...@googlegroups.com
Hi Sorin,

What version of Rundeck is it? Also, what are the java heap memory settings? Finally, what kind of model source are you sing?

Thanks

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Mariel V

unread,
Oct 24, 2016, 3:08:21 PM10/24/16
to rundeck-discuss
Hi Sorin,

Would you mind sharing how you set up LDAP using PostgreSQL?  I got it to work using the default MySQL but not in Postgres.  Have you set up https also?

Thanks!
Reply all
Reply to author
Forward
0 new messages